[uClibc] hardware FP, software FP

Peter Källström Peter.Kaellstroem at ascomtateco.se
Wed Nov 12 09:12:57 UTC 2003


Hi,

I'm trying to compile the uClibc-toolchain with gcc 3.3.1 and uClibc 0.9.22. The problem I run into is following:

/home/samba/uClibc-toolchain/toolchain_arm/arm-linux/bin/ld: ERROR: /home/samba/uClibc-toolchain/build_arm/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 /home/samba/uClibc-toolchain/build_arm/gcc-final/gcc/crtendS.o
/home/samba/uClibc-toolchain/toolchain_arm/arm-linux/bin/ld: ERROR: /home/samba/uClibc-toolchain/toolchain_arm/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 /home/samba/uClibc-toolchain/toolchain_arm/arm-linux/lib/crtn.o
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1

I searched for this error and found a post from this list: http://www.uclibc.org/lists/uclibc/2003-February/005593.html
However, even if I add --nfp --without-fp to EXTRA_GCC_CONFIG_OPTIONS, I still get the same error.

Does anyone know a solution to this?


My uClibc config:
TARGET_arm=y

HAVE_ELF=y
TARGET_ARCH="arm"
CONFIG_ARM720T=y
ARCH_LITTLE_ENDIAN=y
# ARCH_HAS_NO_MMU is not set
UCLIBC_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
ARCH_HAS_NO_FPU=y
UCLIBC_HAS_SOFT_FLOAT=y
DO_C99_MATH=y
WARNINGS="-Wall"
KERNEL_SOURCE="/home/samba/uClibc-toolchain/build_arm/linux"
C_SYMBOL_PREFIX=""
HAVE_DOT_CONFIG=y

DOPIC=y
# HAVE_NO_SHARED is not set
HAVE_SHARED=y
# ARCH_HAS_NO_LDSO is not set
BUILD_UCLIBC_LDSO=y
LDSO_LDD_SUPPORT=y
UCLIBC_CTOR_DTOR=y
# UCLIBC_PROFILING is not set
# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
PTHREADS_DEBUG_SUPPORT=y
UCLIBC_HAS_LFS=y
# MALLOC is not set
MALLOC_930716=y
MALLOC_GLIBC_COMPAT=y
UCLIBC_DYNAMIC_ATEXIT=y
HAS_SHADOW=y
UNIX98PTY_ONLY=y
ASSUME_DEVPTS=y
UCLIBC_HAS_TM_EXTENSIONS=y
UCLIBC_HAS_TZ_CACHING=y
UCLIBC_HAS_TZ_FILE=y
UCLIBC_HAS_TZ_FILE_READ_MANY=y
UCLIBC_TZ_FILE_PATH="/etc/TZ"

UCLIBC_HAS_RPC=y

UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
# UCLIBC_HAS_CTYPE_UNSAFE is not set
UCLIBC_HAS_CTYPE_CHECKED=y
# UCLIBC_HAS_CTYPE_ENFORCED is not set
UCLIBC_HAS_WCHAR=y
# UCLIBC_HAS_LOCALE is not set
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
UCLIBC_HAS_STDIO_BUFSIZ_256=y
UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
UCLIBC_HAS_STDIO_GETC_MACRO=y
UCLIBC_HAS_STDIO_PUTC_MACRO=y
UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
UCLIBC_HAS_PRINTF_M_SPEC=y
UCLIBC_HAS_ERRNO_MESSAGES=y
# UCLIBC_HAS_SYS_ERRLIST is not set
UCLIBC_HAS_SIGNUM_MESSAGES=y
# UCLIBC_HAS_SYS_SIGLIST is not set
UCLIBC_HAS_GNU_GETOPT=y

UCLIBC_HAS_REGEX=y
UCLIBC_HAS_GLOB=y

SHARED_LIB_LOADER_PREFIX="$(DEVEL_PREFIX)/lib"
RUNTIME_PREFIX="$(DEVEL_PREFIX)/bin/"
DEVEL_PREFIX="/home/samba/uClibc-toolchain/toolchain_arm"




More information about the uClibc mailing list