emerge error: x86_64-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus) Reproducible: Always Steps to Reproduce: emerge Actual Results: x86_64-pc-linux-gnu-g++ -o xpcstring.o -c -I../../../../dist/system_wrappers -include ../../../../config/gcc_hidden.h -DXPC_TOOLS_SUPPORT -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DJSFILE -DJS_THREADSAFE -DEXPORT_XPC_API -I./../loader -I../../../../js/src -I../../../../js/src/nanojit -I. -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -fPIC -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -march=native -pipe -ggdb -mno-tls-direct-seg-refs -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/xpcstring.pp xpcstring.cpp {standard input}: Assembler messages: {standard input}:1858: Warning: end of file not at end of a line; newline inserted x86_64-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. {standard input}:3195: Error: expected comma after name `_ZN23Native2WrappedNative' in .size directive x86_64-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. make[4]: *** [xpcmaps.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [xpcruntimesvc.o] Error 1 make[4]: *** Deleting file `xpcruntimesvc.o' x86_64-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. make[4]: *** [xpcmodule.o] Error 1 make[4]: *** Deleting file `xpcmodule.o' make[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/work/mozilla-1.9.2/js/src/xpconnect/src' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/work/mozilla-1.9.2/js/src/xpconnect' make[2]: *** [libs_tier_gecko] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/work/mozilla-1.9.2' make[1]: *** [tier_gecko] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/work/mozilla-1.9.2' make: *** [default] Error 2 * ERROR: net-libs/xulrunner-1.9.2.3-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5301: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =net-libs/xulrunner-1.9.2.3-r1', * the complete build log and the output of 'emerge -pqv =net-libs/xulrunner-1.9.2.3-r1'. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.19" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage_logs/net-libs:xulrunner-1.9.2.3-r1:20100408-095841.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/temp/environment'. * S: '/var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/work/mozilla-1.9.2' emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-x86_64-AMD_Phenom-tm-_II_X4_20_Processor-with-gentoo-2.0.1 Timestamp of tree: Thu, 08 Apr 2010 07:30:01 +0000 app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r1 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -msse2 -m3dnow -pipe -O2 -ggdb -mno-tls-direct-seg-refs" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -msse2 -m3dnow -pipe -O2 -ggdb -mno-tls-direct-seg-refs" DISTDIR="/usr/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests buildpkg distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS=" http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.mneisen.org/ rsync://gentoo.kiev.ua/gentoo-distfiles" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="en el" MAKEOPTS="-j5" PKGDIR="/usr/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/Spring /var/lib/layman/x11" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa amd64 berkdb bzip2 cdda clamav cli cracklib crypt cups cxx dbus dri esd ffmpeg fortran gcj gdbm gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv ipv6 java jpeg lame libnotify lm_sensors mad mmx modules mono mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl png policykit pppd python readline reflection samba scanner sdl session spell spl sqlite sqlite3 sse sse2 ssl subversion svg sysfs syslog tcpd tiff truetype unicode usb v4l v4l2 vorbis wavpack wifi xinetd xorg zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" RUBY_TARGETS="ruby18" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
On a subsequent emerge (maybe the third run) it emerged successfully.