powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I./widgets -I./dialogs -I./tools -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/libgoffice-1 -I/usr/include/gtk-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-module-2.0 -O3 -mcpu=G4 -pipe -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-declarations -MT stf.lo -MD -MP -MF .deps/stf.Tpo -c stf.c -fPIC -DPIC -o .libs/stf.o stf.c:285:2: warning: #warning Add UI for this powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I./widgets -I./dialogs -I./tools -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/libgoffice-1 -I/usr/include/gtk-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-module-2.0 -O3 -mcpu=G4 -pipe -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-declarations -MT stf-export.lo -MD -MP -MF .deps/stf-export.Tpo -c stf-export.c -fPIC -DPIC -o .libs/stf-export.o powerpc-unknown-linux-gnu-gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. {standard input}: Assembler messages: {standard input}:0: Warning: end of file not at end of a line; newline inserted {standard input}:1115: Error: syntax error; found ` make[4]: *** [stf.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/gnumeric-1.6.1/work/gnumeric-1.6.1/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.6.1/work/gnumeric-1.6.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.6.1/work/gnumeric-1.6.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.6.1/work/gnumeric-1.6.1'make: *** [all] Error 2 Symptoms are that gcc blows up, taking all memory & swap and dying from out-of-memory. Changing -O3 to -O2 makes it compile OK.
Please post your emerge info: powerpc-unknown-linux-gnu-gcc: Internal error: Killed (program cc1) We'll need to find out if this is ppc specific.
Portage 2.1_pre3-r1 (default-linux/ppc/2006.0/ppc32/G4, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 ppc) ================================================================= System uname: 2.6.15-gentoo-r1 ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre15 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=G4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy digest distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB" LINGUAS="en_GB en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/srv/gentoo/trees/gentopia /srv/gentoo/trees/minerva.catmur.co.uk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X a52 aac accessibility alsa altivec apm artworkextra audiofile avahi bash-completion berkdb bitmap-fonts bookmarks bzip2 cairo cdr cdrom crypt cups daap dbus dvd dvi eds emboss encode esd exif expat fam firefox flac foomaticdb fortran gdbm gif glut gnome gpm grammar graphviz gs gstreamer gtk gtk2 gtkhtml guile hal hddtemp howl ibam idn imagemagick imlib ipod ipv6 java javascript jpeg lcms libg++ libwww mad math mikmod mng mono motif mozdevelop mozsvg mp3 mpeg musicbrainz nautilus ncurses nls nptl nptlonly nsplugin offensive ogg opengl pam pam_console pda pdf pdflib perl png python quicktime readline ruby samba sdl spell sqlite ssl svg tagwriting tcpd tetex theora thesaurus tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf wordperfect xml xml2 xv zlib elibc_glibc kernel_linux linguas_en_GB linguas_en userland_GNU" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
I can reproduce this with gcc-3.4.6 and gnumeric-1.6.3. I'm testing with gcc-4.1 to see if it's still a problem with that. Either way, I'm fine with forcing -O3 to -O2 on ppc if you're okay with it.
It doesn't happen with 4.1. What would you like to do? I'd suggest replacing it with a comment that suggests to remove the replacement when 4.1 is stable. Okay?
Seems to be ppc-specific since i've built mine with -O3 on x86. I say go for it Joe.
Since we've marked gcc-4.1.1, this bug is essentially squashed. :) Thanks!