I recently upgraded from gcc-3.3.4 to gcc-3.3.5. I now ran an emerge -u world, in the course of which emerge tries to compile gtk+-2.4.14 I am getting the following compile error: /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -Wall -o libpixbufloader-tiff.la -rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-tiff.lo -ltiff libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive It appears that libtool is trying to link against the wrong libstdc++ version (should link against /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la) This is strange: I checked my /etc/env.d/05gcc, made sure that all references to 3.3.4 are deleted from that file, run env-udpate, made sure there was no reference to 3.3.4 directories in /etc/ld.so.conf and re-emerged libtool after this for good measure. gcc-config -c produces "i686-pc-linux-gnu-3.3.5" as well. For some reason, the ebuild/configure process still wants to use 3.3.4. I tried grepping for 3.3.4 in the build directory (I though maybe it is in the configure script somewhere), it turns out it is somewhere in gdk-pixbuf (also evident from the output above). Emerging gdk-pixbuf produces the following error: /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -o libpixbufloader-tiff.la -rpath /usr/lib/gdk-pixbuf/loaders -module -avoid-version io-tiff.lo -ltiff libgdk_pixbuf.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive Any ideas as to why that may be the case? Thanks. Max
please search *** This bug has been marked as a duplicate of 73435 ***