Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167684 - eix compile fails under gcc-4.1.1?
Summary: eix compile fails under gcc-4.1.1?
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 20:56 UTC by Dustin J. Mitchell
Modified: 2007-02-19 21:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin J. Mitchell 2007-02-19 20:56:14 UTC
I'm sure this is something fairly trivial, but I don't have a good handle on how the toolchain works "under the hood" (pointers to nice overview-y documentation, rather than the gcc source, would be appreciated), so I'm not sure how to proceed.  I'm upgrading to gcc-4.1.1, following http://www.gentoo.org/doc/en/gcc-upgrading.xml, and choosing the re-merge-everything option (to catch any problems like this now, rather than be puzzled later).  eix fails to merge:

make[2]: Entering directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9/manpage'
sed -e 's/$Date:[^,]*, *\([^)]*\)[^\$]*\$/\1/' \
            -e "s,\@PACKAGE_STRING\@,eix 0.7.9," \
            -e "s,\@EIX_CACHEFILE\@,/var/cache/eix," \
            -e "s,\@EIX_WIKI\@,http://dev.croup.de/proj/eix," \
            -e "s,\@LEVENSHTEIN_DISTANCE\@,2," \
            -e "s,\@PORTDIR_CACHE_METHOD\@,metadata," \
            -e 's,\([BI]\)<\([^>]\+\)>,\\f\1\2\\fR,g' ./eix.1.in > eix.1
make[2]: Leaving directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9/manpage'
Making all in contrib
make[2]: Entering directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9/contrib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9/contrib'
make[2]: Entering directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9'
make[2]: Leaving directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9'
make[1]: Leaving directory `/var/tmp/portage/app-portage/eix-0.7.9/work/eix-0.7.9'
src/eix: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by src/eix)

!!! ERROR: app-portage/eix-0.7.9 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1276:   Called src_compile
  eix-0.7.9.ebuild, line 20:   Called die

foo # gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.6
 [2] x86_64-pc-linux-gnu-3.4.6-hardened
 [3] x86_64-pc-linux-gnu-3.4.6-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.6-hardenednossp
 [6] x86_64-pc-linux-gnu-4.1.1 *

This is after I've run fix_libtool_files.sh; each time I run it, it gives:
foo # fix_libtool_files.sh 3.4.6
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/10] Scanning /lib ...
 *   [2/10] Scanning /usr/lib ...
 *   [3/10] Scanning /lib32 ...
 *   [4/10] Scanning /lib64 ...
 *   [5/10] Scanning /usr/lib32 ...
 *   [6/10] Scanning /usr/lib64 ...
 *     FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libg2c.la ...[]
 *     FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.la ...[]
 *     FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libsupc++.la ...[]
 *   [7/10] Scanning /usr/local/lib ...
 *   [8/10] Scanning /usr/local/lib32 ...
 *   [9/10] Scanning /usr/local/lib64 ...
 *   [10/10] Scanning /usr/x86_64-pc-linux-gnu/lib ...

Portage 2.1.2-r9 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.15-gentoo-r72006040301 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r72006040301 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System release 1.12.8
Timestamp of tree: Mon, 19 Feb 2007 19:20:01 +0000
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="alsa amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri eds encode foomaticdb fortran gif gpm iconv imlib ipv6 isdnlog jpeg lzw lzw-tiff midi ncurses nls nptl nptlonly opengl pam pcre perl png pppd python qt3 qt4 readline reflection session spell spl ssl tcpd threads tiff truetype-fonts type1-fonts usb vhosts xml xml2 xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv 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_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-19 21:16:48 UTC

*** This bug has been marked as a duplicate of bug 64615 ***