Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91352 - mplayer ebuild will always warn about cpu flags when using mmxext to enable mmx2
Summary: mplayer ebuild will always warn about cpu flags when using mmxext to enable mmx2
Status: VERIFIED DUPLICATE of bug 86318
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-03 13:42 UTC by Joe Bloggs
Modified: 2005-05-09 14:17 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 Joe Bloggs 2005-05-03 13:42:48 UTC
The mplayer ebuilds now require the setting of the "mmxext" USE flag to enable MMX2 during the build.  The ecpu_check() function in the ebuild warns about cross-compiling when it can't find all the specified CPU_FLAGS in /proc/cpuinfo.

The problem with this approach is Intel cpu's will never report "mmxext" or "mmx2".  A quick check of /usr/src/linux-2.6.10-gentoo-r6/arch/i386/kernel/cpu/proc.c, shows that "mmxext" is an AMD only flag, whilst there is no flag at all for "mmx2".

Reproducible: Always
Steps to Reproduce:
On an machine with an intel cpu:
1. USE="mmx mmxext" emerge -v mplayer
2. 
Actual Results:  
...
 * You have mmxext support enabled but your processor doesn't
 * Seem to support it!  You might be cross compiling or do not have /proc filesystem
 * enabled.  If either is the case, set CROSSCOMPILE to 1 to disable this warning.

...



Expected Results:  
If the ebuild is going to insist on using "mmxext" as the flag to enable mmx2
support, then it should not warn about it not being supported.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-03 14:53:50 UTC

*** This bug has been marked as a duplicate of 86318 ***
Comment 2 Luca Barbato gentoo-dev 2005-05-09 14:17:21 UTC
Closing