[Issue 20804] Using LTO with LDC generates incorrect static libraries

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 23 12:09:10 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=20804

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |r.sagitario at gmx.de
         Resolution|---                         |WORKSFORME

--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
seems to work with Visuald 1.1.1 and LDC 1.26.0, when specifying --flto=full as
additional command lineoptions.

When using the VC-projects, you'll have to switch to the clang-cl toolchain to
get appropriate linker support.

Please specify more details if the problem persists.

--


More information about the Digitalmars-d-bugs mailing list