3 msgStrange 'No matching function for call' compila...
5 msgcompiling gcc 4.1.1 for AVR
2 msggfortran compiler precision
2 msgReading and writing binary files
2 msgAnother strict-alias puzzle with (unsigned) cha...
4 msgcannot exec 'cc1plus'
1 msgTest of subscribing
2 msgpeephole2
3 msgcross compilation

problem building arm-linux-gcc
\ Takács Áron (26 Sep 2006)
. \ Kai Ruottu (26 Sep 2006)
. \ Amit Choudhary (26 Sep 2006)

3 msgfunctors and callbacks
5 msgProblem with forward declaration of classes wit...
2 msg4.2 release date?
1 msgboehm-gc/misc.c compilation problem on cygwin
1 msgprintf-like syntax
4 msgExtending GNU C extensions
3 msgArguments in registers
2 msghelp: C++, SunStudio and gcc
3 msgPrevious definition of strdup
4 msgg++ -ldl
Subject:problem building arm-linux-gcc
Group:Gcc-help
From:Takács Áron
Date:26 Sep 2006


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


© 2004-2008 readlist.com