[uClinux-dev] uClinux-dist-test-20050808 build error about soft-float(Winbond board).

qiugongfen water018 at 163.com
Mon Oct 10 11:43:47 EDT 2005


hi,all.

	When I build uClinux-dist-test-20050808. I got a build error.
(v2.4.31,winbond patch)

The error is:
*************************
arm-elf-ld: Error: _udivsi3.o uses hard floating point, whereas linux uses 
soft floating point
No more archived files: failed to merge target specific data of 
file /usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/libgcc.a(_udivsi3.o)
arm-elf-ld: Error: _divsi3.o uses hard floating point, whereas linux uses soft 
floating point
No more archived files: failed to merge target specific data of 
file /usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/libgcc.a(_divsi3.o)
arm-elf-ld: Error: _umodsi3.o uses hard floating point, whereas linux uses 
soft floating point
No more archived files: failed to merge target specific data of 
file /usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/libgcc.a(_umodsi3.o)
arm-elf-ld: Error: _modsi3.o uses hard floating point, whereas linux uses soft 
floating point
No more archived files: failed to merge target specific data of 
file /usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/libgcc.a(_modsi3.o)
arm-elf-ld: Error: _lshrdi3.o uses hard floating point, whereas linux uses 
soft floating point
No more archived files: failed to merge target specific data of 
file /usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/libgcc.a(_lshrdi3.o)
arm-elf-ld: Error: _ashrdi3.o uses hard floating point, whereas linux uses 
soft floating point
No more archived files: failed to merge target specific data of 
file /usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/libgcc.a(_ashrdi3.o)
*************************

If I modify linux-2.4.x/arch/armnommu/Makefile, delete -msoft-float.

#CFLAGS      += $(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float
CFLAGS     += $(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes
#AFLAGS      += $(apcs-y) $(proc-y) -msoft-float -mno-fpu
AFLAGS     += $(apcs-y) $(proc-y) -mno-fpu

Then It can build ok. It's that say we don't use soft-float? There is anyone 
to helpme?Thanks.

Regards,
Qiugongfen









More information about the uClinux-dev mailing list