public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] perf cross-compile error dual to fixdep not host-exe
@ 2015-09-30  3:18 He Kuang
  2015-09-30  6:13 ` Jiri Olsa
  0 siblings, 1 reply; 6+ messages in thread
From: He Kuang @ 2015-09-30  3:18 UTC (permalink / raw)
  To: jolsa
  Cc: David Ahern, Namhyung Kim, Peter Zijlstra,
	Arnaldo Carvalho de Melo, linux-kernel, Wang Nan

Hi,

perf cross-compile error dual to fixdep is not a host executable, first bad commit
is 7c422f557266("tools build: Build fixdep helper from perf and basic libs")

Cross-compiling an aarch64 target on x86_64 host, error like this:

   $ make ARCH=aarch64 O=xx/aarch64 CROSS_COMPILE=aarch64-linux-gnu
   ...
   make[3]: *** [xx/aarch64/parse-utils.o] Error 126
   make[3]: *** Waiting for unfinished jobs....
   /bin/sh: xx/aarch64//fixdep: cannot execute binary file

   $ uname -a
   x86_64 x86_64 x86_64 GNU/Linux

   $ file xx/aarch64//fixdep
   xx/aarch64//fixdep : ELF 64-bit LSB executable, ARM aarch64, version 1
   (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for
   GNU/Linux 3.7.0, not stripped

Thank you


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

end of thread, other threads:[~2015-10-14 13:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30  3:18 [BUG] perf cross-compile error dual to fixdep not host-exe He Kuang
2015-09-30  6:13 ` Jiri Olsa
2015-10-08  8:02   ` He Kuang
2015-10-08  8:30     ` Jiri Olsa
2015-10-13 12:43       ` build: Fix cross compile build Jiri Olsa
2015-10-14 13:15         ` [tip:perf/core] tools " tip-bot for Jiri Olsa

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