Using all ~x86 system, hardened. ebuild U ] media-video/mplayer-1.0_pre5-r3 [1.0_pre5] -3dfx +3dnow -3dnowex +X +aalib -alsa (-altivec) -arts* -bidi -cdparanoia -debug +directfb -divx4linux -doc -dvb +dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -joystick +jpeg -libcaca -lirc -live -lzo +mad +matroska -matrox +mmx -mmx2 +mpeg -mythtv -nas -network +nls +nvidia +oggvorbis +opengl +oss +png -rtc +samba +sdl +sse -sse2 +svga -tga +theora +truetype -v4l -v4l2 -xinerama +xmms +xv +xvid -xvmc 0 kB LOG...BEGIN... >>> Source unpacked. compile dvd png !network xvid Detected operating system: Linux Detected host architecture: i386 Checking for gcc version ... 3.3.4, ok Checking for CPU vendor ... AuthenticAMD (6:8:1) Checking for CPU type ... AMD Athlon(tm) XP 2200+ Checking for GCC & CPU optimization abilities ... athlon-4 Checking for kernel support of mmx ... yes Checking for kernel support of mmx2 ... yes Checking for kernel support of 3dnow ... yes Checking for kernel support of 3dnowex ... yes Checking for kernel support of sse ... yes Checking for mtrr support ... yes Checking for assembler (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/as 2.14.90.0.8) ... ok Checking for Linux kernel version ... 2.6.7-hardened-r7, ok Checking for mplayer binary name ... mplayer Checking for awk ... gawk Checking for extra headers ... none Checking for extra libs ... none Checking for i18n ... yes Checking for setlocale() ... yes Checking for iconv ... yes Checking for langinfo ... yes Checking for language ... using bg (man pages: en) Checking for enable sighandler ... yes Checking for runtime cpudetection ... no Checking for restrict keyword ... __restrict Checking for kstat ... no Checking for posix4 ... no Checking for lrintf ... yes Checking for nanosleep ... yes Checking for socklib ... yes (using -lnsl) Checking for inet_pton() ... yes (using -lnsl) Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for word size ... 32 Checking for stddef.h ... yes Checking for malloc.h ... yes Checking for memalign() ... yes Checking for alloca.h ... yes Checking for mman.h ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes (using -lpthread) Checking for sys/soundcard.h ... yes Checking for sys/dvdio.h ... no Checking for sys/cdio.h ... no Checking for linux/cdrom.h ... yes Checking for dvd.h ... no Checking for BSDI dvd.h ... no Checking for HPUX SCSI header ... no Checking for userspace SCSI headers (Solaris) ... no Checking for termcap ... yes (using -ltermcap) Checking for termios ... yes (using sys/termios.h) Checking for shm ... yes Checking for linux devfs ... no Checking for scandir() ... yes Checking for strsep() ... yes Checking for strlcpy() ... no Checking for strlcat() ... no Checking for fseeko() ... yes Checking for localtime_r() ... yes Checking for vsscanf() ... yes Checking for posix select() ... yes Checking for gettimeofday() ... yes Checking for glob() ... yes Checking for sys/sysinfo.h ... yes Checking for Mac OS X APIs ... no Checking for Samba support (libsmbclient) ... yes Checking for 3dfx ... no Checking for tdfxfb ... no Checking for tdfxvid ... no Checking for tga ... no Checking for DirectFB headers presence ... yes (using -I/usr/include/directfb) Checking for DirectFB ... yes (920) Checking for X11 headers presence ... yes (using -I/usr/X11R6/include) Checking for X11 libs presence ... yes (using /usr/X11R6/lib) Checking for X11 ... yes Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for XvMC ... no Checking for Xinerama ... no Checking for Xxf86vm ... yes Checking for DGA ... yes (using DGA 2.0) Checking for OpenGL ... no Checking for /dev/mga_vid ... no Checking for xmga ... no Checking for GGI ... no Checking for AA ... yes Checking for CACA ... no Checking for SVGAlib ... yes Checking for FBDev ... no Checking for DVB ... no Checking for DVB HEAD ... yes Checking for PNG support ... yes Checking for JPEG support ... yes Checking for GIF support ... yes (old version, some encoding functions disabled) Checking for broken giflib workaround ... enabled Checking for VESA support ... yes Checking for SDL ... yes (using sdl-config) Checking for Windows waveout ... no Checking for Directx ... no Checking for NAS ... no Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for libmp1e ... no Checking for libfame ... no Checking for OSS Audio ... yes Checking for aRts ... no Checking for EsounD ... yes Checking for esd_get_latency() ... yes Checking for JACK ... no Checking for ALSA audio ... no Checking for Sun audio ... no Checking for Sun mediaLib ... no Checking for SGI audio ... no Checking for VCD support ... ok Checking for DVD support (libmpdvdkit) ... yes Checking for DVD support (libdvdread) ... disabled by libmpdvdkit2 Checking for cdparanoia ... no Checking for freetype >= 2.0.9 ... yes Checking for fontconfig ... yes Checking for fribidi with charsets ... no Checking for ENCA ... no Checking for zlib ... yes Checking for RTC ... no Checking for external liblzo support ... no Checking for mad support ... yes Checking for OggVorbis support ... yes Checking for OggTheora support (only the CVS version!) ... yes Checking for mp3lib support ... yes Checking for liba52 support ... yes Checking for libmpeg2 support ... yes Checking for Matroska support (external 0.6.0 or later OR internal) ... yes, external Checking for internal FAAD2 (AAC) support ... no Checking for external FAAD2 (AAC) support ... yes Checking for FAAD2 version ... 2.0 Checking for MacOS X SHLB (shared lib) support ... no Checking for Win32 codec DLL support ... yes (using /usr/lib/win32) Checking for Win32 loader support ... yes Checking for DirectShow ... yes Checking for XAnim DLL ... no (no suitable directory found - see DOCS/HTML/en/codecs.html) Checking for RealPlayer DLL ... yes (using /usr/lib/real) Checking for LIVE.COM Streaming Media libraries ... no Checking for FFmpeg libavcodec (static) ... yes Checking for FFmpeg libavformatc (static) ... no Checking for libdv-0.9.5+ ... yes Checking for zr ... no Checking for bl ... no Checking for XviD ... yes Checking for DivX4 compatibility in XviD ... no Checking for DivX4linux/DivX5linux/OpenDivX decore ... no Checking for libmp3lame (for mencoder) ... yes Checking for DivX4linux encore (for mencoder) ... no Checking for mencoder ... yes Checking for fastmemcpy ... yes Checking for UniquE RAR File Library ... yes Checking for TV interface ... yes Checking for EDL support ... no Checking for *BSD BrookTree 848 TV interface ... no Checking for Video 4 Linux TV interface ... no Checking for Video 4 Linux 2 TV interface ... no Checking for audio select() ... yes Checking for network ... no Checking for ftp ... no Checking for byte order ... Little Endian Checking for shared postprocess lib ... no Checking for OSD menu ... yes Checking for QTX codecs ... yes Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for GUI ... yes Checking for XShape extension ... yes Checking for GTK version ... 1.2.10 (using gtk-config) Checking for glib version ... 1.2.10 (using glib-config) Creating Gui/config.mak Checking for ftello() ... yes Checking for VIDIX ... yes Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Creating config.mak Creating config.h Creating libvo/config.mak Creating libao2/config.mak Creating help_mp.h Adding untranslated messages to help_mp.h Config files successfully generated by ./configure ! Install prefix: /usr Data directory: /usr/share/mplayer Config direct.: /usr/share/mplayer Byte order: Little Endian Optimizing for: athlon-4 mmx mmx2 3dnow 3dnowex sse mtrr Languages: Messages/GUI: bg Manual pages: en (no localization selected, use --language=all) Enabled optional drivers: Input: tv matroska(external) mpdvdkit2 vcd dvb smb Codecs: qtx xvid libdv libavcodec real dshow/dmo win32 faad2(external) libmpeg2 liba52 mp3lib libtheora libvorbis libmad gif Audio output: esd oss sdl mpegpes(dvb) Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(dvb) svga aa dga xv x11 xover dfbmga directfb Disabled optional drivers: Input: ftp network tv-v4l2 tv-v4l tv-bsdbt848 edl live.com cdda dvdread Codecs: opendivx xanim liblzo Audio output: sgi sun alsa jack arts dxr2 nas win32 macosx Video output: winvidix bl zr zr2 dxr3 dxr2 directx fbdev caca ggi xmga mga opengl xvmc tga tdfx_vid tdfxfb 3dfx quartz 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/devices.html#mtrr) Check configure.log if you wonder why an autodetection failed (check whether the development headers/packages are installed). If you suspect a bug, please read DOCS/HTML/en/bugreports.html. ...SKIP... gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o truemotion1.o truemotion1.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o vmdav.o vmdav.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o lcl.o lcl.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o qtrle.o qtrle.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o g726.o g726.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o flac.o flac.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o vp3dsp.o vp3dsp.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o integer.o integer.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o pthread.o pthread.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h263.o h263.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h261.o h261.c gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o msmpeg4.o msmpeg4.c msmpeg4.c: In function `msmpeg4_pred_dc': msmpeg4.c:720: error: can't find a register in class `BREG' while reloading `asm' make[1]: *** [msmpeg4.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r3/work/MPlayer-1.0pre5/libavcodec' make: *** [libavcodec/libavcodec.a] Error 2 !!! ERROR: media-video/mplayer-1.0_pre5-r3 failed. !!! Function src_compile, Line 384, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message. ...END LOG... TIA. Rumen Reproducible: Always Steps to Reproduce: 1. 2. 3. Gentoo Base System version 1.5.3 Portage 2.0.51_pre20 (!/usr/portage/profiles/default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-hardened-r7 i686 AMD Athlon(tm) XP 2200+) ================================================================= System uname: 2.6.7-hardened-r7 i686 AMD Athlon(tm) XP 2200+ ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.7-r4 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.internet-bg.net/gentoo-portage" USE="3dnow X X509 aalib acl acpi apache2 avi berkdb bonobo caps cdr chroot clamav crypt cups curl dedicated directfb dvd dvdr encode esd evo ffmpeg flac foomaticdb freetype gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile hardened hardenedphp imap imlib ipv6 java javascript jpeg kde ldap libg++ libwww mad maildir matroska mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png ppds prelude python qt quicktime readline samba sdl skey slang spell sse ssl svg svga tcltk tcpd tetex theora transcode truetype unicode usb x86 xml xml2 xmms xv xvid zlib linguas_bg linguas_en"
Hi, Problem solved. This was evidently due to the use of hardened-GCC, till now worked but now this breaks things. As using all-~x86, gcc-2.4.3-r2 could temporary switch profile to vanilla using gcc-config, emerge mplayer_pre5-r3 and revert the profile back to hardened. Should be possible to do this using custom CFLAGS but that way is esier for me. Suggest this bug could be marked FIXED. Thanks Rumen
Hi again. A simple typo but should correct it: should be GCC-3.4.2-r2. Rumen
Fixed by filtering, general MPlayer+pic errors are still in the works.