https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68479
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. I don't think this is intended to work when you re-export the libstdc++ symbols. Not sure if there is an easy way to make them hidden with --begin-group/--end-group and a linker flag. So you'd need to provide a version script to the link of x.so and y.so.