This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problem building arm-linux-gcc
- From: Takács Áron <takacs dot aron at infracont dot hu>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Sep 2006 11:21:20 +0200
- Subject: problem building arm-linux-gcc
- Reply-to: takacs dot aron at infracont dot hu
Hi,
I have a working cross toolchain form arm (gcc-3.3.2, binutils-2.17). I have
to update gcc in order to compile recent kernels.
I downloaded gcc-4.1.1, created the gcc-build directory and configured gcc as
follows:
../gcc-4.1.1/configure --target=arm-linux --prefix=/opt/arm-linux
--enable-languages=c,c++ --with-cpu=xscale --host=i686-pc-linux-gnu
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-shared --enable-c99 --enable-long-long
--without-fp
After that I did "make all", and got the following errors:
.....
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_moddi3_s.o uses hardware FP,
whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./_moddi3_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udivdi3_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udivdi3_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./_udivdi3_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_umoddi3_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_umoddi3_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./_umoddi3_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udiv_w_sdiv_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udiv_w_sdiv_s.o uses
hardware FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./_udiv_w_sdiv_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udivmoddi4_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udivmoddi4_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./_udivmoddi4_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-dw2_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-dw2_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./unwind-dw2_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-dw2-fde-glibc_s.o uses
FPA instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-dw2-fde-glibc_s.o uses
hardware FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./unwind-dw2-fde-glibc_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-sjlj_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-sjlj_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./unwind-sjlj_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./gthr-gnat_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./gthr-gnat_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./gthr-gnat_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-c_s.o uses FPA
instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./unwind-c_s.o uses hardware
FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of file
libgcc/./unwind-c_s.o
/opt/arm-linux/bin/arm-linux-ld: ERROR: /home/roni/gcc-build/./gcc/crtendS.o
uses FPA instructions, whereas ./libgcc_s.so.1.tmp does not
/opt/arm-linux/bin/arm-linux-ld: ERROR: /home/roni/gcc-build/./gcc/crtendS.o
uses hardware FP, whereas ./libgcc_s.so.1.tmp uses software FP
/opt/arm-linux/bin/arm-linux-ld: failed to merge target specific data of
file /home/roni/gcc-build/./gcc/crtendS.o
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/home/roni/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/roni/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/roni/gcc-build'
make: *** [all] Error 2
Could you please help me solwing this problem?
Thanks a lot for your help!
Áron Takács