[uClibc] configure-target-libstdc++-v3: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

denis polevoi domenick at list.ru
Sun Dec 5 09:34:12 UTC 2004


during compile of buidlroot
...
checking for stdint.h... (cached) yes
checking for main in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1

this error appears when i turn off in uclibc support for
Target CPU has a floating point unit (FPU)

i collect test system on suse 9.1 with gcc-3.3.3 for i486sx note / that has no math coprocessor or fpu :)
uClibc-cvs   linux-libc-headers-2.6.9.1   binutils-2.15.94.0.1   gcc-3.4.3   

so / in other words 

1 when uClibc.config
    ...
   CONFIG_486=y
   ARCH_HAS_MMU=y
   UCLIBC_HAS_FLOATS=y
   HAS_FPU=y
   # DO_C99_MATH is not set
   ...
buildroot ok

2 when uClibc.config
   ...
   CONFIG_486=y
   ARCH_HAS_MMU=y
   UCLIBC_HAS_FLOATS=y
   # HAS_FPU is not set
   # DO_C99_MATH is not set
   ...
buildroot error

there is log of some errors in /buildroot/toolchain_build_i386/gcc-3.4.3/libstdc++-v3/config.log
   ...
   errors
   ...
   configure:69854: checking for main in -lm
   configure:69862: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
   ...

maybe / there is some correlation with arm-softfloat.patch
any advice or help would be appreciated

with the best regards
denis polevoi



More information about the uClibc mailing list