Re: tools: Perf: build failed on linux next

From: Naresh Kamboju
Date: Wed Mar 25 2020 - 10:55:33 EST


On Wed, 25 Mar 2020 at 19:53, Arnaldo Carvalho de Melo
<arnaldo.melo@xxxxxxxxx> wrote:
>
> Em Wed, Mar 25, 2020 at 07:37:10PM +0530, Naresh Kamboju escreveu:
> > Perf build broken on Linux next and mainline on x86_64.
> >
> > x86_64-linaro-linux-gcc: error: unrecognized command line option
> > '-m64/include/uapi/asm-generic/errno.h'
> > x86_64-linaro-linux-gcc: fatal error: no input files
> > compilation terminated.
> > HOSTCC /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/pmu-events/jevents.o
> > MKDIR /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/pmu-events/
> > x86_64-linaro-linux-gcc: warning: '-x c' after last input file has no effect
> > HOSTCC /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/pmu-events/jsmn.o
> > x86_64-linaro-linux-gcc: error: unrecognized command line option
>
> Right, there is some patch handling this, which we're trying to process
> but has some issues.

Thanks for responding on reported issue.

>
> - Arnaldo