Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403551 - Compilation of gcc-4.5.3-r1 fails with "configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES."
Summary: Compilation of gcc-4.5.3-r1 fails with "configure: error: Link tests are not ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-14 10:56 UTC by Christopher Schwan
Modified: 2016-05-29 11:04 UTC (History)
0 users

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


Attachments
build log (gcc-build-logs.tar.bz2,71.67 KB, text/plain)
2012-02-14 10:57 UTC, Christopher Schwan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Schwan 2012-02-14 10:56:27 UTC
I tried to install gcc-4.5.3-r1 on ~x86-linux. The compilation fails with the error shown in the title; this error appears two times:

checking for a 64-bit type... checking for sqrtf declaration... uint64_t
checking for intptr_t... yes
checking for sqrtf... yes
checking for sincosf declaration... yes
checking for uintptr_t... yes
checking for sincosf... yes
checking for pid_t... yes
checking for finitef declaration... yes
checking for finitef... yes
checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
yes
checking for long double trig functions... yes
checking for acosl... yes
make[1]: *** [configure-target-libiberty] Error 1
make[1]: *** Waiting for unfinished jobs....
checking for asinl... yes
checking for atanl... yes

[..]

checking whether the /temp/cschwan/gentoo/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc -B/temp/cschwan/gentoo/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/ -B/temp/cschwan/gentoo/usr/i686-pc-linux-gnu/bin/ -B/temp/cschwan/gentoo/usr/i686-pc-linux-gnu/lib/ -isystem /temp/cschwan/gentoo/usr/i686-pc-linux-gnu/include -isystem /temp/cschwan/gentoo/usr/i686-pc-linux-gnu/sys-include  -m64 linker (/temp/cschwan/gentoo/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/collect-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/temp/cschwan/gentoo/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
make: *** [bootstrap-lean] Error 2
emake failed

Note that I tried with the default USE-flags first and disabled a lot after I read http://en.gentoo-wiki.com/wiki/Paludis/AVR_Crossdev (scroll down to "Problems you might face") but that did not change anything.

Reproducible: Always

Steps to Reproduce:
USE="-fortran -mudflap -openmp -nptl" emerge -1 =sys-devel/gcc-4.5.3-r1



Portage 2.2.01.20153-prefix (prefix/linux/x86, gcc-4.2.4, unavailable, 2.6.26-2-686 i686)
=================================================================
System uname: Linux-2.6.26-2-686-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-debian-5.0.9
Timestamp of tree: Tue, 14 Feb 2012 08:41:40 +0000
app-shells/bash:      4.2_p20
dev-lang/python:      2.7.2-r3
dev-util/cmake:       2.8.7-r3
dev-util/pkgconfig:   0.26
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/binutils:   2.22
sys-devel/gcc:        4.2.4-r01.4
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool:    2.4-r4
sys-devel/make:       3.82
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/temp/cschwan/gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/temp/cschwan/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/temp/cschwan/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/temp/cschwan/gentoo/var/tmp"
PORTDIR="/temp/cschwan/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="berkdb bzip2 cli cracklib crypt cxx dri gdbm iconv ipv6 modules ncurses nptlonly pcre pppd prefix readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christopher Schwan 2012-02-14 10:57:13 UTC
Created attachment 301895 [details]
build log