Merging of gtk+-2.2.4-r1 consistently fails. Here is the command line that immediately precedes the error and the output: /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.2.4\" -DGTK_BINARY_VERSION=\"2.2.0\" -DGTK_HOST=\"powerpc-unknown-linux-gnu\" -DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -O2 -frename-registers -pipe -mcpu=7400 -maltivec -mabi=altivec -mmultiple -mstring -Wall -c gtkrc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.2.4\" -DGTK_BINARY_VERSION=\"2.2.0\" -DGTK_HOST=\"powerpc-unknown-linux-gnu\" -DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -O2 -frename-registers -pipe -mcpu=7400 -maltivec -mabi=altivec -mmultiple -mstring -Wall -c gtkrc.c -fPIC -DPIC -o .libs/gtkrc.o gtkrc.c: In function `gtk_rc_context_parse_file': gtkrc.c:894: Internal compiler error in verify_local_live_at_start, at flow.c:586 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [gtkrc.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtk+-2.2.4-r1/work/gtk+-2.2.4/gtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtk+-2.2.4-r1/work/gtk+-2.2.4/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-2.2.4-r1/work/gtk+-2.2.4' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-libs/gtk+-2.2.4-r1 failed. !!! Function src_compile, Line 66, Exitcode 2 !!! (no error message) Changing to the appropriate directory and running the command manually does not produce the error. I will attach emerge --info output and preprocessed source momentarily.
Created attachment 26764 [details] preprocessed source
Created attachment 26765 [details] emerge --info output
It turns out that this is a gcc optimisation bug. Recompiling glibc without -frename-registers made the ICE go away.
Too high CFLAGS were to blame, and that version of GCC isn't in use anymore. Marking WFM.