configure: WARNING: float.h: present but cannot be compiled configure: WARNING: float.h: check for missing prerequisite headers? configure: WARNING: float.h: see the Autoconf documentation configure: WARNING: float.h: section "Present But Cannot Be Compiled" configure: WARNING: float.h: proceeding with the preprocessor's result configure: WARNING: float.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to the package-unused lists. ## configure: WARNING: ## ----------------------------------------- ## checking for float.h... yes checking for endian.h... (cached) no checking for inttypes.h... (cached) no checking locale.h usability... no checking locale.h presence... no checking for locale.h... no checking for float.h... (cached) yes checking for stdint.h... (cached) no checking for g++ that supports -ffunction-sections -fdata-sections... yes checking for ld version... 21800 checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory `/usr/vport/cross/arm-linux/portage/cross-arm-linux/gcc-4.2.2/work/build' make: *** [all] Error 2 configure:78901: checking for ld version configure:78909: result: 21800 configure:78927: checking for ld that supports -Wl,--gc-sections configure:78930: error: Link tests are not allowed after GCC_NO_EXECUTABLES. vapier noted these problems way back with 3.4.6 and there seem to be several bugs related to this.
GCC_NO_EXECUTABLES is a generic error that another problem eventually triggers you need to post full logs as attachments like crossdev told you to you'll also need to extract the config.log files from the gcc build directory
Created attachment 164147 [details] /var/tmp/cross/armeb-softfloat-linux-uclibc/portage/cross-armeb-softfloat-linux-uclibc/gcc-4.3.1-r1/temp/build.log build log from emerge -avO cross-armeb-softfloat-linux-uclibc/gcc (trying to get around bug 235275
I got around this by disabling the 'mudflap' use flag after installing glibc with CROSSCOMPILE_OPTS="headers-only".