From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.linux-foundation.org", Issuer "CA Cert Signing Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 55CB2DDEFA for ; Tue, 3 Mar 2009 15:08:41 +1100 (EST) Date: Mon, 2 Mar 2009 20:08:09 -0800 From: Andrew Morton To: Stephen Rothwell Subject: Re: powerpc allnoconfig Message-Id: <20090302200809.26b5d5bb.akpm@linux-foundation.org> In-Reply-To: <20090303141905.52dbf9b1.sfr@canb.auug.org.au> References: <20090302171948.d1e2aa00.akpm@linux-foundation.org> <12051.1236047470@neuling.org> <20090302184049.27a73395.akpm@linux-foundation.org> <20090303135203.b36312a0.sfr@canb.auug.org.au> <20090302185514.2cc73512.akpm@linux-foundation.org> <20090303141905.52dbf9b1.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, Michael Neuling List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 3 Mar 2009 14:19:05 +1100 Stephen Rothwell wrote: > Hi Andrew, > > On Mon, 2 Mar 2009 18:55:14 -0800 Andrew Morton 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). Probably. But I only use it for compilation testing, so the `Your version of gcc miscompiles the __weak directive' thing is a pointless PITA, so I patch it out. > You need to either build a biarch cross compiler (--enable-targets=all) or try: > > $ cat >xxx < CONFIG_PPC64=y > EOF > $ KCONFIG_ALLCONFIG=xxx make allnoconfig > $ make vmlinux > > let us know if that works :-) didn't. Oh well. It seems odd that it breaks an allnoconfig build, whereas defconfig and allmodconfig are OK.