cc -I../libvo -I../../libvo -fno-PIC -O4 -D__STDC_LIMIT_MACROS -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/src/DVB/ost/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/dxr2 -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I.. -I../libavutil -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rgb2rgb.o rgb2rgb.c In file included from rgb2rgb.c:170: rgb2rgb_template.c: In function `rgb15to24_MMX': rgb2rgb_template.c:993: error: `mmx_null' undeclared (first use in this function) rgb2rgb_template.c:993: error: (Each undeclared identifier is reported only once rgb2rgb_template.c:993: error: for each function it appears in.) rgb2rgb_template.c: In function `rgb16to24_MMX': rgb2rgb_template.c:1134: error: `mmx_null' undeclared (first use in this function) In file included from rgb2rgb.c:179: rgb2rgb_template.c: In function `rgb15to24_MMX2': rgb2rgb_template.c:993: error: `mmx_null' undeclared (first use in this function) rgb2rgb_template.c: In function `rgb16to24_MMX2': rgb2rgb_template.c:1134: error: `mmx_null' undeclared (first use in this function) In file included from rgb2rgb.c:188: rgb2rgb_template.c: In function `rgb15to24_3DNOW': rgb2rgb_template.c:993: error: `mmx_null' undeclared (first use in this function) rgb2rgb_template.c: In function `rgb16to24_3DNOW': rgb2rgb_template.c:1134: error: `mmx_null' undeclared (first use in this function) make[1]: *** [rgb2rgb.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre20060810/work/mplayer/libswscale' make: *** [libswscale/libswscale.a] Error 2 !!! ERROR: media-video/mplayer-1.0_pre20060810 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mplayer-1.0_pre20060810.ebuild, line 483: Called die
My Emerge --info from one of my computers. Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.15 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa apache2 apm arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo cdda cdr cli crypt ctype cups dba dbus dlloader dri dts dvd eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal history idn imlib ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux lcms libg++ libwww mad matroska memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl sse ssl svg svga tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vcd visualization vorbis win32codecs wxGTK x86 xml xml2 xmms xorg xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_evdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Emerge --info from the other computer, both fail to compile this package. Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.6.15 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa apache2 apm arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo cdda cdr cli crypt ctype cups dba dbus dlloader dri dts dvd eds elibc_glibc emboss encode esd exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal history idn imlib ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux lcms libg++ libvisual libwww mad matroska memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls no-seamonkey nptl nsplugin ogg opengl oss pam pascal pcre pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session simplexml slang soap sockets spell spl sse sse2 ssl svg svga tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev usb userland_GNU vcd visualization vorbis wifi win32codecs x86 xalsa xml xml2 xmms xorg xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev video_cards_i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Also broken here ... Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-suspend2-r3 i686) ================================================================= System uname: 2.6.17-suspend2-r3 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.4 Last Sync: Fri, 11 Aug 2006 04:50:01 +0000 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg collision-protect cvs distlocks metadata-transfer sandbox sfperms sign splitdebug strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/Mirrors/gentoo" INSTALL_MASK="/usr/share/locale /usr/share/info /usr/lib/debug" LANG="C" LC_ALL="C" LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/i686-gentoo-glibc-celsius" PORTAGE_RSYNC_EXTRA_OPTS="--progress" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/overlays/dev/liquidx /usr/portage/local/overlays/dev/phreak" SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 arts avi berkdb crypt dlloader dri elibc_glibc gif gstreamer imlib input_devices_keyboard input_devices_mouse jpeg kde kernel_linux libwww mad mikmod mp3 mpeg ncurses nptl nptlonly ogg opengl oss pam perl png python qt qt3 qt4 readline spell ssl truetype truetype-fonts udev userland_GNU video_cards_radeon vorbis xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Me too.
*** Bug 143536 has been marked as a duplicate of this bug. ***
Seems like its working quite fine with USE=mmx. At least it finished compiling without errors.
(In reply to comment #6) works for me too, although the initial build stopped at a different location. Portage 2.1.1_pre4-r4 (default-linux/x86/no-nptl, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686) ================================================================= System uname: 2.6.16-gentoo-r13 i686 AMD Athlon(TM) XP 2100+ Gentoo Base System version 1.12.4 Last Sync: Fri, 11 Aug 2006 12:00:01 +0000 ccache version 2.4 [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -pipe" <snip> USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww linguas_de linguas_en linguas_ru mad memlimit mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg opengl oss pam pcre pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis x86 xml xml2 xmms xorg xsl xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
confirmed, enabling mmx resolves the issue, i checked out the dupe bug which mentioned this.
problem acknowledged I'll try to find a solution soon
Please try it with >=media-video/mplayer-1.0_rc2_pre20070321-r3
(In reply to comment #10) > Please try it with >=media-video/mplayer-1.0_rc2_pre20070321-r3 > Same behaviour for me. Compiles fine with mmx use-flag, failes without.
Just use +mmx then. Newer ebuilds will only disable them if they are not checked, so its safe to enable them.