Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43598 - emerge x11-libs/gtk+-2.2.4-r1 fails - ICE in gcc
Summary: emerge x11-libs/gtk+-2.2.4-r1 fails - ICE in gcc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: PPC Linux
: Highest critical (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-03 06:07 UTC by Joshua Root
Modified: 2004-06-23 02:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
preprocessed source (gtkrc.c,642.64 KB, text/plain)
2004-03-03 06:10 UTC, Joshua Root
Details
emerge --info output (info.txt,1.66 KB, text/plain)
2004-03-03 06:11 UTC, Joshua Root
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Root 2004-03-03 06:07:36 UTC
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.
Comment 1 Joshua Root 2004-03-03 06:10:14 UTC
Created attachment 26764 [details]
preprocessed source
Comment 2 Joshua Root 2004-03-03 06:11:05 UTC
Created attachment 26765 [details]
emerge --info output
Comment 3 Joshua Root 2004-03-09 08:31:17 UTC
It turns out that this is a gcc optimisation bug. Recompiling glibc without -frename-registers made the ICE go away.
Comment 4 Joshua Root 2004-06-23 02:29:06 UTC
Too high CFLAGS were to blame, and that version of GCC isn't in use anymore. Marking WFM.