When trying to emerge games-arcade/criticalmass-0.99 I get the following compiling error message: --- [...] make[2]: Entering directory `/var/tmp/portage/criticalmass-0.99/work/CriticalMass-0.99/utils' c++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer -c C onfig.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer -c E ndian.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer -c F PS.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer -c R andom.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer -c R 250.cpp In file included from ./Config.hpp:28, from Config.cpp:21: ./HashString.hpp:25: error: an explicit specialization must be preceded by 'template <>' ./HashString.hpp:36: error: an explicit specialization must be preceded by 'template <>' make[2]: *** [Config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/criticalmass-0.99/work/CriticalMass-0.99/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/criticalmass-0.99/work/CriticalMass-0.99' make: *** [all-recursive-am] Error 2 !!! ERROR: games-arcade/criticalmass-0.99 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. --- Reproducible: Always Steps to Reproduce: 1. emerge =games-arcade/criticalmass-0.99 2. 3. Actual Results: Compiling error Expected Results: Should compile # emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.8-ck8 i686) ================================================================= System uname: 2.6.8-ck8 i686 AMD Duron(tm) Gentoo Base System version 1.6.4 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.19,sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib acl acpi acpi4linux alsa apache2 apm ared avi berkdb bitmap-fonts blender-game bonobo bootspla bzlib cdparanoia cdr clanVoice crypt cups dba dedicated dga divx4linux doc dvd encode escreen f77 fbcon foomaticdb freetype gd gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg libg++ libwww mad mailwrapper mbox mikmod mmx mmx2 motif mpeg mysql ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime radeon readline rtc ruby samba sdl session silverxp slang sockets spell spl sse ssl stencil-buffer svga tcltk tcpd tetex tokenizer truetype usb videos wxwindows x86 xchattext xfs xml xml2 xmms xpm xsl xv zlib"
Getting the same error with 0.98 . Since I got 0.98 compiled earlier, the error must occur due to a change in another package, I guess. But I have no clue which package ...
Fixed in CVS, it was a GCC 3.4 bug.