Bug 18522 – [REG 2.079-b2] MinGW import libraries interfere with platform SDK

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2018-02-25T14:31:22Z
Last change time
2019-04-14T07:41:30Z
Assigned to
No Owner
Creator
Rainer Schuetze

Comments

Comment #0 by r.sagitario — 2018-02-25T14:31:22Z
dmd does no longer link with an installation of dmd 2.079 when building through the Visual Studio project. This happens because dmds lib64/lib32mscoff folder is passed to the linker as a search path to phobos64.lib. It also contains the mingw-libraries that don't work with LIBCMT.lib from the VC installation. The latter expects more uptodate libraries. The mingw libraries should only be used if no SDK is found. dmd already expects this to be the case and adds lib64/mingw as a search path in that case.
Comment #1 by r.sagitario — 2018-02-28T10:37:27Z
fixed in 2.079-rc1
Comment #2 by dlang-bot — 2019-04-14T07:41:30Z
dlang/installer pull request #373 "Build mingw on Azure" was merged into master: - 73fab74cd73856d43c6ddb1067738387796ba4f3 by Rainer Schuetze: fix issue 18522 - [REG 2.079-b2] MinGW import libraries interfere with platform SDK build mingw libraries into a mingw sub folder https://github.com/dlang/installer/pull/373