http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52569
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-03-13 AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.8.0 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-13 08:42:53 UTC --- 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.