lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <560B547C.6080205@huawei.com>
Date:	Wed, 30 Sep 2015 11:18:20 +0800
From:	He Kuang <hekuang@...wei.com>
To:	<jolsa@...nel.org>
CC:	David Ahern <dsahern@...il.com>,
	Namhyung Kim <namhyung@...nel.org>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	<linux-kernel@...r.kernel.org>, Wang Nan <wangnan0@...wei.com>
Subject: [BUG] perf cross-compile error dual to fixdep not host-exe

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ