https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77704
Daniel Boles <dboles.src at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dboles.src at gmail dot com --- Comment #7 from Daniel Boles <dboles.src at gmail dot com> --- Yup, I too was just bitten by this, with libstdc++ 9.4.0-1ubuntu1~20.04.1 Luckily the Thread Sanitizer finally led me to the diagnosis, and many thanks to Boris for posting his workaround, which I can confirm seems to fix it for me too