https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- The bug is that the symbols in lisbtdc++.so are attempting to delete the _S_empty_rep_storage object, which suggests that this check is false when it should be true: this != &_S_empty_rep() That suggests we have multiple definitions of the empty rep symbol, which aren't being combined.