https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105933
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- You are refering to the LTRANS objects created from the LTRANS compile phase. These should be perfectly valid to link and have correct st_bind/visibility, but not necessarily the same as originally since link optimization combines multiple TUs and distributes them to multiple LTRANS units, requiring former local symbols to refer to each other from different LTRANS units. Do you have a testcase that shows linking not-through-the-plugin doesn't work?