Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413107

Summary: media-libs/devil-1.7.8 Illegal instructions due to SSE compile options
Product: Gentoo Linux Reporter: Alan Swanson <reiver>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.arx-libertatis.org/arx/issues/218
Whiteboard:
Package list:
Runtime testing required: ---

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.