This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

hard-float error


Hi,

 I am building GCC tool chain for arm-target using gcc-3.4.0. I have
included the patch for soft-float in the patches/gcc-3.4.0/ directory.
When I build the gcc by running the demo-arm-soft-float.sh script, I get
the following error:

usr/local/xscale/arm-linux/gcc-3.4.0-glibc-2.3.2/arm-linux/bin/ld:
ERROR:
/home/rpoornax/gcc/crosstool-0.28-rc16/build/arm-linux/gcc-3.4.0-glibc-2
.3.2/build-gcc/gcc/hard-float/crtn.o
uses hardware FP, whereas libgcc_s_hard-float.so.1 uses software FP
/usr/local/xscale/arm-linux/gcc-3.4.0-glibc-2.3.2/arm-linux/bin/ld:
failed to
merge target specific data of file
/home/rpoornax/gcc/crosstool-0.28-rc16/build/arm-linux/gcc-3.4.0-glibc-2
.3.2/build-gcc/gcc/hard-float/crtn.o
collect2: ld returned 1 exit status
make[2]: *** [hard-float/libgcc_s_hard-float.so] Error 1
make[2]: Leaving directory
`/home/rpoornax/gcc/crosstool-0.28-rc16/build/arm-linux/gcc-3.4.0-glibc-
2.3.2/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory
`/home/rpoornax/gcc/crosstool-0.28-rc16/build/arm-linux/gcc-3.4.0-glibc-
2.3.2/build-gcc/gcc'
make: *** [all-gcc] Error 2


Please somebody help me.

-thanks,
Rajesh

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]