http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59516
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ktietz at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> --- This issue is a known binutils' ld bug. Issue here is that object-file arguments aren't treated proper for LTO-plugin. Work-a-round for this is adding all files into library by ar-tool, and doing linking via it (Side-note be aware that you will need to mark classes then via dllexport).