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

Bug 98765

Summary: Some USE-flags (mmx, sse, 3dnow, and some other) are not used in compilation.
Product: Gentoo Linux Reporter: Sergey Belyashov <Sergey.Belyashov>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey Belyashov 2005-07-12 04:27:59 UTC
Gentoo 2005.0
CFLAGS="-march=k8 -pipe -O2"
CXXFLAGS=$CFLAGS
All portages are last at this moment.

Reproducible: Always
Steps to Reproduce:
1. /etc/make.conf must have USE="amd64 X mmx mmxext 3dnow 3dnowext sse sse2 ..."
2. emerge --info
3. equery uses mplayer

Actual Results:  
$ cat /etc/make.conf
 ...
 USE="amd64 X mmx 3dnow sse sse2 mmxext 3dnowext ..."
 ...

$ emerge --info
 ...
 USE="amd64 X ...".
 ...
$ equery uses mplayer
 U I
 ...
 - - mmx
 - - 3dnow
 - - sse
 - - sse2
 ...

Expected Results:  
$ cat /etc/make.conf
 ...
 USE="amd64 X mmx 3dnow sse sse2 mmxext 3dnowext ..."
 ...

$ emerge --info
 ...
 USE="amd64 X mmx 3dnow sse sse2 mmxext 3dnowext ...".
 ...
$ equery uses mplayer
 U I
 ...
 + - mmx
 + - 3dnow
 + - sse
 + - sse2
 ...

When I try to change these flags: mmx -> mmx_, sse -> sse_
Then problem resolves:
$ cat /etc/make.conf
 ...
 USE="amd64 X mmx_ 3dnow_ sse_ sse2_ mmxext_ 3dnowext_ ..."
 ...
$ equery uses mplayer
 U I
 ...
 + - mmx
 + - 3dnow
 + - sse
 + - sse2
 ...
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-07-12 04:30:21 UTC
the use flags are disabled because you don't have the choice, however, they are
hard-enabled. for more info, see
http://dev.gentoo.org/~plasmaroo/devmanual//archs/amd64/#assembler-optimisation