[PATCH] ARM: fix build error with GCC 4.5.0

Tony Breeds tony at bakeyournoodle.com
Thu Nov 11 23:45:48 EST 2010

On Fri, Nov 05, 2010 at 07:51:14PM +0100, Mikael Pettersson wrote:
> That's an OABI compiler. You want a compiler configured for
> 	--target=arm-unknown-linux-gnueabi
> and without that --enable-sjlj-exceptions as well.
> OABI is super-legacy and essentially unsupported by current gcc.

The previous compiler was the results of configuring for arm-linux now I have:

$ ./buildall/cross.x86_64/gcc-4.4.5-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-unknown-linux-gnueabi
Configured with: /home/tony/buildall/src/gcc/configure --target=arm-unknown-linux-gnueabi --enable-targets=all --prefix=/home/tony/buildall/cross.x86_64/gcc-4.4.5-nolibc/arm-unknown-linux-gnueabi/ --enable-languages=c --with-newlib --without-headers --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.4.5 (GCC) 

Is that correct?

Yours Tony

More information about the linux-arm-kernel mailing list