This is the mail archive of the
mailing list for the GCC project.
Re: Inconsistent use of __GTHREAD_HAS_COND
- From: Jason Merrill <jason at redhat dot com>
- To: fafa <fafa at freesurf dot ch>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 09 Oct 2007 22:20:40 -0400
- Subject: Re: Inconsistent use of __GTHREAD_HAS_COND
- References: <op.tzt3yks1s6zbp7@guido2>
I tried to build gcc from the latest snapshot (gcc-4.3-20071005),
but I undefined the symbol "__GTHREAD_HAS_COND"
which is desribed in libstdc++-v3\ChangeLog as follows:
[!__GTHREAD_HAS_COND] Fall back to the old code, which deadlocks.
But libstdc++-v3\libsupc++\guard.cc uses the class __guard from
libstdc++-v3\include\ext\concurrence.h which depends on the symbol
__GTHREAD_HAS_COND and is undefined now.
Hmm? __guard is a typedef in cxxabi-tweaks.h and doesn't depend on