Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57459

Summary: MPlayer MMX USE flag missing
Product: Gentoo Linux Reporter: ferreira.hugo
Component: Current packagesAssignee: Chris White (RETIRED) <chriswhite>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ferreira.hugo 2004-07-18 01:41:19 UTC
I "emerged mplayer" (ver 1.0_pre4) and saw that the MMX and SSE extentions 
were not being used. An "emerge -pv mplayer" shows only the SSE flag. 
Activating these options via 'USE="mmx sse", emerge -pv mplayer' once again is 
only reflected in the SSE extention. The mmx USE flag should be shown.

Reproducible: Always
Steps to Reproduce:
1.emerge -pv mplayer
2.We can see that the USE flag is "-sse", no "mmx" is shown
3.USE="mmx sse", emerge -pv mplayer'
4.We can see that the USE flag is "sse", no "mmx" is shown
Actual Results:  
After setting USE="mmx sse" mplayer compiled correctly and
executing mplayer -v shows that MMX and SSE are active. 

Expected Results:  
I think this is just a case of incorrect output from "emerge info mplayer"
because an errenuous entry in the e-build files (wharever these are;-))

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.sdv.fr
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww lirc mad mikmod mmap mmx
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms
xv zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-07-20 00:41:17 UTC
Mine.  I'm cleaning up the ebuild right now and I may have fixed the ebuild.  I'm drafting it right now for approval, so it should be out soon.
Comment 2 toni miettinen 2004-07-27 14:36:46 UTC
i'm having problems with mplayer now (1.0_pre5-r2), because +mmx sets both mmx and mmx2 optimizations in mplayer. my processor doesn't support mmx2, and it cannot be turned off with useflags.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-08-17 23:27:09 UTC
MPlayer's mmx logic is changed.

mmx2 and sse2 USE flags have now been added to accomidate avaliabilty
to users that can handle it.

Check pre5-r3 for this.