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

yp.cheung at pithk.com yp.cheung at pithk.com
Thu Sep 1 01:27:52 UTC 2005


I encountered this problem before.  I switched to gcc 3.4.3 then
everything worked ok.  There must be some missing patches in the gcc 3.4.4
tree of buildroot.

Cheers,
Pang

>
> It appears I am hitting the same problem again.  Does anybody know if
> it is *possible* to build ARM uclibc root fs with softfloat and c++
> support?
>
> Here is my config:
>
> . 20050831 buildroot
> . binutils 2.16.1
> . gcc 3.4.4
> . kernel 2.4.31 header
> . lastest uclibc snapshot
>
> I also attached the .config file.
>
> Thanks in advance.
>
> Jun
>
> On Sun, Dec 05, 2004 at 09:34:12AM +0000, denis polevoi wrote:
>> 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
>
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://codepoet.org/mailman/listinfo/uclibc
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>




More information about the uClibc mailing list