From mboxrd@z Thu Jan 1 00:00:00 1970 From: rabin@rab.in (Rabin Vincent) Date: Fri, 5 Nov 2010 20:23:58 +0530 Subject: [PATCH] ARM: fix build error with GCC 4.5.0 In-Reply-To: <19667.52998.909668.596635@pilspetsen.it.uu.se> References: <1288897002-24073-1-git-send-email-rabin@rab.in> <19667.9199.798932.405415@pilspetsen.it.uu.se> <19667.52998.909668.596635@pilspetsen.it.uu.se> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 2010/11/5 Mikael Pettersson : > Rabin Vincent writes: > ?> 2010/11/5 Mikael Pettersson : > ?> > Indeed. I suspect an improperly patched or configured gcc-4.5.0, > ?> > or broken kernel sources. Especially considering that the kernel > ?> > passes -msoft-float to gcc (see above). > ?> > > ?> > I know gcc-4.5.0 configured for arm-linux-gnueabi built working EABI > ?> > kernels a few months ago. > ?> > ?> The kernel sources are clean Linus' tree, so I guess it must be the > ?> compiler configuration then. ?Indeed, running the above mentioned cross > ?> compiler with -msoft-float -mabi=aapcs-linux even on an empty source > ?> file yields the same error. ?I've cc'd Tony here who I believe builds > ?> these prebuilt compilers at http://kernel.org/pub/tools/crosstool/. > > How was that gcc configured? You can find out by running `arm-linux-gcc -v'. $ arm-linux-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-gcc COLLECT_LTO_WRAPPER=[path removed]/gcc-4.5.0-nolibc/arm-linux/bin/../libexec/gcc/arm-linux/4.5.0/lto-wrapper Target: arm-linux Configured with: /home/tony/buildall/src/gcc/configure --target=arm-linux --enable-targets=all --prefix=/opt/cross/gcc-4.5.0-nolibc/arm-linux/ --enable-languages=c --with-newlib --without-headers --enable-sjlj-exceptions --with-system-libunwind --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --enable-checking=release --with-mpfr=/home/tony/buildall/src/sys-x86_64 --with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap Thread model: single gcc version 4.5.0 (GCC) -- Rabin