Bug 11541 – Debuginfo errors building vibe.d for Win64
Status
RESOLVED
Resolution
INVALID
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2013-11-18T08:54:09Z
Last change time
2019-08-20T22:12:35Z
Keywords
DebugInfo
Assigned to
No Owner
Creator
Manu
Comments
Comment #0 by turkeyman — 2013-11-18T08:54:09Z
.dub\lib\vibe-d_d.lib: Error: MS-Coff object module C:\Users\Manu\AppData\Roaming\dub\packages\vibe-d-0.7.18-beta.2\lib\win-i386\eay.lib has magic = df0, should be 8664
.dub\lib\vibe-d_d.lib: Error: MS-Coff object module C:\Users\Manu\AppData\Roaming\dub\packages\vibe-d-0.7.18-beta.2\lib\win-i386\event2.lib has magic = df0, should be 8664
.dub\lib\vibe-d_d.lib: Error: MS-Coff object module C:\Users\Manu\AppData\Roaming\dub\packages\vibe-d-0.7.18-beta.2\lib\win-i386\ssl.lib has magic = df0, should be 8664
Comment #1 by bugzilla — 2014-12-19T23:29:00Z
What program is generating these error messages?
Comment #2 by turkeyman — 2014-12-21T00:54:52Z
I had presumed it was DMD?
Perhaps it was link.exe?
I didn't imagine the string 'MS-Coff object' would be emitted by any of the MS tools. That seems to be a distinction made within DMD.
Comment #3 by r.sagitario — 2014-12-21T08:37:09Z
Yes, that's a dmd message. It seems you are building a library while adding the prebuilt libs eay,ssl,etc. to it.
From the paths in the messages (win-i386), it seems you (or the build script) are mixing i386 and x64 here. The libraries from the lib\win-amd64 folder have to be used.
Comment #4 by turkeyman — 2014-12-22T00:40:25Z
Ah, well spotted.
This is probably a problem with vibe.d's dub build configuration then.
Comment #5 by r.sagitario — 2019-08-20T22:12:35Z
Likely a dub configuration issue. Please reopen with more details if you think this is dmd issue.