r227487 breaks C++ programs that use __isthreaded
Kostik Belousov
kostikbel at gmail.com
Fri Dec 2 11:24:33 UTC 2011
On Thu, Dec 01, 2011 at 04:23:11PM -0500, David Schultz wrote:
> On Thu, Dec 01, 2011, George Liaskos wrote:
> > Hello
> >
> > One example is Google's tcmalloc [1], is this behaviour intended?
> >
> > [1] http://code.google.com/p/google-perftools/source/browse/trunk/src/maybe_threads.cc
>
> This code uses an unportable workaround for a bug that I believe
> was fixed in r227999. Using internal names starting with a double
> underscore isn't supported.
>
> Separately, I'm still hoping that the namespace polution
> introduced in r227487 gets fixed...
I handled the pthread_once mess in libunwind without relying on
__isthreaded, but I indeed only needed once working.
http://git.savannah.gnu.org/cgit/libunwind.git/commit/?id=08077a4962c4e606598f9f0e54b515b3c882be10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111202/dca54de6/attachment.pgp
More information about the freebsd-current
mailing list