https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98098
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- See Bug 58909 which is exactly the same issue. Comment 2 has the solution. This is no longer a problem with the GCC development trunk because std::call_once doesn't use pthread_once. *** This bug has been marked as a duplicate of bug 58909 ***