Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200801 - gcc-4.2.2 crossdev -t arm-linux fails - link tests are not allowed after GCC_NO_EXECUTABLES.
Summary: gcc-4.2.2 crossdev -t arm-linux fails - link tests are not allowed after GCC_...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 00:46 UTC by Blu3
Modified: 2008-09-01 04:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/cross/armeb-softfloat-linux-uclibc/portage/cross-armeb-softfloat-linux-uclibc/gcc-4.3.1-r1/temp/build.log (build.log,835.94 KB, text/plain)
2008-08-31 04:08 UTC, Triffid Hunter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2007-11-30 00:46:33 UTC
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.
Comment 1 SpanKY gentoo-dev 2007-11-30 15:52:08 UTC
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
Comment 2 Triffid Hunter 2008-08-31 04:08:42 UTC
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
Comment 3 Triffid Hunter 2008-09-01 04:06:54 UTC
I got around this by disabling the 'mudflap' use flag after installing glibc with CROSSCOMPILE_OPTS="headers-only".