http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53270
Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed|2012-05-07 00:00:00 |2012-05-08 CC| |steven at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #9 from Steven Bosscher <steven at gcc dot gnu.org> 2012-05-08 18:59:00 UTC --- (In reply to comment #8) > It appears to me that gcc61 is using the old linuxthreads > implementation of pthreads. It may be necessary to use > __GTHREAD_MUTEX_INIT_FUNCTION instead of __GTHREAD_MUTEX_INIT, > etc, in ext/concurrence.h. from include/ext/concurrence.h:151-165 (trunk r187249): public: __mutex() { #if __GTHREADS if (__gthread_active_p()) { #if defined __GTHREAD_MUTEX_INIT __gthread_mutex_t __tmp = __GTHREAD_MUTEX_INIT; _M_mutex = __tmp; #else __GTHREAD_MUTEX_INIT_FUNCTION(&_M_mutex); #endif } #endif }