Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200532 - media-plugins/audacious-plugins-1.4.[01] lacks sse2 USE flag
Summary: media-plugins/audacious-plugins-1.4.[01] lacks sse2 USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-27 17:14 UTC by Risto A. Paju
Modified: 2007-12-03 15:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed ebuild (audacious-plugins-1.4.1-r1.ebuild,2.83 KB, text/plain)
2007-11-27 17:15 UTC, Risto A. Paju
Details
emerge --info (emerge-info.txt,3.53 KB, text/plain)
2007-11-27 20:49 UTC, Risto A. Paju
Details
Add sse2 USE flag to ebuild (audacious-plugins-1.4.1-use_sse2.diff,938 bytes, patch)
2007-11-27 20:50 UTC, Risto A. Paju
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Risto A. Paju 2007-11-27 17:14:26 UTC
Of my two active Gentoo machines, one has an sse2 capable CPU, and the other does not. I use least-common-denominator USE/CFLAGS etc. to build binaries for both machines. Unfortunately, when emerging audacious-plugins on the newer machine, ./configure autodetects sse2, so the binary crashes with "illegal instruction" on the older machine. There's currently no USE flag for sse2, and CFLAGS don't help.

Reproducible: Always

Steps to Reproduce:
1. Emerge audacious-plugins with USE="-sse2" on a sse2 capable machine
2. Emerge the binary on a non-sse2 machine
3. Start audacious on the latter machine, load some music files

Actual Results:  
Illegal instruction

Expected Results:  
Play the music

I've added the sse2 USE flag into the ebuild, along with use_enable sse2. This fixes the problem for me.
Comment 1 Risto A. Paju 2007-11-27 17:15:22 UTC
Created attachment 137130 [details]
Fixed ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-27 19:13:37 UTC
Reopen with a unified diff and emerge --info attached. Thanks.
Comment 3 Risto A. Paju 2007-11-27 20:49:18 UTC
Created attachment 137152 [details]
emerge --info
Comment 4 Risto A. Paju 2007-11-27 20:50:54 UTC
Created attachment 137153 [details, diff]
Add sse2 USE flag to ebuild
Comment 5 Risto A. Paju 2007-11-27 20:51:38 UTC
Reopened with info and diff as requested.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2007-12-03 15:49:48 UTC
This has been addressed in the audacious-plugins-1.4.2 ebuild that was just committed to CVS. You will see this in portage within the next two hours.

Thank you for your bug report :)