Bug 6019

Summary: duplicate symbols in libpthread
Product: [Retired] Red Hat Linux Reporter: jreiser
Component: glibcAssignee: Cristian Gafton <gafton>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-05 01:29:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jreiser 1999-10-17 03:21:58 UTC
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-05 01:29:59 UTC
Those are really

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

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