This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]