From: Tom Rini Date: Thu, 27 Feb 2014 09:30:57 -0500 Subject: [U-Boot] U-Boot: could not cross-compile u-boot tools In-Reply-To: <530F2DA4.2070507@denx.de> References: <20140227204101.77B6.AA925319@jp.panasonic.com> <530F2804.4020107@denx.de> <20140227210758.77BA.AA925319@jp.panasonic.com> <530F2DA4.2070507@denx.de> Message-ID: <20140227143057.GM16805@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 27, 2014 at 01:20:52PM +0100, Heiko Schocher wrote: > Hello all, > > just noticed, that it is not longer possible to cross-compile the > u-boot tools: > > "Older" U-Boot (= before kbuild changes), could cross-compile the > u-boot tools: > > $ git log > commit 9137d19bdd321b810275f2e967e3a39165a4e8de > Author: Heiko Schocher > Date: Thu Jan 30 11:02:13 2014 +0100 > > net, phy: atheros ar803x bug > [...] > $ make mrproper > $ make IDS8247_config > Configuring for IDS8247 board... > $ make HOSTCC=${CROSS_COMPILE}gcc HOSTSTRIP=${CROSS_COMPILE}strip -s tools > $ powerpc-linux-objdump -f tools/mkimage > > tools/mkimage: file format elf32-powerpc > architecture: powerpc:common, flags 0x00000112: > EXEC_P, HAS_SYMS, D_PAGED > start address 0x10001320 > > > With current mainline: > > $ git checkout master > Gewechselt zu Zweig 'master' > $ make mrproper > $ make IDS8247_config > Configuring for IDS8247 board... > $ make CROSS_COMPILE=powerpc-linux- -s tools > $ powerpc-linux-objdump -f tools/mkimage > > tools/mkimage: file format elf64-little > architecture: UNKNOWN!, flags 0x00000112: > EXEC_P, HAS_SYMS, D_PAGED > start address 0x00000000004019c8 > > $ objdump -f tools/mkimage > > tools/mkimage: file format elf64-x86-64 > architecture: i386:x86-64, flags 0x00000112: > EXEC_P, HAS_SYMS, D_PAGED > start address 0x00000000004019c8 > > $ make HOSTCC=${CROSS_COMPILE}gcc HOSTSTRIP=${CROSS_COMPILE}strip -s tools > /lib/ld.so.1: No such file or directory > make[1]: *** [scripts/basic/fixdep] Fehler 255 > make: *** [scripts_basic] Fehler 2 > $ > > Is this a Bug, which should be fixed? Any hints? It seems like we need to pick up http://lists.linaro.org/pipermail/linaro-kernel/2013-August/005772.html -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: