I have an EM64T system (x86_64), and am trying to build a 32 bit version of mplayer (Since mplayer-bin doesn't work) within a chroot environment using an i686 stage3 (according to the gentoo handbook) and after building all the dependancies within the chroot building the actual mplayer fails around this point: cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -m32 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -o imdct.o imdct.c In file included from imdct.c:761: imdct_3dnow.h: In function `fft_asmb_3dnow': imdct_3dnow.h:241: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[1]: *** [imdct.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0.20060415/work/mplayer-1.0.20060415/liba52' make: *** [liba52/liba52.a] Error 2 !!! ERROR: media-video/mplayer-1.0.20060415 failed. !!! Function src_compile, Line 495, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message. emerge --info in the chroot gives: Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r7-Fluffy i686) ================================================================= System uname: 2.6.16-gentoo-r7-Fluffy i686 Intel(R) Pentium(R) D CPU 2.80GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups dri eds emboss encode esd expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY My emerge command was: USE="xvid xvmc win32codecs xinerama nvidia -ipv6 -vorbis -xmms -arts -esd -gif -jpeg" emerge mplayer
*** This bug has been marked as a duplicate of 91848 ***