When I tried to emerge mozilla-firefox on amd64 machine I got this error while compiling gtk+ 2.6.4: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-ani-animation.lo -MD -MP -MF .deps/io-ani-animation.Tpo -c io-ani-animation.c -fPIC -DPIC -o .libs/io-ani-animation.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -o libpixbufloader-ani.la-rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-ani.lo io-ani-animation.lo libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm libtool: link: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libglib-2.0.la' seems to be moved x86_64-pc-linux-gnu-gcc -shared .libs/io-ani.o .libs/io-ani-animation.o -Wl,--rpath -Wl,/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf/.libs -L/usr/lib -L/usr/lib64 ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -march=athlon64 -Wl,-soname -Wl,libpixbufloader-ani.so -o .libs/libpixbufloader-ani.so creating libpixbufloader-ani.la (cd .libs && rm -f libpixbufloader-ani.la && ln -s ../libpixbufloader-ani.la libpixbufloader-ani.la) if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-ras.lo -MD -MP -MF ".deps/io-ras.Tpo" \ -c -o io-ras.lo `test -f 'io-ras.c' || echo './'`io-ras.c; \ then mv -f ".deps/io-ras.Tpo" ".deps/io-ras.Plo"; \ else rm -f ".deps/io-ras.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-ras.lo -MD-MP -MF .deps/io-ras.Tpo -c io-ras.c -fPIC -DPIC -o .libs/io-ras.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -o libpixbufloader-ras.la-rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-ras.lo libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm libtool: link: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libglib-2.0.la' seems to be moved x86_64-pc-linux-gnu-gcc -shared .libs/io-ras.o -Wl,--rpath -Wl,/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf/.libs -L/usr/lib -L/usr/lib64 ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -march=athlon64 -Wl,-soname -Wl,libpixbufloader-ras.so -o .libs/libpixbufloader-ras.so creating libpixbufloader-ras.la (cd .libs && rm -f libpixbufloader-ras.la && ln -s ../libpixbufloader-ras.la libpixbufloader-ras.la) if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-xpm.lo -MD -MP -MF ".deps/io-xpm.Tpo" \ -c -o io-xpm.lo `test -f 'io-xpm.c' || echo './'`io-xpm.c; \ then mv -f ".deps/io-xpm.Tpo" ".deps/io-xpm.Plo"; \ else rm -f ".deps/io-xpm.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-xpm.lo -MD-MP -MF .deps/io-xpm.Tpo -c io-xpm.c -fPIC -DPIC -o .libs/io-xpm.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -o libpixbufloader-xpm.la-rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-xpm.lo libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm libtool: link: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libglib-2.0.la' seems to be moved x86_64-pc-linux-gnu-gcc -shared .libs/io-xpm.o -Wl,--rpath -Wl,/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf/.libs -L/usr/lib -L/usr/lib64 ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -march=athlon64 -Wl,-soname -Wl,libpixbufloader-xpm.so -o .libs/libpixbufloader-xpm.so creating libpixbufloader-xpm.la (cd .libs && rm -f libpixbufloader-xpm.la && ln -s ../libpixbufloader-xpm.la libpixbufloader-xpm.la) if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-tiff.lo -MD -MP -MF ".deps/io-tiff.Tpo" \ -c -o io-tiff.lo `test -f 'io-tiff.c' || echo './'`io-tiff.c; \ then mv -f ".deps/io-tiff.Tpo" ".deps/io-tiff.Plo"; \ else rm -f ".deps/io-tiff.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-tiff.lo -MD -MP -MF .deps/io-tiff.Tpo -c io-tiff.c -fPIC -DPIC -o .libs/io-tiff.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -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/x86_64-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory /bin/sed: //usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la ni mo
When I tried to emerge mozilla-firefox on amd64 machine I got this error while compiling gtk+ 2.6.4: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-ani-animation.lo -MD -MP -MF .deps/io-ani-animation.Tpo -c io-ani-animation.c -fPIC -DPIC -o .libs/io-ani-animation.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -o libpixbufloader-ani.la-rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-ani.lo io-ani-animation.lo libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm libtool: link: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libglib-2.0.la' seems to be moved x86_64-pc-linux-gnu-gcc -shared .libs/io-ani.o .libs/io-ani-animation.o -Wl,--rpath -Wl,/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf/.libs -L/usr/lib -L/usr/lib64 ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -march=athlon64 -Wl,-soname -Wl,libpixbufloader-ani.so -o .libs/libpixbufloader-ani.so creating libpixbufloader-ani.la (cd .libs && rm -f libpixbufloader-ani.la && ln -s ../libpixbufloader-ani.la libpixbufloader-ani.la) if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-ras.lo -MD -MP -MF ".deps/io-ras.Tpo" \ -c -o io-ras.lo `test -f 'io-ras.c' || echo './'`io-ras.c; \ then mv -f ".deps/io-ras.Tpo" ".deps/io-ras.Plo"; \ else rm -f ".deps/io-ras.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-ras.lo -MD-MP -MF .deps/io-ras.Tpo -c io-ras.c -fPIC -DPIC -o .libs/io-ras.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -o libpixbufloader-ras.la-rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-ras.lo libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm libtool: link: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libglib-2.0.la' seems to be moved x86_64-pc-linux-gnu-gcc -shared .libs/io-ras.o -Wl,--rpath -Wl,/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf/.libs -L/usr/lib -L/usr/lib64 ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -march=athlon64 -Wl,-soname -Wl,libpixbufloader-ras.so -o .libs/libpixbufloader-ras.so creating libpixbufloader-ras.la (cd .libs && rm -f libpixbufloader-ras.la && ln -s ../libpixbufloader-ras.la libpixbufloader-ras.la) if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-xpm.lo -MD -MP -MF ".deps/io-xpm.Tpo" \ -c -o io-xpm.lo `test -f 'io-xpm.c' || echo './'`io-xpm.c; \ then mv -f ".deps/io-xpm.Tpo" ".deps/io-xpm.Plo"; \ else rm -f ".deps/io-xpm.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-xpm.lo -MD-MP -MF .deps/io-xpm.Tpo -c io-xpm.c -fPIC -DPIC -o .libs/io-xpm.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -o libpixbufloader-xpm.la-rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-xpm.lo libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm libtool: link: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib64/libglib-2.0.la' seems to be moved x86_64-pc-linux-gnu-gcc -shared .libs/io-xpm.o -Wl,--rpath -Wl,/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf/.libs -L/usr/lib -L/usr/lib64 ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm -march=athlon64 -Wl,-soname -Wl,libpixbufloader-xpm.so -o .libs/libpixbufloader-xpm.so creating libpixbufloader-xpm.la (cd .libs && rm -f libpixbufloader-xpm.la && ln -s ../libpixbufloader-xpm.la libpixbufloader-xpm.la) if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-tiff.lo -MD -MP -MF ".deps/io-tiff.Tpo" \ -c -o io-tiff.lo `test -f 'io-tiff.c' || echo './'`io-tiff.c; \ then mv -f ".deps/io-tiff.Tpo" ".deps/io-tiff.Plo"; \ else rm -f ".deps/io-tiff.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DHOST=\"x86_64-pc-linux-gnu\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -Wall -MT io-tiff.lo -MD -MP -MF .deps/io-tiff.Tpo -c io-tiff.c -fPIC -DPIC -o .libs/io-tiff.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -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/x86_64-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory /bin/sed: //usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la ni mono prebrati: No such file or directory libtool: link: `//usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la' is not a valid libtool archive make[4]: *** [libpixbufloader-tiff.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk-pixbuf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4' make: *** [all] Error 2 !!! ERROR: x11-libs/gtk+-2.6.4 failed. !!! Function src_compile, Line 80, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r5 x86_64) ================================================================= System uname: 2.6.10-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 6 2005, 16:22:42)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/cursors/xorg-x11/default /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="sl_SI" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/portageoverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr encode esd exif f77 fam fbcon flac font-server foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jabber jp2 jpeg kde libwww lzw lzw-tiff mad mikmod motif mozilla mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba scanner sdl slang slp speex spell ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos xml xml2 xmms xosd xpm xprint xrandr xv xvid zlib linguas_en linguas_sl" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS Reproducible: Always Steps to Reproduce: 1. emerge -auvD mozilla-firefox Actual Results: Compilation fails. Expected Results: It should compile without error.
dunno why this was punted to gnome while it's most likely a gcc thing ? I bet you guys know more how to handle that than us.
I had the same problem. It came up after having upgraded gcc to sys-devel/gcc-3.4.3.20050110 (during an emerge -uD world). It seems that the GTK+ ebuild looks for '/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la' but the gcc ebuild put it in '/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/libstdc++.la'. I solved the problem (temporarily, there should be a better solution) by symlinking '/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/' to '/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/'.
Thanks Nathan. That was the problem. I also upgraded to new GCC and there was no symlink (or the folder should only be named 3.4.3). It works just fine now. Thanks again!
running: # fix_libtool_files.sh 3.4.3 should fix this problem for you (creating that symlink is a workaround not a solution). Although shouldn't this get run automatically when gcc is upgraded?
Thanks for more info Herbie. If this should be run after the upgrade then I guess it would be best to make it so that ebuild does it for us. Or at least there should be a list in the documentation of Gentoo that lists all the scripts that need to be run when you upgrade a specific package.
gcc-3.4.3.ebuild seems to have some logic in the pkg_postinst that runs fix_libtool_files.sh. This seems to have been removed from gcc-3.4.3-r1.ebuild and gcc-3.4.3.20050110.ebuild. Any reason why?
Created attachment 53274 [details, diff] patch to fix running of fix_libtool_files.sh by toolchain.eclass Please ignore my comment #6 (pkg_postinst just got moved from the ebuild to the eclass). fix_libtool_files.sh is not getting run from an upgrade from 3.4.3 to 3.4.3.20050110 due to a test in pkg_preinst (in toolchain.eclass) designed to detect if upgrading from one gcc revision to another (i.e where the gcc version does not change). This very small patch should allow this to be run under this circumstance.
since the patch affects toolchain.eclass, i think it's better to reassign this bug
*** Bug 86229 has been marked as a duplicate of this bug. ***
and to rename it...
Furthermore, fix_libtool_files.sh doesn't work when used with the proper version tag of gcc on my system. phi / # /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.4.3 * Scanning libtool files for hardcoded gcc library paths... * [1/15] Scanning /lib ... [... Interrupted] phi / # /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.4.3-20050110 * Scanning libtool files for hardcoded gcc library paths... phi / # Looks like it or the underlying fixlafiles.awk needs some loving...
*** Bug 86289 has been marked as a duplicate of this bug. ***
*** Bug 86319 has been marked as a duplicate of this bug. ***
Kugelfang, I think that's actually the intended behavior: # Nothing to do ? if ((OLDVER == NEWVER) && (OLDCHOST == "")) exit 0 i.e I don't think there is a problem with fixlafiles.awk. However when upgrading from 3.4.3-20050110 it looks like toolchain.eclass is going to run "fix_libtool_files.sh 3.4.3.20050110" which is incorrect (since toolchan.eclass uses the portage version and not the actual gcc version string). So this problem will come back to haunt us when the next version is in portage.
*** Bug 86356 has been marked as a duplicate of this bug. ***
Its been 'fix' another way - please sync and test if need be. Kugelfang, it wont work if you run it with version of the current gcc.
Yes, that's a much saner way of doing things ;-) One thing, is this a typo? - [[ -z ${BRANCH_UPDATE} ]] || /sbin/fix_libtool_files.sh ${BRANCH_UPDATE} + [[ -z ${BRANCH_UPDATE} ]] || /sbin/fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE} or did I miss something?
Yeah, thanks.
*** Bug 86546 has been marked as a duplicate of this bug. ***
*** Bug 86595 has been marked as a duplicate of this bug. ***
*** Bug 86603 has been marked as a duplicate of this bug. ***
*** Bug 86615 has been marked as a duplicate of this bug. ***
Looking at the bug number of reports the kde herd had I noticed that the call to fix_libtool_files.sh was dropped (probably by mistake) in the latest gcc ebuilds. Can someone of the toolchain herd fix this until a better solution to fix_libtool_files.sh is ready? thanks!
*** Bug 86719 has been marked as a duplicate of this bug. ***
*** Bug 86811 has been marked as a duplicate of this bug. ***
*** Bug 87120 has been marked as a duplicate of this bug. ***
Created attachment 54777 [details, diff] patch to fix typo in toolchain.eclass Finaly got around to testing this. Found another small typo. Once this is fixed it seems to work as expected.
*** Bug 87169 has been marked as a duplicate of this bug. ***
*** Bug 87279 has been marked as a duplicate of this bug. ***
Not my typo, but fixed.
Sorry to be slow, but what do I need to do to get it fixed on my system?
Chris: Simply run # fix_libtool_files.sh <old-gcc-version> i.e in your case run # fix_libtool_files.sh 3.4.3 This is now fixed so that users upgrading now will have this run automatically but if you've already upgraded then running it manually is the best option.
*** Bug 88288 has been marked as a duplicate of this bug. ***
*** Bug 88497 has been marked as a duplicate of this bug. ***
*** Bug 88602 has been marked as a duplicate of this bug. ***
*** Bug 89408 has been marked as a duplicate of this bug. ***
*** Bug 89343 has been marked as a duplicate of this bug. ***
*** Bug 92442 has been marked as a duplicate of this bug. ***
This is also broken when building the latest (as of 15 May 2005) cdk. I had to create a symlink manually after the cdk part of my emerge world flunked.
*** Bug 94215 has been marked as a duplicate of this bug. ***
*** Bug 94935 has been marked as a duplicate of this bug. ***
ok, i still have got the same problem here, wehn i try to emerge kuickshow. i get thie error message: **snipp** mv -f .libs/io-jpeg.lo io-jpeg.lo /bin/sh ../libtool --mode=link gcc -march=pentium4 -O3 -pipe -o libimlib-jpeg.la -rpath /usr/lib -avoid-version io-jpeg.lo -ljpeg libgdk_imlib.la grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la: No such file or directory sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la' is not a valid libtool archive make[2]: *** [libimlib-jpeg.la] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14/gdk_imlib' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14' make: *** [all-recursive-am] Fehler 2 !!! ERROR: media-libs/imlib-1.9.14-r3 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. **snap** it seems like gcc-3.3.5-20050130 was previously installed. ls /usr/lib/gcc-lib/i686-pc-linux-gnu/ tells me: 3.3.6 so i did a fix_libtool_files.sh 3.4.3, which did some positiv looking output.. but retring to emerge gets me to the same point :-( i even created that link mentioned above -> no chage... i dont know ehat to do anymore - maybe someone can help me??? thx in advance, svenna