This is the mail archive of the
mailing list for the GCC project.
Inconsistent use of __GTHREAD_HAS_COND
- From: fafa <fafa at freesurf dot ch>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 07 Oct 2007 17:57:46 +0200
- Subject: Inconsistent use of __GTHREAD_HAS_COND
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.
It seems to me that the two files are not consistent.
What should I do ?