Bug 97528
Summary: | unresolved symbol pthread_once | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mathias Fröhlich <mathias.froehlich> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | fweimer |
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: | 2003-06-17 15:26:20 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
Mathias Fröhlich
2003-06-17 11:45:30 UTC
They are not available in /lib/libc-2.3.2.so either (that w __pthread_once is weak undefined symbol to __pthread_once) and never has been. If you need those symbols, you need to link with -lpthread. If you need to use it conditionally, you need to make them weak externs in your library (e.g. through #pragma weak pthread_once etc.) and first test if those symbols are actually available. |