Bug 87480 - binaries do not use /lib/i686 after installing glibc-2.3.2-4.80.i686.rpm
binaries do not use /lib/i686 after installing glibc-2.3.2-4.80.i686.rpm
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
i686 Linux
high Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-03-27 10:32 EST by Sandor Szabo
Modified: 2007-03-27 00:02 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-22 04:23:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sandor Szabo 2003-03-27 10:32:35 EST
Description of problem:
After installing glibc-2.3.2-4.80.i686.rpm binaries do not use the libraries in 
the directory /lib/i686 
Our binaries use the capabilities provided in the 
/lib/i686/libpthread-0.10.so and  does not work with /lib/libpthread.so.0

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

How reproducible:
Before installing glibc-2.3.2-4.80.i686.rpm 

bash-2.05$ ldd a.out
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40021000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40036000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

After  installing glibc-2.3.2-4.80.i686.rpm 

-bash-2.05b$ ldd a.out
        libpthread.so.0 => /lib/libpthread.so.0 (0x40021000)
        libc.so.6 => /lib/libc.so.6 (0x40074000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Steps to Reproduce:
1.ldd a.out 
2.install  glibc-2.3.2-4.80.i686.rpm 
3.ldd a.out 
Actual results:
libpthread is NOT used from /lib/i686

Expected results:
libpthread is used from /lib/i686

Additional info:
We depend on the i686 version of the libpthread library
Comment 1 Jakub Jelinek 2003-03-27 17:00:13 EST
A bug in platform handling was fixed in glibc, unfortunately kernel in 8.0
is broken and doesn't supply proper value for AT_PLATFORM in ELF aux vector.
Please try ftp://people.redhat.com/jakub/glibc/errata/8.0/
which has the glibc fix backed out.
Comment 2 Sandor Szabo 2003-03-28 07:32:13 EST
Hi Jakub,
I have downloaded the new patches from
but unfortunately the same behavior
Sorry, I still need you help
Comment 3 Michael Lee Yohe 2003-03-28 10:20:41 EST
Wow.. I consider this a pretty big problem for those who rely on the performance
benefits of a properly targeted glibc.  Jakub - any idea if this warrants a
newly issued errata package (considering the amount of havoc the last update
seems to have created...)?
Comment 4 Jakub Jelinek 2003-03-29 03:45:35 EST
Oops, sorry. There were more things needed to make /lib/i686 work
on a buggy kernel.
already uses /lib/i686 on the current 8.0 errata kernel, and unlike 2.2.93-5
even searches /lib/i686 with LD_LIBRARY_PATH=/lib
Comment 5 Sandor Szabo 2003-03-31 04:43:57 EST
Hi Jakub,
I have some good news! Your latest version works as expected.
We did test it with our software and it works.
Thanks for your help. 
When will this fix be available through errata?

Comment 6 Sandor Szabo 2003-03-31 04:49:40 EST
Sorry I did not want to close it!
Comment 7 Michael Lee Yohe 2003-03-31 10:17:42 EST
Has there been a kernel bug filed to track the problems that have caused
"unnecessary" hacks to get glibc to properly work with the Red Hat kernel?
Comment 8 Ulrich Drepper 2003-04-22 04:23:43 EDT
RHL9 (and RHL8 with the latest updates of glibc and kernel) shouldn't have any

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