Bug 6019 - duplicate symbols in libpthread
duplicate symbols in libpthread
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
6.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-16 23:21 EDT by jreiser
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-04 20:29:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description jreiser 1999-10-16 23:21:58 EDT
There are two global symbols 'pthread_create'
and two global symbols 'pthread_attr_init'
in /lib/libpthread-0.8.so .

$ nm -D /lib/libpthread-0.8.so | grep pthread_create
00006c34 T pthread_create
00006354 T pthread_create
$

and similarly for pthread_attr_init.  This is wasted space,
and possibly a logic bug (if in either case the two are
not duplicates of each other).
Comment 1 Cristian Gafton 2000-01-04 20:29:59 EST
Those are really

00006794 T pthread_create@@GLIBC_2.1
000070e4 T pthread_create@GLIBC_2.0

In other words, versioned implementations of the same function for backwards
compatibility.

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