[U-Boot-Users] Compile error with arm-linux-gcc

Angelos Manousarides amanous at inaccessnetworks.com
Tue Jun 6 19:24:51 CEST 2006


When trying to compile with this gcc:

Reading specs from 
/opt/inaccess/xdvl/toolchain/gcc-3.4.3-glibc-2.3.5/arm-linux/lib/gcc/arm-linux/3.4.3/specs
Configured with: 
/home/u0/amanous/crosstool-0.38/build/arm-linux/gcc-3.4.3-glibc-2.3.5/gcc-3.4.3/configure 
--target=arm-linux --host=i686-host_pc-linux-gnu 
--prefix=/opt/inaccess/xdvl/toolchain/gcc-3.4.3-glibc-2.3.5/arm-linux 
--with-float=soft 
--with-headers=/opt/inaccess/xdvl/toolchain/gcc-3.4.3-glibc-2.3.5/arm-linux/arm-linux/include 
--with-local-prefix=/opt/inaccess/xdvl/toolchain/gcc-3.4.3-glibc-2.3.5/arm-linux/arm-linux 
--disable-nls --enable-threads=posix --enable-symvers=gnu 
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared 
--enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.3

I get the following error:


cc1: error: invalid option `abi=apcs-gnu'
cc1: error: invalid option `abi=apcs-gnu'
...


There was a problem with the arm compilers and a fix was introduced in 
u-boot 1.1.4, in cpu/pxa/config.mk (this is one of the reasons I 
upgraded from 1.1.3). But it seems that this solution introduced this 
problem.

I have compiled and executed u-boot successfully with the line 
containing the offending flag commented.

--
Angelos Manousarides




More information about the U-Boot mailing list