i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gnome-1.0 -I/usr/include/freetype2 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml -I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include -I/usr/include -I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -D_REENTRANT -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wunused -c gtkextext.c gtkextext.c: In function `find_cursor': gtkextext.c:3870: Unable to generate reloads for: (insn 446 444 451 (parallel[ (set (reg:SI 6 %ebp) (fix:SI (fix:DF (reg/v:DF 23)))) (clobber (mem:HI (plus:SI (reg:SI 6 %ebp) (const_int -2 [0xfffffffe])) 0)) (clobber (mem:HI (plus:SI (reg:SI 6 %ebp) (const_int -4 [0xfffffffc])) 0)) (clobber (mem:SI (plus:SI (reg:SI 6 %ebp) (const_int -8 [0xfffffff8])) 0)) (clobber (scratch:HI)) ] ) 149 {fix_truncdfsi2+1} (insn_list 444 (nil)) (expr_list:REG_DEAD (reg/v:DF 23) (expr_list:REG_UNUSED (scratch:HI) (nil)))) cpp0: output pipe has been closed make[3]: *** [gtkextext.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/glimmer-1.2.1/work/glimmer-1.2.1/src/gtkextext' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glimmer-1.2.1/work/glimmer-1.2.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glimmer-1.2.1/work/glimmer-1.2.1' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 15, Exitcode 2 !!! (no error message)
are you using GCC-3.1?
I use gcc-2.95.3-r5
Um.... searching... I have found something about a gcc bug. http://gcc.gnu.org/ml/gcc-bugs/1999-10n/msg00842.html Try to relax -O3 to -O2 and the rest of CFLAGS ( don't use fomit-frame-pointer and so... ) Thx, slt
ok, it works with -O2 thx
Stroke, put some comments in the ebuild, saying that -O3 and (...) could break the building. As more ppl reporting this bug, we could have more info. Slt! Happy Gentooing!
We can use the flag-o-matic.eclass to change -O3 to -O2 :] Stroke you? or me? ;)
Yeah go ahead. I'll try to build glimmer with different optimization levels and see If I can reproduce this kind of error someway. Since i can build it with no problem, using -O3 -funroll-loops -fomit-pointers and other fency opt. too.
Im having trouble with the glimmer ebuild as well but it doesnt even start compiling.. but i changed the opts to -02 anyway. Im using gcc-3.1.1 # emerge glimmer Calculating dependencies ...done! >>> emerge dev-util/glimmer-1.2.1-r1 to / >>> md5 ;-) glimmer-1.2.1.tar.gz >>> Unpacking source... >>> Unpacking glimmer-1.2.1.tar.gz >>> Source unpacked. mv: cannot stat `src/gtkextext/gtkextext.h': No such file or directory /usr/sbin/ebuild.sh: src/gtkextext/gtkextext.h: No such file or directory mv: cannot stat `src/Makefile.am': No such file or directory /usr/sbin/ebuild.sh: src/Makefile.am.grep: No such file or directory /usr/sbin/ebuild.sh: src/Makefile.am: No such file or directory automake: `configure.ac' or `configure.in' is required !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -180, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/dev-util/glimmer/glimmer-1.2.1-r1.ebuild
I upped the revision to r5 and fixed some build problems. Added python USE flag again. Please test.
*** Bug 8739 has been marked as a duplicate of this bug. ***
Well, i heard no complaints.. gonna take the step and unmask it.