unconditional use of SSE3 instructions

Bug #987634 reported by Daniel Scharrer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devil (Debian)
New
Unknown
devil (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

DevIL's 1.7.8 ./configure script enables SSE, SSE2 and SSE3 instructions if supported by the compiler and unless such instructions are explicitly disabled by --disable-sse3 etc. There is not run-time check for CPU support when using these instructions - in fact it adds the -msse3 compiler option.

SSE3 is not universally supported in 32-bit x86 CPUs and using affected functions such as ilConvertImage() may result in the application being terminated with the SIGILL signal on such CPUs.

This bug is present in Debian's devil 1.7.8-6 which is used unmodified in lucid and maverick. There is an 1 year old upstream bug report at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954

The bug is also present in natty (1.7.8-6build1), oneiric (1.7.8-6build2) and precise (1.7.8-6.1ubuntu1)

Re-building DevIL without SSE3 support fixes this bug.

There is also an upstream DevIL bug report at https://sourceforge.net/tracker/?func=detail&aid=3520344&group_id=4470&atid=104470

This bug is also found in many other Linux distributions' DevIL packages. I have reported it to Gentoo and it has been fixed there: https://bugs.gentoo.org/show_bug.cgi?id=412791

Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Changed in devil (Ubuntu):
status: New → Confirmed
Changed in devil (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.