Hi! When I try an emerge sdl-mixer , I get this (just the last lines): x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -march=athlon64 -O2 -pipe -mfpmath=sse -I/usr/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -c effect_position.c -fPIC -DPIC -o .libs/effect_position.o effect_position.c: In function `_Eff_position_u16msb_c4': effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves effect_position.c:928: error: extended registers have no high halves {standard input}: Assembler messages: {standard input}:2260: Error: suffix or operands invalid for `xchg' {standard input}:2286: Error: suffix or operands invalid for `xchg' {standard input}:2329: Error: suffix or operands invalid for `xchg' {standard input}:2385: Error: bad register name `%' {standard input}:2391: Error: bad register name `%' {standard input}:2423: Error: bad register name `%' {standard input}:2435: Error: bad register name `%' {standard input}:2445: Error: bad register name `%' {standard input}:2457: Error: bad register name `%' {standard input}:2485: Error: bad register name `%' {standard input}:2491: Error: bad register name `%' make[1]: *** [effect_position.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... I have CFLAGS="-march=athlon64 -O2 -pipe -mfpmath=sse" I had seen this before on other programs, so I tried to compile that portion with -O0 : cd /var/tmp/portage/sdl-mixer-1.2.6/work/SDL_mixer-1.2.6/ /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -march=athlon64 -O0 -pipe -mfpmath=sse -I/usr/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -c -o effect_position.lo effect_position.c And it compiles just fine. So, I tried to remove the -O2 flag from CFLAGS, and it works well (off course, it doesn't use -O at all, I don't know wich is the default for gcc-3.4). But I don't want to compile my system without -O!. Well, I worked it around like this: emerge sdl-mixer wait until configure is over. and then press ctrl+z then, in other console, run: cd /var/tmp/portage/sdl-mixer-1.2.6/work/SDL_mixer-1.2.6/ && /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -march=athlon64 -O0 -pipe -mfpmath=sse -I/usr/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -c -o effect_position.lo effect_position.c and then go back to the original console and continue with fg. It will build, but this is weird. Reproducible: Always Steps to Reproduce: 1. I have already described it. 2. 3. emerge info Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64) ================================================================= System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 10 2005, 08:07:27)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts bonobo cdr crypt dvd dvdr emul-linux-x86 esd f77 fam fortran gif gnome gpm gstreamer gtk gtkhtml imagemagick imlib ipv6 java jp2 jpeg kerberos ldap libwww lzw lzw-tiff mhash multilib ncurses nls offensive oggvorbis openal opengl oss pam pcre perl php png python qt readline samba scanner sdl slp speex ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales vhost videos xml xml2 xmms xpm xrandr xv xvid zlib"
*** This bug has been marked as a duplicate of 77300 ***