Bug 81755

Summary: Statically linking against /usr/lib/nptl/*.a, glibc-2.3.1-34
Product: [Retired] Red Hat Raw Hide Reporter: Jeff Johnson <jbj>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-14 13:50:25 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 Jeff Johnson 2003-01-13 19:22:17 UTC
Attempting to statically link rpm against nptl from -34,
I get the following unresolved symbols with -L/usr/lib/nptl

/usr/lib/nptl/libpthread.a(lowlevelcond.o)(.text+0x5f): In function
`pthread_cond_wait':
: undefined reference to `__pthread_mutex_unlock_internal'
/usr/lib/nptl/libpthread.a(lowlevelcond.o)(.text+0x11b): In function
`pthread_cond_wait':
: undefined reference to `__pthread_mutex_lock_internal'
/usr/lib/nptl/libpthread.a(lowlevelcond.o)(.text+0x172): In function
`pthread_cond_timedwait':
: undefined reference to `__pthread_mutex_unlock_internal'
/usr/lib/nptl/libpthread.a(lowlevelcond.o)(.text+0x293): In function
`pthread_cond_timedwait':
: undefined reference to `__pthread_mutex_lock_internal'
collect2: ld returned 1 exit status

FWIW I don't see the symbols anywhere in /usr/lib/nptl/*.a nor in
/usr/include/{*.h,*/*.h}

Comment 1 Jakub Jelinek 2003-01-14 13:50:25 UTC
Should be fixed in nptl-devel-2.3.1-35 and above.