Windows devs - how are you building dmd, druntime, phobos?

Martin Krejcirik mk-junk at i-line.cz
Thu Jul 25 19:05:00 UTC 2019


On Thursday, 25 July 2019 at 13:12:58 UTC, Atila Neves wrote:
> For dmd, neither win32.mak or win64.mak work for me at all. I'm 
> at a loss as to how they work for the autotester. Fortunately I 
> learned about build.d on github, and that works fine.

win32.mak works fine for me with proper paths to dmd and dmc.
build.d or win64.mak doesn't work at all for me. I'm using 
minimal visual studio install (VS build tools, or how is it 
called). However for 32 bit build it's not needed.

Druntime compilation fails since dmd 2.085 on some internal error 
(assert failure).

---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the 
information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help 
with the reduction.
---
DMD v2.085.1

predefs   DigitalMars Windows CRuntime_DigitalMars 
CppRuntime_DigitalMars LittleEndian D_Version2 all D_InlineAsm 
D_InlineAsm_X86 X86 Win32 D_ModuleInfo D_Exceptions D_TypeInfo 
D_HardFloat
binary    
D:\Programs\dmd2.src\src\generated\windows\release\32\dmd.exe
version   v2.085.1

config
DFLAGS    (none)
---

core.exception.AssertError at dmd\dsymbolsem.d(3344): Assertion 
failure
----------------
0x00605363 in _d_assertp
0x00461332 in DsymbolSemanticVisitor at 
D:\Programs\dmd2.src\src\dmd\dmd\dsymbolsem.d(3695)
0x004A5C4D in FuncDeclaration at 
D:\Programs\dmd2.src\src\dmd\dmd\func.d(2405)
0x00458E0C in dsymbolSemantic at 
D:\Programs\dmd2.src\src\dmd\dmd\dsymbolsem.d(366)
0x0045C00A in DsymbolSemanticVisitor at 
D:\Programs\dmd2.src\src\dmd\dmd\dsymbolsem.d(1574)
0x0045C05A in DsymbolSemanticVisitor at 
D:\Programs\dmd2.src\src\dmd\dmd\dsymbolsem.d(1586)
0x004F86F9 in ParseTimeVisitor at 
D:\Programs\dmd2.src\src\dmd\dmd\parsetimevisitor.d(73)
0x0040996D in StorageClassDeclaration at 
D:\Programs\dmd2.src\src\dmd\dmd\attrib.d(306)
0x00458E0C in dsymbolSemantic at 
D:\Programs\dmd2.src\src\dmd\dmd\dsymbolsem.d(366)



More information about the Digitalmars-d mailing list