Soft Float is not being reported

Dave dave@cc0.net
Thu Jun 24 21:14:00 GMT 2004


>> # /opt/crosstool/bin/arm-linux-gcc -o float float.c -msoft-float
>> /opt/crosstool/bin/arm-linux-gcc -o float float.c -msoft-float
>> /opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/ld:
>> ERROR: /tmp/ccYarrF0.o uses FPA instructions, whereas float does not
>> /opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/ld:
>> failed to merge target specific data of file /tmp/ccYarrF0.o
>> collect2: ld returned 1 exit status

> This is because the -msoft-float flag to arm-linux-gcc now produces
> software FPA objects, NOT software VFP (similarly, -mhard-float
> generates hardware FPA format objects).  So the temporary float.o is
> now softfpa format, while your glibc/libgcc etc use softvfp, which is
> then refused by the linker.

Got it...

Rebuilding toolchain now with your patch and glibc-vfp patch (I missed vfp
patch last run).

Thanks!

-Dave




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



More information about the crossgcc mailing list