https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125359
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-05-18
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That's not possible :)
You have `-c` in your command, that's why you're not seeing a linker error.
I tried in a fedora rawhide container and got the error I wanted:
__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EOS4_
It's a C4 constructor, I suspect we're only exporting C1 and C2.