[Bug 2089] errno not threadsafe

bugzilla at busybox.net bugzilla at busybox.net
Tue Jul 6 17:27:54 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=2089

--- Comment #12 from Peter Korsgaard <jacmet at uclibc.org>  ---
(In reply to comment #11)

> > But that means we're back to square one, right? Today, with a dynamic libc and
> > -pthread we end up using the __errno_location in libc, not in libpthread.
> 
> the libc one's will be weak symbols and libpthread ones will be strong so when
> linking libpthread.so will be preferred.

Yes, but that's not what happens as it is (libc version weak + hidden) - The
libc version is used within libc because of the hidden.

With my patch to remove the hidden it works.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list