g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -c -o core_dyn_x86.o `test -f 'core_dyn_x86.cpp' || echo './'`core_dyn_x86.cpp In file included from core_dyn_x86.cpp:143: core_dyn_x86/cache.h:302:2: warning: no newline at end of file {standard input}: Assembler messages: {standard input}:675: Error: missing ')' {standard input}:675: Error: junk `(%ebp))' after expression {standard input}:678: Error: missing ')' {standard input}:678: Error: junk `(%ebp))' after expression make[4]: *** [core_dyn_x86.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src/cpu' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src/cpu' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61' make: *** [all] Error 2 !!! ERROR: games-emulation/dosbox-0.61 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! emake failed http://bugs.gentoo.org/show_bug.cgi?id=44860 I have the exact same problem, and using MAKEOPTS="-j1" doesn't change a thing. When I use CXXFLAGS="-pipe" it fails at the same spot with a similar error message: g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -pipe -I/usr/include/SDL -D_REENTRANT -c -o core_dyn_x86.o `test -f 'core_dyn_x86.cpp' || echo './'`core_dyn_x86.cpp In file included from core_dyn_x86.cpp:143: core_dyn_x86/cache.h:302:2: warning: no newline at end of file In file included from core_dyn_x86.cpp:150: core_dyn_x86/risc_x86.h: In function `BlockReturn gen_runcode(Bit8u*)': core_dyn_x86/risc_x86.h:117: error: can't find a register in class ` GENERAL_REGS' while reloading `asm' make[4]: *** [core_dyn_x86.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src/cpu' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src/cpu' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61' make: *** [all] Error 2 !!! ERROR: games-emulation/dosbox-0.61 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! emake failed Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4) ================================================================= System uname: 2.6.4 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/terminfo /etc/env.d" CXXFLAGS="-pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms strict" GENTOO_MIRRORS="ftp://130.208.16.26/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ftp.rhnet.is/gentoo-portage" USE="3dnow X aalib acpi alsa arts avi berkdb cdr crypt dga esd fam fbcon flash gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde libwww mad mmx motif mozilla mpeg mysql ncurses nls nptl offensive oggvorbis opengl pam perl pic png python qt quicktime readline samba sdl slang sse ssl svga tcltk tcpd truetype unicode v4l x86 xmms xv xvid zlib"
*** This bug has been marked as a duplicate of 44860 ***