Bug 22525 – Cannot link m64 or m32mscoff

Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2021-11-18T20:16:01Z
Last change time
2022-12-27T17:10:36Z
Keywords
backend, link-failure
Assigned to
No Owner
Creator
Răzvan Ștefănescu

Comments

Comment #0 by rumbu — 2021-11-18T20:16:01Z
I recently updated D from 2.089 directly to 2.098: This is what I get when trying to compile for m64 or m32mscoff: lld-link: error: could not open 'libcmt.lib': no such file or directory lld-link: error: could not open 'OLDNAMES.lib': no such file or directory Error: linker exited with status 1 Probably related to this change: https://dlang.org/changelog/2.091.0.html#windows Current paths: PS D:\git\y> (get-command dmd).source C:\D\dmd2\windows\bin\dmd.exe PS D:\git\y> (get-command link).source C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\link.exe Tried also to run dmd from bin64 folder, same result.
Comment #1 by ibuclaw — 2022-12-27T17:10:36Z
This needs a lot more information if anything is to be done. *** This issue has been marked as a duplicate of issue 19760 ***