Bug 12125 – Win64 phobos has hard references to LIBCMT
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-02-09T21:04:24Z
Last change time
2018-03-23T07:09:56Z
Keywords
industry, pull
Assigned to
No Owner
Creator
Manu
Comments
Comment #0 by turkeyman — 2014-02-09T21:04:24Z
Unless phobos has some dependencies on a particular flavour of MS CRT, then it should be built with /Zl to omit the reference in the object files.
If phobos does depend on the particular flavour of CRT it links against, then a suite of phobos libs would need to be built to match the suite of CRT options. I don't think this is the case however.
Currently, linking phobos causes CRT conflicts when linking in conjunction with other libs that depend on a different CRT.
Comment #1 by turkeyman — 2014-12-30T01:28:57Z
This should be a trivial fix, has anyone looked at it? Just add /Zl when compiling...