Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413107 - media-libs/devil-1.7.8 Illegal instructions due to SSE compile options
Summary: media-libs/devil-1.7.8 Illegal instructions due to SSE compile options
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://bugs.arx-libertatis.org/arx/i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-22 15:54 UTC by Alan Swanson
Modified: 2012-04-23 02: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 Alan Swanson 2012-04-22 15:54:24 UTC
While testing the Arx Fatalis open source port Arx Liberatis, I found a problem with the Devil library causing illegal instruction segfaults.

Devil compile tests the -msse, -msse2 and -msse3 options but does no runtime test and hence is always built with them if GCC supports them! There is no actual SSE assembly code or defines in Devil itself.

I would suggest disabling these tests and leaving users CFLAGS/CXXFLAGS to decide whether to use any SSE compile options. Please add the following to econf;

--disable-sse
--disable-sse2
--disable-sse3

I'll raise a bug on the Devil bug tracker.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-04-23 02:17:56 UTC
The use flags should be good enough.