Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67088 - Mplayer 1.0_pre4 and pre5 crashed with Illegal instruction
Summary: Mplayer 1.0_pre4 and pre5 crashed with Illegal instruction
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 06:39 UTC by Tibor Gemes
Modified: 2004-10-12 18:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tibor Gemes 2004-10-11 06:39:01 UTC
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"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-10-11 07:21:57 UTC
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.
Comment 2 SpanKY gentoo-dev 2004-10-12 18:46:29 UTC
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 ! :)
Comment 3 SpanKY gentoo-dev 2004-10-12 18:48:49 UTC
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 !