Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180860 - sys-devel/gcc-4.1.2 compile fails - invalid feature name: __cxa_atexit
Summary: sys-devel/gcc-4.1.2 compile fails - invalid feature name: __cxa_atexit
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-04 14:44 UTC by Jens Gutzeit
Modified: 2007-12-07 03:11 UTC (History)
0 users

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


Attachments
config log-file (config.log,4.77 KB, text/plain)
2007-06-04 20:46 UTC, Jens Gutzeit
Details
config.log of fixincludes (fixincludes-config.log,42.58 KB, text/plain)
2007-06-04 20:53 UTC, Jens Gutzeit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Gutzeit 2007-06-04 14:44:45 UTC
GCC compilation errors out with:

make[1]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[2]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
mkdir -p -- ./fixincludes
Configuring in ./fixincludes
configure: error: invalid feature name: __cxa_atexit
make[2]: *** [configure-fixincludes] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.

USE-Flags:
[ebuild     U ] sys-devel/gcc-4.1.2 [4.1.1-r3] USE="mudflap* (-altivec) -bootstrap -build -d% -doc -fortran -gcj -gtk (-hardened) (-ip28) (-ip32r10k) (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

In case this is important: I was doing an upgrade to 2007.0

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 14:53:41 UTC
emerge --info, please.
Comment 2 Jens Gutzeit 2007-06-04 15:01:00 UTC
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17.6-grsec i686)
=================================================================
System uname: 2.6.17.6-grsec i686 AMD Athlon(tm) XP 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 04 Jun 2007 09:20:01 +0000
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -fomit-frame-pointer -march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/ssh/moduli /etc/terminfo"
CXXFLAGS=" -fomit-frame-pointer -march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl bitmap-fonts cli cracklib dri iconv isdnlog jpeg json libg++ midi mudflap ncurses nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl tcpd truetype-fonts type1-fonts 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 SpanKY gentoo-dev 2007-06-04 20:01:49 UTC
what are you locale settings ?  post the output of `locale -a`

also, post the config.log files as attachments
Comment 4 Jens Gutzeit 2007-06-04 20:46:14 UTC
Created attachment 121195 [details]
config log-file
Comment 5 Jens Gutzeit 2007-06-04 20:47:06 UTC
locale -a
C
POSIX
de_DE
de_DE@euro
en_HK
en_PH
en_US
en_US.utf8
es_MX
fa_IR
fr_FR
fr_FR@euro
it_IT
ja_JP
ja_JP.eucjp
ja_JP.utf8
Comment 6 Jens Gutzeit 2007-06-04 20:53:06 UTC
Created attachment 121196 [details]
config.log of fixincludes

Sorry, the previous one was probaby not the right one. This is the config.log of the directory where the error occured.
Comment 7 SpanKY gentoo-dev 2007-06-04 21:27:22 UTC
sorry, i meant just `locale`, not `locale -a`
Comment 8 Jens Gutzeit 2007-06-04 21:28:51 UTC
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Comment 9 SpanKY gentoo-dev 2007-06-07 01:18:40 UTC
and what is your /bin/sh set to ?  `ls -l` it ...
Comment 10 Jens Gutzeit 2007-06-07 01:56:57 UTC
ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Jun  4 12:34 /bin/sh -> bash
Comment 11 Mark Loeser (RETIRED) gentoo-dev 2007-12-07 03:11:44 UTC
This has been lingering around for awhile with no duplicates being marked...are you still having this problem Jens?