Bug 118518 - gmp inclusion of SSE2 optimized libs causes Illegal Instructions on non-Pentium systems
gmp inclusion of SSE2 optimized libs causes Illegal Instructions on non-Penti...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
rawhide
All Linux
high Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
 
Reported: 2004-03-17 07:21 EST by Brian Bruns
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version: 2.3.3-18
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-03-22 12:22:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Brian Bruns 2004-03-17 07:21:48 EST
Description of problem:
gmp-4.1.2-13 includes SSE2 optimized libraries in /usr/lib/sse2 in the
default i386 package.  ld picks up on these libraries, even on a non
Pentium processor (like my Athlon XP 2000+) and loads these instead of
the generic ones in /usr/lib.

This causes Illegal Instruction errors in applications that link with
the libraries (clamav being the prime example) until either an older
version of gmp is installed (such as 4.1.2-9) or the sse2 directory is
moved out of the way and ldconfig is rerun.

Version-Release number of selected component (if applicable):
4.1.2-13

How reproducible:
Every time

Steps to Reproduce:
1. Install gmp-4.1.2-13.i386.rpm and gmp-devel-4.1.2-13.i386.rpm
2. try to start clamd or freshclam
  
Actual results:
binaries bomb out with Illegal Instruction while attempting to use gmp
functions

Expected results:
binaries should function normally without crashing

Additional info:
This appears to be directly related to the sse2 optimized libs.  I do
not believe that the Athlon XP series emulates sse2.
Comment 1 Bill Nottingham 2004-03-18 00:48:10 EST
Shouldn't the dynamic loader be skipping these?
Comment 2 Bernhard Weisshuhn 2004-03-18 06:41:07 EST
Same for me (regular Athlon). Doing s/pentium4/athlon/gi on the
specfile and recompiling cures the problems for athlons.

See also:
http://www.redhat.com/archives/fedora-test-list/2004-March/msg01039.html
Comment 3 Jakub Jelinek 2004-03-18 08:58:55 EST
Seems to be a long standing glibc bug, testing a fix.
Comment 5 Jakub Jelinek 2004-03-22 12:22:53 EST
Should be fixed in glibc-2.3.3-18.
Comment 6 Jay Turner 2004-08-20 09:05:42 EDT
Fix confirmed with 2.3.2-95.26.
Comment 7 Jay Turner 2004-09-02 01:57:33 EDT
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-384.html

Note You need to log in before you can comment on or make changes to this bug.