Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79470 - x11-libs/gtk+-2.4.14 compile fails with gcc-3.3.5
Summary: x11-libs/gtk+-2.4.14 compile fails with gcc-3.3.5
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-25 07:32 UTC by Max
Modified: 2005-07-17 13:06 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 Max 2005-01-25 07:32:28 UTC
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
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-25 07:50:57 UTC
please search

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