This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/88396] -flto -Wl,--whole-archive causes "multiple definition" errors in elfutils (only for bfd, not gold)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Dec 2018 00:02:33 +0000
- Subject: [Bug lto/88396] -flto -Wl,--whole-archive causes "multiple definition" errors in elfutils (only for bfd, not gold)
- Auto-submitted: auto-generated
- References: <bug-88396-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88396
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>I'm not sure if it's an ld or gcc bug.
Since it works with gold, this is more likely an BFD ld issue.
What version of binutils are you trying with?