Bug 81755 - Statically linking against /usr/lib/nptl/*.a, glibc-2.3.1-34
Statically linking against /usr/lib/nptl/*.a, glibc-2.3.1-34
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: glibc (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-13 14:22 EST by Jeff Johnson
Modified: 2016-11-24 10:23 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-14 08:50:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeff Johnson 2003-01-13 14:22:17 EST
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 08:50:25 EST
Should be fixed in nptl-devel-2.3.1-35 and above.

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