https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #3) > I don't know what the C4 constructor is for, but we should probably export > it. Well I tried with -static-libstdc++ and it fails with that option too. So I am suspecting exporting it for the shared library won't help. So maybe this is either a C++ front-end or IPA issue after all.