lkml.org 
[lkml]   [2015]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[BUG] perf cross-compile error dual to fixdep not host-exe
Date
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



\
 
 \ /
  Last update: 2015-09-30 05:41    [W:0.059 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site