Hi, the output reads: if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -D_REENTRANT -DWESNOTH_PATH=\"/usr/share/games/wesnoth\" -O2 -MT playturn.o -MD -MP -MF ".deps/playturn.Tpo" \ -c -o playturn.o `test -f 'playturn.cpp' || echo './'`playturn.cpp; \ then mv -f ".deps/playturn.Tpo" ".deps/playturn.Po"; \ else rm -f ".deps/playturn.Tpo"; exit 1; \ fi In file included from playlevel.cpp:20: mapgen.hpp:46:7: warning: no newline at end of file g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [playlevel.o] Error 1 also tried less aggressive optimisations,but with no change. emerge info: Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O3 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa amd64 apm avi berkdb cdr crypt dvdr encode esd fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
This sounds like a 'out of disk' or 'out of memory' issue. Please check these.
OK, I moved my gentoo installation to a new hard disk (not related to this bug), now wesnoth emerges nicely. Sorry if forgot to check if the old hard disk was full (don't think so was 240G LVM2 on RAID0), but as it works now it doesn't seem to be an ICE. Memory should not be an issue: 512 MB RAM and only running fluxbox and xterm. Sorry for wasting your time.
fixed according to the users last comment in the bug report AG