From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot: could not cross-compile u-boot tools
Date: Thu, 27 Feb 2014 13:20:52 +0100 [thread overview]
Message-ID: <530F2DA4.2070507@denx.de> (raw)
In-Reply-To: <20140227210758.77BA.AA925319@jp.panasonic.com>
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 <hs@denx.de>
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?
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next parent reply other threads:[~2014-02-27 12:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140227204101.77B6.AA925319@jp.panasonic.com>
[not found] ` <530F2804.4020107@denx.de>
[not found] ` <20140227210758.77BA.AA925319@jp.panasonic.com>
2014-02-27 12:20 ` Heiko Schocher [this message]
2014-02-27 14:30 ` [U-Boot] U-Boot: could not cross-compile u-boot tools Tom Rini
2014-02-28 5:21 ` Heiko Schocher
2014-02-28 9:03 ` Masahiro Yamada
2014-02-28 9:31 ` Heiko Schocher
2014-02-28 11:12 ` Wolfgang Denk
2014-02-28 14:20 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=530F2DA4.2070507@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox