emerge kdevelop [....] /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/antlr -I../../lib/interfaces -I../../lib/util -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o AdaTreeParserSuper.lo `test -f 'AdaTreeParserSuper.cpp' || echo './'`AdaTreeParserSuper.cpp g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. {standard input}: Assembler messages: {standard input}:230904: Warning: end of file not at end of a line; newline inserted {standard input}:231416: Error: unknown pseudo-op: `.uleb1' make[4]: *** [AdaParser.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... AdaTreeParserSuper.cpp: In member function `void AdaTreeParserSuper::initializeASTFactory(antlr::ASTFactory&)': AdaTreeParserSuper.cpp:8567: warning: unused parameter ` antlr::ASTFactory&factory' make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1/languages/ada' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1/languages/ada' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1/languages' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.0.1 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make in my /var/log/everything/current file I see: Feb 25 03:52:17 [kernel] Out of Memory: Killed process 18408 (cc1plus). the hard drive had been going like crazy and system was entirely unusable for about 20 minutes before it stopped. Immediately after the build died everything went back to normal. It filled up the entire swap and everything. Reproducible: Always Steps to Reproduce: 1. emerge kdevelop (3.0.1) 2. grab a beer 3. mourn the loss of your hard drive. Actual Results: used up all available memory and eventually died. System was completely unusable for approximately 20 minutes. Expected Results: finished compiling kdevelop irssi, few ssh sessions.. not sure exactly what time updatedb fires off (using vixie-cron), but that may have helped with the hard drive usage. kitchen@stfu ~ $ emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo) ================================================================= System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/conf.d /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.noved.org/ ftp://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde ldap libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls nvidia offensive oggvorbis opengl opie oss pam pda pdflib perl png python qt quicktime readline samba sdl slang snmp spell ssl svga tcpd truetype usb x86 xface xml xml2 xmms xosd xv zlib"
what if you try a different package - like kdelibs or some other resource intensive package? do you have the same problem?
i'll give it a try.
--- !targe sym /usr/kde/3.2/bin/kfmexec >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... [ ok ] >>> kde-base/kdelibs-3.2.0 merged. so.. kdelibs worked.
how about you retry the ebuild with lesser cflags. maybe -O2, or maybe try unsetting -march=athlon-xp for this ebuild and see if that makes it any happier?
I have the same problem. I tried it with "-O2 -march=athlon-xp -pipe", but it doesn't work, too
Apparently it's a bug in GCC. It works fine if I use march=athlon instead of march=athlon-xp
Does this still happen? AFAIK this should have been fixed by now - it's closed in the GCC bugzilla.
try the newer stable gcc's