[uClibc]uClibc and No Floating Point Unit and GCC3.2.2 (ARM CrossCompiler)

Michael Lindig lindig at eas.iis.fhg.de
Tue Feb 11 07:59:46 UTC 2003


Hi,

is it possible to get the GCC3.2.2 and uClibc without FPU and SOFT_FLOAT
successfully compiled in final step?

The final steps allways stop with error:

/pkg/3.2.2/toolchain/arm-linux/bin/ld: ERROR:
/pkg/3.2.2/build/gcc-final/gcc/crtendS.o uses hardware FP, whereas
libgcc_s.so.0.9.9 uses software FP
File format not recognized: failed to merge target specific data of file
/pkg/3.2.2/build/gcc-final/gcc/crtendS.o
/pkg/3.2.2/toolchain/arm-linux/bin/ld: ERROR:
/pkg/3.2.2/toolchain/arm-linux/lib/crtn.o uses hardware FP, whereas
libgcc_s.so.0.9.9 uses software FP
File format not recognized: failed to merge target specific data of file
/pkg/3.2.2/toolchain/arm-linux/lib/crtn.o
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1

Here is the extract from the uClibc-config:
#
# Target Architecture Features and Options
#
HAVE_ELF=y
CONFIG_GENERIC_ARM=y
# CONFIG_ARM7TDMI is not set
# CONFIG_STRONGARM is not set
# CONFIG_XSCALE is not set
# UCLIBC_HAS_MMU is not set
UCLIBC_HAS_FLOATS=y
# HAS_FPU is not set
UCLIBC_HAS_SOFT_FLOAT=y
# DO_C99_MATH is not set
WARNINGS="-Wall"
KERNEL_SOURCE="/pkg/3.2.2/build/linux"
UCLIBC_UCLINUX_BROKEN_MUNMAP=y
EXCLUDE_BRK=y
C_SYMBOL_PREFIX=""
HAVE_DOT_CONFIG=y

Has anyone an idear to get it compiled with soft-float support?

Thanks,
Michael




More information about the uClibc mailing list