This is different from bug 21277, I don't get an error about PNGs and I do not have gcc-3.3 installed... This is with gtk+-2.2.1 which seems to be Gentoo's stable gtk+ version. These are the messages including the error, and below I also append the output of "emerge info": creating gtk-demo make[3]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos/gtk-demo' make[3]: Entering directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos' (topdir=`cd .. && pwd` ; curdir=`pwd` ; \ cd . && \ GDK_PIXBUF_MODULE_FILE=$topdir/gdk-pixbuf/gdk-pixbuf.loaders $topdir/gdk-pixbuf/gdk-pixbuf-csource --build-list \ apple_red apple-red.png gnome_foot gnome-foot.png >$curdir/test-inline-pixbufs.h || (rm -f $curdir/test-inline-pixbufs.h && false)) make[3]: *** [test-inline-pixbufs.h] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-libs/gtk+-2.2.1 failed. !!! Function src_compile, Line 64, Exitcode 2 !!! (no error message) Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Celeron (Mendocino) GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" 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 crypt encode foomaticdb gif imlib java jpeg libg++ libwww mad mmx motif mpeg ncurses oggvorbis pdflib png quicktime sdl slang spell truetype xml2 zlib gdbm berkdb readline X gpm tcpd pam ssl perl python opengl gtk gnome bonobo -kde -qt -nls -3dnow -cups -avi esd -arts apm -svga -mikmod xv xmms -emacs -curl -cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
can you attach a bigger blurb of output ?
Created attachment 14921 [details] all the emerge output
Not sure what you want to find in there, though... I have also tried to run the problematic command manually: root # /var/tmp/portage/gtk+-2.2.1/work/gtk+-2.2.1/demos demos # GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders ../gdk-pixbuf/gdk-pixbuf-csource --build-list apple_red apple-red.png gnome_foot gnome-foot.png Illegal instruction Hmm, see anything wrong in my emerge settings? "-march=pentium2" can't be too wrong for the Mendocino??
i don't know, try something more conservative like -march i686 or i486
No, still the same error with CHOST="i386-pc-linux-gnu" CFLAGS="-march=i386 -pipe" Any other ideas short of recompiling everything with these settings?
I re-emerged libpng using CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -mmmx -mno-sse -mno-sse2 -mno-3dnow -fomit-frame-pointer -O3 -pipe" before compiling gtk+ _again_, and now it worked. GCC seems to assume these extra features for a PII while my Mendocino does not have them, and it seems that libpng (whose lib the GTK+ compile uses) actually uses one of these features...
optimizations problem, closing. I suggest stop using pentium2 for arch, cause it might trigger more problems.