[Bug 2089] errno not threadsafe
bugzilla at busybox.net
bugzilla at busybox.net
Tue Jul 6 17:21:47 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=2089
--- Comment #11 from Khem Raj <raj.khem at gmail.com> ---
(In reply to comment #10)
> (In reply to comment #9)
> > > So what exactly do you suggest?
> >
> > We need to say that when compiling static libc.a then dont use this
> > hidden_proto and hidden_def because it does not matter in that case.
> >
> > but when compiling PIC version then we use it.
>
> 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.
--
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