http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51906
--- Comment #53 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-04 13:38:57 UTC --- I did think about fixincludes, but that would undef PTHREAD_RECURSIVE_MUTEX_INITIALIZER for everyone, whereas we only really need to undef the gthr equivalent to stop libstdc++ using it. I'll try to work on a final version of the patch today.