http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52569
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2012-03-13 08:52:36 UTC --- (In reply to comment #1) > Mine. But I can only guess a fix and not test it. Basically we now > absolutely > require the GTHREAD_ONCE stuff, please have a try providing it for darwin > (I can see a manual page for pthread_once at least). > > I see in unwind-dw2-fde-darwin.c: > > /* Carefully don't include gthr.h. */ > > what's that about? It looks like that hack no longer works with the > changed condition for using __GTHREAD_MUTEX_INIT_FUNCTION. apologies, no time to look at this right now... .. is the content of this thread helpful? http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00211.html