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):
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
binaries bomb out with Illegal Instruction while attempting to use gmp
binaries should function normally without crashing
This appears to be directly related to the sse2 optimized libs. I do
not believe that the Athlon XP series emulates sse2.
Shouldn't the dynamic loader be skipping these?
Same for me (regular Athlon). Doing s/pentium4/athlon/gi on the
specfile and recompiling cures the problems for athlons.
Seems to be a long standing glibc bug, testing a fix.
Should be fixed in glibc-2.3.3-18.
Fix confirmed with 2.3.2-95.26.
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.