When I emerge mplayer it always reports Illegal instruction in init_audio_codec. It does not depend the file type I try to play. I tried divx, vidx, mpeg, and even mp3. The error occures if I give -ao null either. However if I install it from the original distfile by ./configure && make && make install, I have a fully working mplayer installed. Reproducible: Always Steps to Reproduce: 1. emerge mplayer 2. mplayer test.mp3 Actual Results: mplayer crashed with illegal instruction Expected Results: play the media file. Portage 2.0.50-r11 (2004.3, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.8.1) ================================================================= System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O4 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11 /etc/gconf /etc/init.d /etc/sound /etc/terminfo /etc/env.d" CXXFLAGS="-O4 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups directfb dvd encode esd f77 fam fbcon flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit libg++ libwww mad matrox mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png quicktime readline samba sdl slang spell sse ssl tcltk tcpd tiff truetype usb video_cards_matrox x86 xml2 xmms xprint xv zlib"
Well... You have 3dnow in your USE and you have a p4... Along side your CFLAGS choice of -O4... I'd have to recommend that you read the docs again. Rebuild it with features that are actually supported by your processor.
what's he trying to say is that USE=3dnow is not appropriate for pentium4's and since supports 3dnow instructions, there's probably a good chance that's the trouble once you take 3dnow out of USE, please try running `emerge world --newuse -p` and re-emerge any packages that show up also, CFLAGS=-O4 is not valid ... there is no such flag as '-O4', please use -O2 or -O3 thanks ! :)
actually, you're using portage-2.0.50 ... --newuse is a 2.0.51 option :) so once 2.0.51 is released, please use that !