Subject: Re: powerpc allnoconfig

From: Peter Bergner <[email-masked]>
Date: Tue, 03 Mar 2009 13:05:31 -0600

On Tue, 2009-03-03 at 08:56 -0800, Andrew Morton wrote:
> On Tue, 3 Mar 2009 11:14:04 +0100 (CET) Geert Uytterhoeven <[email-masked]> wrote:
> 
> > > > let us know if that works :-)
> > > 
> > > didn't.  Oh well.
> > 
> > Does allnoconfig work if you force the compiler to be 32-bit, like
> > 
> >     make CC="powerpc64-unknown-linux-gnu-gcc -m32"
> 
> Nope:
> 
> scripts/mod/empty.c:1: error: -m64 requires a PowerPC64 cpu

To build a biarch compiler that defaults to 32-bit, try adding the
option --with-cpu=default32 to your GCC configure options.  You also
shouldn't need --enable-targets=all.  We haven't used that option
for ages when building powerpc64-linux enabled GCCs.

Peter