WHen trying to install sdl-net, the emerge fails due to the compile failing. It appears to be an assembler, or compiler error. Perhaps it isn't 64bit friendly? Reproducible: Always Steps to Reproduce: 1.emerge sdl-net 2.watch it not compile 3. Actual Results: Full emerge output: Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/sdl-net-1.2.5 to / >>> md5 src_uri ;-) SDL_net-1.2.5.tar.gz >>> Unpacking source... >>> Unpacking SDL_net-1.2.5.tar.gz to /var/tmp/portage/sdl-net-1.2.5/work >>> Source unpacked. * econf: updating /var/tmp/portage/sdl-net-1.2.5/work/SDL_net-1.2.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating /var/tmp/portage/sdl-net-1.2.5/work/SDL_net-1.2.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=//usr/lib creating cache ./config.cache checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc -march=k8 -O2 -pipe ) works... yes checking whether the C compiler (gcc -march=k8 -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -march=k8 -O2 -pipe ) works... yes checking whether the C++ compiler (c++ -march=k8 -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking build system type... x86_64-pc-linux-gnu checking for ranlib... ranlib checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -rchecking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.4... yes checking for GUI_Create in -lGUI... no configure: warning: *** Can't find the GUI library - not building test programs The GUI library can be found at: http://www.libsdl.org/projects/GUIlib/ updating cache ./config.cache creating ./config.status creating Makefile creating SDL_net.spec /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -march=k8 -O2 -pipe -I/usr/include/SDL -D_REENTRANT -c SDLnet.c /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -march=k8 -O2 -pipe -I/usr/include/SDL -D_REENTRANT -c SDLnetTCP.c mkdir .libs gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -march=k8 -O2 -pipe -I/usr/include/SDL -D_REENTRANT -c SDLnet.c -fPIC -DPIC -o .libs/SDLnet.lo rm -f .libs/SDLnetTCP.lo gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -march=k8 -O2 -pipe -I/usr/include/SDL -D_REENTRANT -c SDLnetTCP.c -fPIC -DPIC -o .libs/SDLnetTCP.lo SDLnet.c: In function `SDLNet_ResolveHost': SDLnet.c:336: error: extended registers have no high halves {standard input}: Assembler messages: {standard input}:60: Error: bad register name `%' make: *** [SDLnet.lo] Error 1 make: *** Waiting for unfinished jobs.... gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -march=k8 -O2 -pipe -I/usr/include/SDL -D_REENTRANT -c SDLnetTCP.c -o SDLnetTCP.o >/dev/null 2>&1 mv -f .libs/SDLnetTCP.lo SDLnetTCP.lo !!! ERROR: media-libs/sdl-net-1.2.5 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 x86_64) ================================================================= System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" 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/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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 aalib acpi alsa apache2 audiofile avi berkdb bitmap-fonts cdr crypt cscope css curl decss divx4linux dvd dvdcss dvdr encode f77 fam flac flash fortran freetype gd gdbm gif gnome gpm gtk gtk2 hal imlib ipv6 jack jp2 jpeg libdvdread libg++ live lzw lzw-tiff mng mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg multilib mysql ncurses netowkr nls oav oggvorbis openal opengl pam perl png python quicktime readline rtc ruby sdl speex ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 wmf xml xml2 xmms xpm xprint xrandr xslt xv xvid zlib"
I'm getting a slightly different breakage, fairly similar system. gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables -mno-push-args -fno-inline -fbranch-target-load-optimize2 -I/usr/include/SDL -D_REENTRANT -c SDLnetTCP.c -fPIC -DPIC -o .libs/SDLnetTCP.lo {standard input}: Assembler messages: {standard input}:17: Error: suffix or operands invalid for `xchg' make: *** [SDLnet.lo] Error 1 make: *** Waiting for unfinished jobs.... gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.5\" -I. -I. -pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables -mno-push-args -fno-inline -fbranch-target-load-optimize2 -I/usr/include/SDL -D_REENTRANT -c SDLnetTCP.c -o SDLnetTCP.o >/dev/null 2>&1 mv -f .libs/SDLnetTCP.lo SDLnetTCP.lo !!! ERROR: media-libs/sdl-net-1.2.5 failed. !!! Function src_compile, Line 508, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. emerge info: Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r 0, 2.6.9-gentoo-r10 x86_64) ================================================================= System uname: 2.6.9-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 9 2005, 02:17:56)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6 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="-pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all- givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movable s -mno-push-args -fno-inline -fbranch-target-load-optimize2" 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/lib/ mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-al l-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movab les -mno-push-args -fno-inline -fbranch-target-load-optimize2" 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="-Wl,-O1" 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 aalib acpi alsa arts avi berkdb bidi bitmap-fonts bonobo bootsplash cdparanoia cdr crypt cups directfb divx4linux dvb dvd dvdread edl esd f77 faad fam ffmpeg flac foomaticdb fortran gdbm ggi gif gimp gimpprint gkrellm gnome gpm gstreamer gtk hardened imlib ipv6 jack java javascript joystick jp2 jpeg libcac a live lm_sensors lzo lzw lzw-tiff mad matroska mikmod motif mozilla mp3 mpeg mp eg4 mplayer multilib mythtv nas ncurses need network nls nntp nvidia offensive o ggvorbis opengl oss pam pda pdf perl png ppds python readline rtc samba sdl slan g spell ssl tcltk tcpd theora tiff timidity truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 wxwindows xanim xinerama xml xml2 xmms xpm xrandr xv xv id xvmc zlib"
*** This bug has been marked as a duplicate of 77300 ***
Closing to clean up after bugzilla upgrade. reopen if closed in error. Thanks.