| Summary: | x86 mpg123 CPU optimizations not enabled during build despite USE="mmx sse" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex Cannon <alex6z> |
| Component: | Current packages | Assignee: | Samuli Suominen (RETIRED) <ssuominen> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge -av mpg123 log | ||
|
Description
Alex Cannon
2010-04-25 00:34:01 UTC
Created attachment 229041 [details]
emerge -av mpg123 log
Does changing
if [[ ${ABI} = x86 ]]; then
to
if use x86; then
in the ebuild solve your problem? That change was made for bug 295075.
And this is a duplicate of bug 313729. After that change it went to x86 now! So yeah that worked.
What does ${ABI} mean anyway?
*** This bug has been marked as a duplicate of bug 295075 *** In bug 295075 the "fixed" ebuild that was attached there contains this: if [[ ${ABI} = x86 ]]; then _cpu=i586 use mmx && _cpu=mmx use 3dnow && _cpu=3dnow use sse && _cpu=x86 use 3dnowext && _cpu=x86 fi Which is what I had in portage, and I had to change "if [[ ${ABI} = x86 ]]; then" to "if use x86; then" to make it work. So I don't think that bug is resolved yet. I fixed it differently, just emerge --sync to get the updated ebuild I just did --sync and emerge mpg123 and it is still broken. The ebuild still contains this problematic code. Apparently that if statement is always false.
if [[ ${ABI} = x86 ]]; then
_cpu=i586
use mmx && _cpu=mmx
use 3dnow && _cpu=3dnow
use sse && _cpu=x86
use 3dnowext && _cpu=x86
fi
|