Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101177 - emerge firefox fails with internal compiler error
Summary: emerge firefox fails with internal compiler error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High blocker (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 02:50 UTC by Alexander Meyer
Modified: 2005-08-03 06:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Meyer 2005-08-03 02:50:51 UTC
when trying to emerge either mozilla-firefox-1.0.6-r2 or
mozilla-firefox-1.0.6-r3, emerge fails with the following error message:

powerpc-unknown-linux-gnu-g++: Internal error: Killed (program cc1plus)


Reproducible: Always
Steps to Reproduce:
1. emerge mozilla-firefox
2. wait
3. see

Actual Results:  
[...]
gmake[4]: Entering directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dom/src/base'
nsDOMClassInfo.cpp
powerpc-unknown-linux-gnu-g++ -o nsDOMClassInfo.o -c -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -D_IMPL_NS_LAYOUT -I./../events -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/webbrwsr
-I../../../dist/include/commandhandler -I../../../dist/include/js
-I../../../dist/include/widget -I../../../dist/include/gfx
-I../../../dist/include/layout -I../../../dist/include/content
-I../../../dist/include/caps -I../../../dist/include/docshell
-I../../../dist/include/xpconnect -I../../../dist/include/pref
-I../../../dist/include/oji -I../../../dist/include/necko
-I../../../dist/include/mimetype -I../../../dist/include/java
-I../../../dist/include/locale -I../../../dist/include/uriloader
-I../../../dist/include/xuldoc -I../../../dist/include/webshell
-I../../../dist/include/view -I../../../dist/include/uconv
-I../../../dist/include/shistory -I../../../dist/include/plugin
-I../../../dist/include/windowwatcher -I../../../dist/include/chardet
-I../../../dist/include/find -I../../../dist/include/appshell
-I../../../dist/include/intl -I../../../dist/include/unicharutil
-I../../../dist/include/rdf -I../../../dist/include/xultmpl
-I../../../dist/include/dom -I../../../dist/include
-I/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dist/include/nspr     
  -fPIC   -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -pipe -Wno-deprecated -Wno-return-type -w
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  
-DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsDOMClassInfo.pp nsDOMClassInfo.cpp
powerpc-unknown-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
gmake[4]: *** [nsDOMClassInfo.o] Error 1
gmake[4]: *** Deleting file `nsDOMClassInfo.o'
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dom/src/base'
{standard input}: Assembler messages:
{standard input}:29282: Warning: end of file not at end of a line; newline inserted
{standard input}:30197: Error: unrecognized symbol type ""
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dom/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dom'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla'
make: *** [default] Error 2
[...]

Expected Results:  
build firefox and install it

Portage 2.0.51.22-r2 (default-linux/ppc/2004.2, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 ppc)
=================================================================
System uname: 2.6.12-gentoo-r6 ppc 7450, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://www.fhh.opensource-mirror.de/gentoo.org/
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/
rsync://rsync.fhh.opensource-mirror.de/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib airport alsa altivec bash-completion berkdb bitmap-fonts
browserplugin bzip2 calendar cdparanoia cdr crypt cscope cups curl decss dga
directfb dvd dvdread emboss encode ethereal fam fbcon ffmpeg font-server fortran
gb gd gdbm gif gpg gphoto2 gtk gtk2 ieee1394 imagemagick imap imlib ipv6 jack
java jpeg lcms ldap libg++ libwww lirc maildir mbox mikmod motif mozcalendar
mozdevelop mozilla mozsvg mp3 mpeg mysql nas nasm ncurses network nls nntp
offensive ogg oggvorbis opengl pam pcmcia pcsc-lite pda pdflib perl png pnp
python qt readline samba sdl slang smartcard snmp spell ssl tcl tcltk tcpd tex
theora tiff tk truetype truetype-fonts type1-fonts unicode userlocales vorbis
wifi xine xml xml2 xmms xprint xv xvid zlib video_cards_radeon userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-03 06:24:19 UTC
Most likely you ran out of memory or your hardware is broken (bad ram,
overheating box,...).


ppc herd, known problem? Are the compiler flags sane?
Comment 2 David Holm (RETIRED) gentoo-dev 2005-08-03 06:30:22 UTC
Make sure that if you enabled preempt in your kernel you _also enabled SMP_
(even if you only have _one_ cpu!) otherwise you will get lots of strange
behaviour like this one.
Adding '-fno-strict-aliasing' to CFLAGS is also a good idea.
Comment 3 Alexander Meyer 2005-08-03 06:55:39 UTC
> Most likely you ran out of memory

yes i did.
guess how stupid i felt when i discovered all the oomkills in dmesg...