https://sourceware.org/bugzilla/show_bug.cgi?id=26675
--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
Hi Mike,
I have a feeling that this is an LTO issue:
libstdc++.a(eh_alloc.o):eh_alloc.cc:
(.rdata$_ZTSSt9exception[__ZTSSt9exception]+0x0):
multiple definition of `typeinfo name for std::exception';
config_config.cpp.obj (symbol from plugin):
(.gnu.linkonce.t._ZTSSt9exception+0x0): first defined here
If you build without LTO does the linking work ?
If it is an LTO issue, then the most likely candidate is the linker
LTO plugin, which is actually part of the GCC project. Which version
of gcc are you using ? If not the latest then maybe it is worth
trying that.
Another interesting point is that the problematic symbols in
libstdc++.a are not in linkonce sections. I would have expected
them to be in such sections, as this would have resolved the
problem. So how is the libstdc++.a library being built ?
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.