[Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main
bruno at clisp dot org
sourceware-bugzilla@sourceware.org
Sun Jul 16 22:10:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=21777
--- Comment #1 from Bruno Haible <bruno at clisp dot org> ---
Note that some functions, such as getpwuid, produce a warning
"warning: Using 'getpwuid' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking"
but in this case, there were no such warnings. Therefore pthread_getspecific
and pthread_setspecific ought to work in a statically linked program.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list