Bug 20804 – Using LTO with LDC generates incorrect static libraries

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2020-05-08T08:25:13Z
Last change time
2021-05-23T12:09:10Z
Assigned to
No Owner
Creator
Marcel

Comments

Comment #0 by marcelpi97 — 2020-05-08T08:25:13Z
Comment #1 by r.sagitario — 2021-05-23T12:09:10Z
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.