Trouble Compiling DMD, Druntime, Phobos on Windows

Stanislav Blinov stanislav.blinov at gmail.com
Thu Feb 13 18:50:02 PST 2014


On Friday, 14 February 2014 at 01:09:42 UTC, Meta wrote:
> I'm using Windows 7 x64, but compiling 32-bit DMD. DMD compiles 
> fine, but the linker warns about a "Warning 9: Unknown Option : 
> LA". After that, when trying to compile Druntime, DMD chokes 
> with this error:
>
> "Assertion Failure: 'impl' on line 4930 in file 'mtype.c'".
>
> I looked in the file, but all I could find on line 4930 was:
>
> int TypeAArray::isZeroInit(Loc loc)
> {
>     return true;
> }
>
> So I'm not really sure what's going on here, though I obviously 
> did something wrong compiling DMD.

Are you by chance trying to compile dirty druntime tree? (i.e. 
you've compiled it before?). If so, make clean first. I had an 
error along the lines of what you're describing after a recent 
pull, but I'm not 100% sure it's the same one.


More information about the Digitalmars-d-learn mailing list