This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main
- From: "bruno at clisp dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 16 Jul 2017 22:10:33 +0000
- Subject: [Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main
- Auto-submitted: auto-generated
- References: <bug-21777-131@http.sourceware.org/bugzilla/>
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.