[uClibc] C compiler cannot create executables.

Stephan Henningsen sth at amplex.dk
Fri Jun 17 13:18:52 UTC 2005


My Buildroot environment worked fine.
Then I enabled BR2_SOFT_FLOAT=y in Buildroots .config.h in a new Buildroot environment,
that is: No dirty files or configurations.  And then this happended.  Why?:



[...LOTS...]
Configuring in arm-linux-uclibc/libiberty
creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... arm-unknown-linux-uclibc
checking build system type... i386-pc-linux-gnu
checking for arm-linux-uclibc-ar... arm-linux-uclibc-ar
checking for arm-linux-uclibc-ranlib... arm-linux-uclibc-ranlib
checking for gcc...  /home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-fin
al/gcc/xgcc -B/home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-final/gcc/
  -msoft-float -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc
/bin/ -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/lib/ -i
system /home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/include
checking whether we are using GNU C... yes
checking whether  /home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-final/
gcc/xgcc -B/home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-final/gcc/ -m
soft-float -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/bi
n/ -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/lib/ -isys
tem /home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/include acc
epts -g... yes
checking whether  /home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-final/
gcc/xgcc -B/home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-final/gcc/ -m
soft-float -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/bi
n/ -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/lib/ -isys
tem /home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/include and
  cc understand -c and -o together... yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... /usr/bin/install -c
Appending /home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4/libiberty/../c
onfig/mh-armpic to xhost-mkfrag
checking how to run the C preprocessor...  /home/sth/buildroot/toolchain_build_a
rm_nofpu/gcc-3.3.4-final/gcc/xgcc -B/home/sth/buildroot/toolchain_build_arm_nofp
u/gcc-3.3.4-final/gcc/ -msoft-float -B/home/sth/buildroot/build_arm_nofpu/stagin
g_dir/arm-linux-uclibc/bin/ -B/home/sth/buildroot/build_arm_nofpu/staging_dir/ar
m-linux-uclibc/lib/ -isystem /home/sth/buildroot/build_arm_nofpu/staging_dir/arm
-linux-uclibc/include -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... no
checking for uintptr_t... no
checking for pid_t... yes
checking whether the C compiler ( /home/sth/buildroot/toolchain_build_arm_nofpu/
gcc-3.3.4-final/gcc/xgcc -B/home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3
.4-final/gcc/ -msoft-float -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm
-linux-uclibc/bin/ -B/home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-u
clibc/lib/ -isystem /home/sth/buildroot/build_arm_nofpu/staging_dir/arm-linux-uc
libc/include -g -Os ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.
3.4-final'
make: *** [/home/sth/buildroot/toolchain_build_arm_nofpu/gcc-3.3.4-final/.compil
ed] Error 2





More information about the uClibc mailing list