https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58909
Keegan Saunders <ksaunders at nowsecure dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ksaunders at nowsecure dot com --- Comment #12 from Keegan Saunders <ksaunders at nowsecure dot com> --- This behaviour does not occur with clang when statically linking libc++. It is, however, still an issue on clang and gcc when using libstdc++. It is still possible to reproduce this issue with: clang version 11.0.0 (Fedora 11.0.0-2.fc33) and g++ (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9) As libc++ links against glibc, this appears to be strictly an issue with libstdc++ rather than glibc.