[D-runtime] I can't get druntime to build on Wnidows
Alex Rønne Petersen
xtzgzorex at gmail.com
Sun Jul 15 15:03:16 PDT 2012
On Mon, Jul 16, 2012 at 12:01 AM, Alex Rønne Petersen
<xtzgzorex at gmail.com> wrote:
> On Sun, Jul 15, 2012 at 11:54 PM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
>> 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.
>
> I have no idea how this is even passing the auto tester. The failure is:
>
> assert(sizeof(std_namearray) / sizeof(char *) == sizeof(std_ioptab));
>
> This is definitely a result of my core.bitop patches. Investigating.
That was quicker to narrow down than I expected. Please try with this
patch: https://github.com/D-Programming-Language/dmd/pull/1051
Regards,
Alex
More information about the D-runtime
mailing list