[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200325142323.GE14102@kernel.org>
Date: Wed, 25 Mar 2020 11:23:23 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: Linux-Next Mailing List <linux-next@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
jolsa@...hat.com, Namhyung Kim <namhyung@...nel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Leo Yan <leo.yan@...aro.org>
Subject: Re: tools: Perf: build failed on linux next
Em Wed, Mar 25, 2020 at 07:37:10PM +0530, Naresh Kamboju escreveu:
> Perf build broken on Linux next and mainline on x86_64.
>
> find: unknown predicate `-m64/arch'
> Try 'find --help' for more information.
> HOSTCC /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/pmu-events/json.o
> LD /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/libperf-in.o
> x86_64-linaro-linux-gcc: warning: '-x c' after last input file has no effect
> GEN perf-archive
> AR /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/libperf.a
> GEN perf-with-kcore
> 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.
- Arnaldo
> '-m64/include/uapi/asm-generic/errno.h'
> x86_64-linaro-linux-gcc: fatal error: no input files
> compilation terminated.
> make[3]: Nothing to be done for
> '/srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list'.
> GEN /srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/python/perf.so
> Traceback (most recent call last):
> File "util/setup.py", line 6, in <module>
> cc_is_clang = b"clang version" in Popen([cc, "-v"],
> stderr=PIPE).stderr.readline()
> File "/srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/recipe-sysroot-native/usr/lib/python2.7/subprocess.py",
> line 394, in __init__
> errread, errwrite)
> File "/srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/recipe-sysroot-native/usr/lib/python2.7/subprocess.py",
> line 1047, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
> cp: cannot stat
> '/srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/python_ext_build/lib/perf*.so':
> No such file or directory
> Makefile.perf:590: recipe for target
> '/srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/python/perf.so'
> failed
> make[2]: *** [/srv/oe/build/tmp-lkft-glibc/work/intel_corei7_64-linaro-linux/perf/1.0-r9/perf-1.0/python/perf.so]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
>
> ref:
> https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=intel-corei7-64,label=docker-lkft/733/consoleText
>
> --
> Linaro LKFT
> https://lkft.linaro.org
--
- Arnaldo
Powered by blists - more mailing lists