Can't emerge app-emulation/uae-0.8.25_pre20040302. Reproducible: Always Steps to Reproduce: 1. emerge uae Actual Results: newcpu.c: In function `m68k_run_2a': newcpu.c:1875: error: can't find a register in class `INDEX_REGS' while reloading `asm' wopr-mobile root # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r9) ================================================================= System uname: 2.6.7-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.5.1 ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-pipe -march=pentium3 -msse2 -O2 -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 /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="-pipe -march=pentium3 -msse2 -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs fixpackages sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-overlay/my" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 imlib innodb java jpeg libg++ libwww mad mikmod mmx mono motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Created attachment 35322 [details] Complete portage output
Why are you using -msse2 together with -march=pentium3? SSE2 is a P4 feature, you probably want -msse. Could you try recompiling after removing -msse2? If that doesn't work, please try -march=i686.
CFLAGS="-pipe -march=pentium3 -msse2 -O2 -fomit-frame-pointer" was recommended to me for Pentium M CPUs (on either the gentoo-user mailinglist or one of the Gentoo IRC channels). /proc/cpuinfo shows "fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est" for my CPU, so sse2 should be okay. But you are right: after removing -msse2 from my CFLAGS app-emulation/uae-0.8.25_pre20040302 merges without problems.
I see. It's possible that -msse2 either triggers a bug in GCC related to UAE or that it is incompatible with the build in some other way. I added strip-flags in the ebuild in order to remove -msse and -msse2. I hope this will fix this issue.