www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Windows: can LDC master build itself?

reply Johan Engelen <j j.nl> writes:
Hi all,
   I think kinke mentioned somewhere that LDC master can build 
itself on Windows, but I am having troubles. It can compile 
itself (after applying a small fix, PR submitted) but it crashes 
while building druntime.
Is my build setup perhaps broken?

Thanks,
   Johan
Apr 10 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
Hi,

I just tried that, too. It seems to build a few files from druntime, bit 
crashes early. The top of the stack shows _d_newclass, so I suspect it 
could be GC related.

Rainer

On 10.04.2016 22:45, Johan Engelen wrote:
 Hi all,
    I think kinke mentioned somewhere that LDC master can build itself on
 Windows, but I am having troubles. It can compile itself (after applying
 a small fix, PR submitted) but it crashes while building druntime.
 Is my build setup perhaps broken?

 Thanks,
    Johan
Apr 11 2016
parent David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On 11 Apr 2016, at 18:52, Rainer Schuetze via digitalmars-d-ldc wrote:
 The top of the stack shows _d_newclass, so I suspect it could be GC 
 related.
DMD is not supposed to use the GC, so as long as it is being disabled properly, that would be rather surprising. — David
Apr 11 2016