cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c i386/dsputil_mmx.c: In function `transpose4x4': i386/dsputil_mmx.c:621: error: can't find a register in class `GENERAL_REGS' while reloading `asm' In file included from i386/dsputil_mmx.c:2492: i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous definition i386/h264dsp_mmx.c:1147:1: warning: "PUT_OP" redefined i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous definition make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/libavcodec' make: *** [libavcodec/libavcodec.a] Error 2 !!! ERROR: media-video/mplayer-1.0.20060302 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile mplayer-1.0.20060302.ebuild, line 485: Called die !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, and the call stack if relevant. fast ~ # emerge --info Portage 2.1_pre7-r3 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15fast i686) ================================================================= System uname: 2.6.15fast i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -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/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://mirror.espri.arizona.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://fast.private.com/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cddb cups dri eds emboss encode firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipod ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx motif moznocompose mp3 mpeg mplayer ncurses nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png pppd python qt quicktime readline real samba sdl server spell ssl tagwriting tcpd tiff truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_mga" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS Looked through the previous bug reports (I wish someone would remove the 'relevance' sorting, and sort by bug number), didn't see a solution that appeared to be applicable. Tryed USE="-mmx", still doesn't build.
I get the same error, but when I have USE=-mmx I get a different error later on, which is presumably a different bug. I have this version of mplayer installed though, so I'll see if one of the changes to the ebuild has caused this when I have time.
Ok, that wasn't so hard - revision 1.6 works, but revision 1.7 is broken (i.e. the last change broke it). So the workaround added because of https://bugs.gentoo.org/show_bug.cgi?id=127901 seems to be causing problems. I guess I may as well post the error I get with USE=-mmx (with USE=mmx I get the same error as the original reporter). cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -D__STDC_LIMIT_MACROS -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.20060302/work/mplayer-1.0.20060302/liba52' make: *** [liba52/liba52.a] Error 2 !!! ERROR: media-video/mplayer-1.0.20060302 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile mplayer-1.0.20060302.ebuild, line 485: Called die !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo" LC_ALL="en_GB.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk crypt cscope cups curl daap directfb dllloader dri dvd dvdr emboss encode expat fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif glut gpm graphviz gstreamer gtk2 imagemagick imap isdnlog jack jpeg lcms libcaca libg++ libwww live lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd python quicktime readline real ruby samba sdl spell sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vcd vidix vorbis win32codecs x264 xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_fglrx video_cards_ati video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS [ebuild R ] media-video/mplayer-1.0.20060302 USE="X aac aalib alsa cdparanoia directfb dvd encode fbcon gif jack jpeg libcaca live mad matroska mmx nls opengl png real rtc samba sdl sse sse2 svga theora truetype vorbis win32codecs x264 xv xvid xvmc -3dfx -3dnow -3dnowext -arts -bidi -bindist -bl -cpudetection -custom-cflags -debug -dga -doc -dts -dv -dvb -dvdread -edl -esd -ggi -gtk -i8x0 -ipv6 -joystick -lirc -livecd -lzo -matrox -mmxext -musepack -nas -nvidia -openal -oss -tga -v4l -v4l2 -xanim -xinerama -xmms" 0 kB
Reproduced. [ebuild R ] media-video/mplayer-1.0.20060302 USE="X aac alsa bindist bl cdparanoia cpudetection dts dvd dvdread encode ggi gif gtk i8x0 ipv6 jpeg live lzo mad matroska mmx mmxext musepack nas nls openal opengl oss png real samba sdl sse sse2 svga tga theora truetype vorbis win32codecs x264 xmms xv xvid xvmc -3dfx -3dnow -3dnowext -aalib -arts -bidi -custom-cflags -debug -dga -directfb -doc -dv -dvb -edl -esd -fbcon -jack -joystick -libcaca -lirc -livecd -matrox -nvidia -rtc -v4l -v4l2 -xanim -xinerama" 0 kB cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c i386/dsputil_mmx.c: In function `transpose4x4': i386/dsputil_mmx.c:621: error: can't find a register in class `GENERAL_REGS' while reloading `asm' In file included from i386/dsputil_mmx.c:2492: i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous definition i386/h264dsp_mmx.c:1147:1: warning: "PUT_OP" redefined i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous definition make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/libavcodec' make: *** [libavcodec/libavcodec.a] Error 2 !!! ERROR: media-video/mplayer-1.0.20060302 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile mplayer-1.0.20060302.ebuild, line 485: Called die !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-archck2 i686) ================================================================= System uname: 2.6.16-archck2 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer -ftracer" 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/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts bzip2 crypt cups dri eds emboss encode flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 i8x0 imlib ipv6 isdnlog jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png pppd python qt quicktime readline sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_synaptics input_devices_vmmouse input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_vmware video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Figured out the problem, sorry for the breakage.
Hopefully fixed.
*** Bug 128403 has been marked as a duplicate of this bug. ***
*** Bug 128498 has been marked as a duplicate of this bug. ***
Happy to report that mplayer now successfully emerges. Thanks, Luca!
*** Bug 128536 has been marked as a duplicate of this bug. ***
It works. Sorry for duplicate.