Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98765 - Some USE-flags (mmx, sse, 3dnow, and some other) are not used in compilation.
Summary: Some USE-flags (mmx, sse, 3dnow, and some other) are not used in compilation.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-12 04:27 UTC by Sergey Belyashov
Modified: 2005-07-12 04:30 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 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