[Xcb] pthread_condattr_{init,destroy} stubs in libc?
Uli Schlachter
psychon at znc.in
Sun Mar 5 07:47:09 UTC 2017
On 04.03.2017 16:59, Matt Turner wrote:
> Context: https://bugs.freedesktop.org/show_bug.cgi?id=72074#c2
[...]
I would summarize the problem as "libpthread-stubs.so provides weak
symbols, FreeBSD's threading library provides weak symbols, the result
is that a mix of stubs and real functions is used".
All of this problem goes away with the new patches against
pthread-stubs. There is no longer any libpthread-stubs.so whose weak
symbols could cause problems. Instead, pthread-stubs.pc will just "make"
things link against libpthread directly and everyone is happy.
Right?
(Of course, having stubs in libc for the functions which can be stubbed
would still be a good idea and would avoid single-threaded programs
linking against libpthread)
Uli
--
Sent from my Game Boy.
More information about the Xcb
mailing list