emerge kportage ends in the following compile error: libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' make.conf holds the following variable: CHOST="i686-pc-linux-gnu" an i686 gcc is present: ayanami portage # ls /usr/lib/gcc-lib i686-pc-linux-gnu Reproducible: Always Steps to Reproduce: emerge kportage Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-wolk4.0s-pre-final i686 Intel(R) Celeron(R) CPU 1.80GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline svga java guile X sdl gpm tcpd pam ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl scanner alsa -arts dvd evo fbcon ggi gtk2 jikes matrox mozilla perl samba sse tcltk usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox buildpkg"
try this source /etc/profile if still fail this source /etc/profile && ldconfig gcc-config i686-pc-linux-gnu-3.2.2 and if still fail this cd /usr/portage/sys-devel/gcc/files/ ./fix_libtool_files.sh 3.2.1 (3.2.1 = old gcc version)
http://www.gentoo.org/doc/en/upgrade-to-gentoo-1.4.xml http://cvs.gentoo.org/~carpaski/system_update/ (ChangeLog update-step1.sh update-step3.sh README.txt update-step2.sh update-step4.sh) watch out bug #15025 & bug #14350 & all duplicates for help *** This bug has been marked as a duplicate of 15025 ***
He switched CHOST. The fix for the .la files wont work .. he will have to edit the .la manually, or remerge that package ...