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]

Re: Soft Float is not being reported


>> # /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


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