public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Dan Kegel <dank@kegel.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	arjanv@redhat.com
Subject: Re: 2.6.8 link failure for powerpc-970?
Date: Thu, 23 Sep 2004 23:12:29 +1000	[thread overview]
Message-ID: <20040923131229.GA4785@krispykreme> (raw)
In-Reply-To: <41525E05.7020506@kegel.com>

 
> Sure.  For ppc64, beyond allnoconfig, I had to enable
> CONFIG_SYSVIPC
> CONFIG_SYSCTL
> CONFIG_NET
> ... um, but that didn't fix everything.  Now it fails with

OK, I guess we need some better wrapping of compat code.
 
> Um, why is it using the host's gcc?  I ran make with
> make V=1 ARCH=ppc64 
> CROSS_COMPILE=/opt/crosstool/powerpc64-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3/bin/powerpc64-unknown-linux-gnu-
> so it really should know better, shouldn't it?

Check out arch/ppc64/boot/Makefile, in particular CROSS32_COMPILE. The
boot wrapper is a 32bit binary. 

Now that the toolchain is biarch capable we could get rid of that and
use gcc -m32 instead. But for the moment specify a CROSS32_COMPILE ant
things should link.

Anton

  reply	other threads:[~2004-09-23 13:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20  8:24 2.6.8 link failure for powerpc-970? Dan Kegel
2004-09-20  8:35 ` Arjan van de Ven
2004-09-22  3:20   ` Dan Kegel
2004-09-22 16:41     ` Dan Kegel
2004-09-22 22:27       ` Herbert Poetzl
2004-09-23  5:24         ` Dan Kegel
2004-09-23 13:12           ` Anton Blanchard [this message]
2004-09-23 14:14             ` Dan Kegel
2004-09-23  0:17   ` 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=20040923131229.GA4785@krispykreme \
    --to=anton@samba.org \
    --cc=arjanv@redhat.com \
    --cc=dank@kegel.com \
    --cc=herbert@13thfloor.at \
    --cc=linux-kernel@vger.kernel.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