linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* boot/wrap assumes a biarch toolchain?
@ 2007-10-29 14:07 Anton Blanchard
  2007-10-29 14:38 ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Anton Blanchard @ 2007-10-29 14:07 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: jdittmer


Hi,

Jan is seeing the following fail:

WRAP    arch/powerpc/boot/zImage.pmac
powerpc-linux-objcopy: vmlinux: File format not recognized

He is using a cross compile toolchain invoked with the following command
line:

# make HOSTCC=gcc-4.0 ARCH=powerpc CROSS_COMPILE=powerpc64-linux- CROSS32_COMPILE=powerpc-linux-

It seems like boot/wrap wants to use both 64bit and 32bit tools, however
it only receives the 32bit path:

ifneq ($(CROSS32_COMPILE),)
CROSSWRAP := -C "$(CROSS32_COMPILE)"
else
ifneq ($(CROSS_COMPILE),)
CROSSWRAP := -C "$(CROSS_COMPILE)"
endif
endif

Thoughts? I guess we have to pass in both cross compile targets.

One way to make this go away would be to build binutils as biarch:

# configure --target=powerpc-linux --enable-targets=powerpc64-linux ...

Anton

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-10-30 16:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 14:07 boot/wrap assumes a biarch toolchain? Anton Blanchard
2007-10-29 14:38 ` Andreas Schwab
2007-10-29 14:50   ` Jan Dittmer
2007-10-29 15:39     ` Andreas Schwab
2007-10-29 19:44       ` Jan Dittmer
2007-10-29 21:15         ` Andreas Schwab
2007-10-29 21:49           ` Jan Dittmer
2007-10-29 23:34             ` Andreas Schwab
2007-10-30  7:30               ` Jan Dittmer
2007-10-30  9:20                 ` Andreas Schwab
2007-10-30 16:15                   ` Jan Dittmer
2007-10-30 16:18                   ` Jan Dittmer
2007-10-29 14:57   ` Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).