http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52627
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-03-20 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-20 09:46:57 UTC --- Oops. Can you try Index: libgcc/libgcov.c =================================================================== --- libgcc/libgcov.c (revision 185562) +++ libgcc/libgcov.c (working copy) @@ -713,7 +713,7 @@ __gthread_mutex_t __gcov_flush_mx ATTRIB static void init_mx (void) { - __GTHREAD_MUTEX_INIT_FUNCTION (&mx); + __GTHREAD_MUTEX_INIT_FUNCTION (&__gcov_flush_mx); } static void init_mx_once (void) ?