This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 4.5.3 failed to build a arm cross compiler
- From: junfeng dong <jfdong at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 2 Sep 2011 09:45:46 +0800
- Subject: gcc 4.5.3 failed to build a arm cross compiler
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