public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* tools: Perf: build failed on linux next
@ 2020-03-25 14:07 Naresh Kamboju
  2020-03-25 14:23 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2020-03-25 14:07 UTC (permalink / raw)
  To: Linux-Next Mailing List, open list
  Cc: lkft-triage, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Mark Rutland, Alexander Shishkin, jolsa,
	Namhyung Kim, Stephen Rothwell, Leo Yan

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
'-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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tools: Perf: build failed on linux next
  2020-03-25 14:07 tools: Perf: build failed on linux next Naresh Kamboju
@ 2020-03-25 14:23 ` Arnaldo Carvalho de Melo
  2020-03-25 14:55   ` Naresh Kamboju
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2020-03-25 14:23 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, open list, lkft-triage, Peter Zijlstra,
	Ingo Molnar, Mark Rutland, Alexander Shishkin, jolsa,
	Namhyung Kim, Stephen Rothwell, Leo Yan

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tools: Perf: build failed on linux next
  2020-03-25 14:23 ` Arnaldo Carvalho de Melo
@ 2020-03-25 14:55   ` Naresh Kamboju
  0 siblings, 0 replies; 3+ messages in thread
From: Naresh Kamboju @ 2020-03-25 14:55 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Linux-Next Mailing List, open list, lkft-triage, Peter Zijlstra,
	Ingo Molnar, Mark Rutland, Alexander Shishkin, jolsa,
	Namhyung Kim, Stephen Rothwell, Leo Yan

On Wed, 25 Mar 2020 at 19:53, Arnaldo Carvalho de Melo
<arnaldo.melo@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-25 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-25 14:07 tools: Perf: build failed on linux next Naresh Kamboju
2020-03-25 14:23 ` Arnaldo Carvalho de Melo
2020-03-25 14:55   ` Naresh Kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox