[Bug target/59516] [4.9 Regression] Multiple definition of `X' / of `non-virtual thunk to X' errors with LTO
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 12 19:14:00 GMT 2014
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).
More information about the Gcc-bugs
mailing list