Issue 11541 - Debuginfo errors building vibe.d for Win64
Summary: Debuginfo errors building vibe.d for Win64
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Windows
: P2 major
Assignee: No Owner
URL:
Keywords: DebugInfo
Depends on:
Blocks:
 
Reported: 2013-11-18 08:54 UTC by Manu
Modified: 2019-08-20 22:12 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Manu 2013-11-18 08:54:09 UTC
.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 Walter Bright 2014-12-19 23:29:00 UTC
What program is generating these error messages?
Comment 2 Manu 2014-12-21 00:54:52 UTC
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 Rainer Schuetze 2014-12-21 08:37:09 UTC
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 Manu 2014-12-22 00:40:25 UTC
Ah, well spotted.
This is probably a problem with vibe.d's dub build configuration then.
Comment 5 Rainer Schuetze 2019-08-20 22:12:35 UTC
Likely a dub configuration issue. Please reopen with more details if you think this is dmd issue.