gcc 4.5.3 failed to build a arm cross compiler

junfeng dong jfdong@gmail.com
Fri Sep 2 01:46:00 GMT 2011


Hi,

I am trying to build a arm toolchain on i586. Gcc 4.5.3 is configured
as follows:

"../configure --build=i586-meego-linux --host=i586-meego-linux
--target=armv7l-meego-linux-
gnueabi --disable-checking --enable-lto --enable-languages=c,c++
--with-sysroot=/opt/cross/armv7l-meego-linux-gnueabi/sys-root"

Make all

Then I got the error:

/opt/cross/bin/armv7l-meego-linux-gnueabi-ld: error:
./libgcc_s.so.1.tmp uses VFP register arguments, emutls_s.o does not

/opt/cross/bin/armv7l-meego-linux-gnueabi-ld: failed to merge target
specific data of file emutls_s.o

…

I have tried adding “--with-float-soft” to gcc’s configure option. It
doesn’t work.

Any idea about the error? What do I miss?


Thanks

J.F.D



More information about the Gcc-help mailing list