Re: [PATCH] perf tools: Add reject option for parse-events.l

From: Arnaldo Carvalho de Melo
Date: Thu Nov 09 2017 - 08:51:27 EST


Em Thu, Nov 09, 2017 at 02:27:19PM +0100, Markus Trippelsdorf escreveu:
> On 2017.11.09 at 10:22 -0300, Arnaldo Carvalho de Melo wrote:
> > Em Thu, Nov 09, 2017 at 09:17:49AM +0100, Jiri Olsa escreveu:
> > > Reply-To:
> > > In-Reply-To: <20171109081319.GB236@x4>
> > >
> > > On Thu, Nov 09, 2017 at 09:13:19AM +0100, Markus Trippelsdorf wrote:
> > > > On 2017.11.05 at 15:40 +0100, Ingo Molnar wrote:
> > > > util/parse-events.l:343:26: note: in expansion of macro âUSER_REJECTâ
> > > > {bpf_source} { if (!isbpf(yyscanner)) USER_REJECT; return str(yyscanner, PE_BPF_SOURCE); }
> > > > ^~~~~~~~~~~
> > > > mv: cannot stat 'util/.parse-events-flex.o.tmp': No such file or directory
> > >
> > > sry, we have a fix in queue already
> >
> > yeah, I noticed it while building for Alpine Linux 3.6 and Edge, that
> > have flex 2.6.4, which is newer than what is in the other distros,
> > ubuntu, debian, fedora, even their experimental ones (rawhide, etc),
> > out of curiosity, what distro do you use and what flex version does it
> > use?
>
> In my case: Gentoo and flex-2.6.4.

Cool, and a coincidence, as I'm trying to setup a container for gentoo,
using as a start docker.io/gentoo/stage3-amd64, now trying to figure out
how to config repositories, portage and all that stuff...

And with http://wiki.osdev.org/GCC_Cross-Compiler help I'll try to have
a few more using crossdev to cover some more targets besides the ones I
cover using cross build environments using fedora, ubuntu and debian as
host environments :-)

- Arnaldo