public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: linuxppc-dev@ozlabs.org
Cc: jdittmer@ppp0.net
Subject: boot/wrap assumes a biarch toolchain?
Date: Mon, 29 Oct 2007 09:07:20 -0500	[thread overview]
Message-ID: <20071029140719.GA17120@kryten> (raw)


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

             reply	other threads:[~2007-10-29 14:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29 14:07 Anton Blanchard [this message]
2007-10-29 14:38 ` boot/wrap assumes a biarch toolchain? 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

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=20071029140719.GA17120@kryten \
    --to=anton@samba.org \
    --cc=jdittmer@ppp0.net \
    --cc=linuxppc-dev@ozlabs.org \
    /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