Messages in this thread | | | Date | Thu, 8 Oct 2015 10:30:04 +0200 | From | Jiri Olsa <> | Subject | Re: [BUG] perf cross-compile error dual to fixdep not host-exe |
| |
On Thu, Oct 08, 2015 at 04:02:48PM +0800, He Kuang wrote: > hi, Jirka > > On 2015/9/30 14:13, Jiri Olsa wrote: > >On Wed, Sep 30, 2015 at 11:18:20AM +0800, He Kuang wrote: > >>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 > > > >hum, we need fixdep to stay the host arch.. I should have seen it :-\ > >could you please check attached patch? > > > >thanks, > >jirka > > > > It does not work, 'fixdep' still be compiled as target executable.
could you please provide output from that build with 'JOBS=1 V=1'
last chance before I kick myself to actualy setup cross compiling :-\
thanks, jirka
| |