i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -D_REENTRANT -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include -I/usr/include/dirac -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c libmpcodecs/vf_decimate.c: In function 'diff_MMX': libmpcodecs/vf_decimate.c:26: error: can't find a register in class 'BREG' while reloading 'asm' libmpcodecs/vf_decimate.c:26: error: 'asm' operand has impossible constraints make: *** [libmpcodecs/vf_decimate.o] Error 1 This is inside the '#if HAVE_MMX && HAVE_EBX_AVAILABLE' block... And HAVE_EBX_AVAILABLE is always set. From configure: /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */ #define HAVE_EBX_AVAILABLE 1 --- Portage 2.2_rc46 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.28-hardened-r9-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.11.1 Timestamp of tree: Sat, 31 Oct 2009 09:15:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -fomit-frame-pointer -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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -fomit-frame-pointer -O2 -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="assume-digests distlocks fixpackages loadpolicy news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en es ja" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl alsa amrnb ao apache2 asf audiofile avahi bash-completion berkdb bidi bitmap-fonts bl browserplugin bzip2 cairo cdda cddb cdparanoia cjk clamav cli consolekit cracklib crypt cups curl dba dbus deprecated dga dri dts dv dvd eds elf emacs enca encode enscript erandom esd exif expat fam fame fat ffmpeg firefox flac flash font-server fontconfig fortran fpx ftp gd gd-external gdbm gif glibc-omitfp glut glx gmp gnome gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml guild guile gzip hal hardened hardenedphp hdri i8x0 iconv icq idn imap imlib imlib2 iproute2 ipsec ipv6 isdnlog jack java jbig jp2 jpeg jpeg2k kcal kde lame lcms libcaca libclamav libgda libvisual linuxthreads-tls live lm_sensors logitech-mouse logrotate lzo mad maildir md5sum mdnsresponder-compat mhash ming mixer mjpeg mmx mmxext mng mod_python modperl modules mouse mp2 mp3 mp4 mpeg mpeg2 mplayer mudflap multislot musepack musicbrainz mysql mysqli ncurses network networking new-login nfs nls nptl nsplugin oav objc ocaml ogg oggvorbis openal opendoc openexr opengl openmp oss pam pam_chroot pcre perl php pic png pnm policykit portaudio postfix povray ppds pppd pvr python pyzor q32 qca qt qt3 qt3support qt4 quicktime quotas radio rar razor readline realmedia reflection regex rtc samba sasl sdk sdl sensord session sndfile sockets sox spamassassin speex spell spl sql sqlite sqlite3 srt sse sse2 ssl startup-notification subtitles subversion suexec suhosin svg sysfs syslog tcpd teletext tga theora tiff timidity tivo transcode truetype type1 udev unicode urandom usb utf8 vcd vcdimager vfat vidix vim vim-pager vim-with-x virus-scan visualization vorbis webkit win32codecs wma wmf wxwindows x264 x86 xanim xchat xfs xft xine xinetd xml xml2 xmlreader xorg xpm xrandr xscreensaver xulrunner xv xvid xvmc yahoo zip zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest authn_dbd dbd ident imagemap" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es ja" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS --- [ebuild N ] media-video/mplayer-1.0_rc2_p20090731 USE="X a52 aac aalib alsa ass bidi bl cddb cdio cdparanoia dga dirac dts dv dvd dvdnav enca encode esd faac faad ftp gif iconv ipv6 jack jpeg libcaca live lzo mad md5sum mmx mmxext mng mp2 mp3 network openal opengl osdmenu oss png pnm pvr quicktime radio rar real rtc samba schroedinger sdl shm speex sse sse2 teletext tga theora tremor truetype unicode vidix vorbis win32codecs x264 xanim xscreensaver xv xvid xvmc zoran -3dnow -3dnowext (-altivec) -bindist -cpudetection -custom-cflags -custom-cpuopts -debug -directfb -doc -dvb -dxr3 -fbcon -ggi -gmplayer -joystick -ladspa -lirc -nas -pulseaudio -ssse3 -svga -v4l -v4l2 (-vdpau) -xinerama" VIDEO_CARDS="-mga (-nvidia) -s3virge -tdfx -vesa"
And on top of that, it seems that USE=mmx is busted because it's still failing there even though I tried rebuilding with USE="-mmx -mmxext"
Unless you have patch's and they are posted to MPlayer mailing list, don't expect anything to change wrt hardened's mplayer support. *** This bug has been marked as a duplicate of bug 93862 ***