bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12762] LTO on Windows is broken (C++)


From: lvella at gmail dot com
Subject: [Bug ld/12762] LTO on Windows is broken (C++)
Date: Tue, 19 May 2020 00:44:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=12762

lvella <lvella at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lvella at gmail dot com

--- Comment #33 from lvella <lvella at gmail dot com> ---
I have stumbled upon this bug when cross compiling from Linux to Windows, using
GNU ld (GNU Binutils) 2.34 from Ubuntu 20.04 package
"binutils-mingw-w64-x86-64". When building a private project with -ltto, I get
multiple instances of symbol redefinition error.

I also managed to workaround the problem by using
-Wl,-allow-multiple-definition.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]