Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140851 - toolchain.eclass overwrites native libstdc++ when using no-symlinks/no-lib32 profile.
Summary: toolchain.eclass overwrites native libstdc++ when using no-symlinks/no-lib32 ...
Status: RESOLVED DUPLICATE of bug 117875
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 15:54 UTC by erich f
Modified: 2006-07-18 00:42 UTC (History)
2 users (show)

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 erich f 2006-07-17 15:54:29 UTC
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/gcc-4.1.1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 1254:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1459:   Called gcc_do_configure
  toolchain.eclass, line 1259:   Called die

   An earlier GNU Bison warning may be related to this build error:


 * Please upgrade your package (bison-1.875) to use toolchain-funcs.eclass

QA Notice: ECLASS 'gcc' inherited illegally in sys-devel/bison-1.875

 * Please upgrade your package (bison-1.875) to use toolchain-funcs.eclass

QA Notice: ECLASS 'flag-o-matic' inherited illegally in sys-devel/bison-1.875


QA Notice: ECLASS 'eutils' inherited illegally in sys-devel/bison-1.875


QA Notice: ECLASS 'multilib' inherited illegally in sys-devel/bison-1.875


QA Notice: ECLASS 'portability' inherited illegally in sys-devel/bison-1.875


QA Notice: ECLASS 'toolchain-funcs' inherited illegally in sys-devel/bison-1.875


QA Notice: ECLASS 'gnuconfig' inherited illegally in sys-devel/bison-1.875


However, my system has the latest upgrade:

cbl ~ # emerge -p bison

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/bison-2.2 



Moreover, anything that needs libstdc++ is now hosed. For example:

erich@cbl ~ $ firefox &

erich@cbl ~ $ /usr/lib/mozilla-firefox/mozilla-xremote-client: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory.


cbl ~ # emerge --info
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-20050110, glibc-2.3.3.20040
420-r0, 2.6.11-rc5 i686)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.11-rc5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.3-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.10-r2
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shu
tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/shar
e/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-reb
uild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://206.75.217.181/ ftp://gentoo.mirrors.tds.net/gentoo http:/
/gentoo.mirrors.pair.com/"
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='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader
 dri dvb dvd dvdr eds emacs emboss encode esd foomaticdb fortran ftp gdbm gif gn
ome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod 
motif mozilla mp3 mpeg mysql mythtv ncurses nls nptl ogg opengl oss pam pcre pdf
lib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session so
ckets spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xin
e xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse k
ernel_linux userland_GNU"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXT
RA_OPTS


+++ This bug was initially created as a clone of Bug #117875 +++

There seems to be a problem with gcc_movelibs function in toolchain.eclass with regards to amd64's no-symlinks/no-lib32 profile. In this case we have that ${OS_MULTIDIR} for default abi is equal to ${MULTIDIR} for the alternate abi resulting in the native amd64 libs being overwritten by the x86 libs in gcc_movelibs (leaving in a faily broken system). This did actually work at one point and seems to have been broken by a recent cleanup of the gcc_movelibs function in toolchain.eclass.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 00:42:18 UTC

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