[D-runtime] I can't get druntime to build on Wnidows

Jonathan M Davis jmdavisProg at gmx.com
Sun Jul 15 14:54:52 PDT 2012


Right now, whenever I try and build druntime on Windows, I get this error:

Internal error: toir.c 528

I made sure that dmd and druntime match what's on github (even blowing away 
all of the files and then using git-checkout to restore them). I removed my 
/c/dmd2 directory, grabbed the one from the last release, restored my sc.ini 
file, restored the curl libraries (which druntime doesn't need anyway), built 
dmd, and put in /c/dmd2/windows/bin/, all of which should make dmd and 
druntime and all of the stuff that they rely on as fresh as they can be, and 
I'm _still_ getting this same failure. The autotester is passing, so I assume 
that it's an environment issue on my part, but I have no idea what it could 
be. My sc.ini file looks like this:

-------------------
[Version]
version=7.51 Build 020

[Environment]
LIB="c:\github\druntime\lib";"c:\github\phobos\";"c:\dmd2\windows\lib";c:
\dm\lib
DFLAGS="-Ic:\github\phobos\";"c:\github\druntime\import"
LINKCMD=%@P%\link.exe
-------------------

Any idea what could be casing this? The error is indicative of a compiler 
problem, but it's fine on the autotester, so it must be something on my box 
which is messed up.

- Jonathan M Davis


More information about the D-runtime mailing list