powerpc allnoconfig

Stephen Rothwell sfr at canb.auug.org.au
Tue Mar 3 14:19:05 EST 2009


Hi Andrew,

On Mon, 2 Mar 2009 18:55:14 -0800 Andrew Morton <akpm at linux-foundation.org> wrote:
>
> Using built-in specs.
> Target: powerpc64-unknown-linux-gnu
> Configured with: /home/axboe/crosstool-0.43/build/powerpc64-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/gcc-4.1.0/configure --target=powerpc64-unknown-linux-gnu --host=x86_64-host_unknown-linux-gnu --prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu --disable-multilib --with-sysroot=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sys-root --with-local-prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c --enable-shared --enable-c99 --enable-long-long
> Thread model: posix
> gcc version 4.1.0
> 
> > I suspect you have a 64 bit only compiler and allnoconfig produces a 32
> > bit kernel.  Is this a new error?
> 
> 2.6.28 does the same thing.  I don't recall having tested allnoconfig
> for ages if at all, so I don't know if it's a regression.

Right, you have a 64 bit only compiler. Also it is version 4.1.0 which we now black ban (I think).  You need to either build a biarch cross compiler (--enable-targets=all) or try:

$ cat >xxx <<EOF
CONFIG_PPC64=y
EOF
$ KCONFIG_ALLCONFIG=xxx make allnoconfig
$ make vmlinux

let us know if that works :-)
-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090303/d50df9cf/attachment.pgp>


More information about the Linuxppc-dev mailing list