[Bug libstdc++/98098] std::call_once throws std::system_error in statically linked executable
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 2 16:36:18 GMT 2020
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 ***
More information about the Gcc-bugs
mailing list