when trying to emerge kahakai-0.5 g++ can't compile MenuLoader.cc it eats all CPU and memory trying to compile this file. Even after 30 minutes it is still running and slowly filling all available ram. I'm using gcc-3.2.3 Reproducible: Always Steps to Reproduce: 1. emerge kahakai Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl gphoto2 cdr tetex tcltk mozilla gtk2 xft -kde"
I tried to compile it with the same setup ( exept that I own a p4 ) ,it works fine here.
I have the same problem with 0.5 on my k6-2. But it compiles fine on my P4 at work. Except for -march, all of the CFLAGS are the same. The only difference seems to be that I use Xinerama at work.
I just tryed with CXXFLAGS="-march=athlon-xp -O0 -pipe" instead of CXXFLAGS="-march=athlon-xp -O3 -pipe" that I normaly use and it worked. I also unpacked the sources and tryed to invoke make manualy on different targets. I could successfuly compile every source file with -O3 except MenuLoader.cc that can only be built with -O0.
should be fixed with latest version in portage