"Internal error: backend\cod1.c 1895" when trying to build DMD/Druntime/Phobos from source

Walter Bright newshound2 at digitalmars.com
Sun Jan 30 18:00:55 PST 2011


Vladimir Panteleev wrote:
> On Sun, 30 Jan 2011 22:42:22 +0200, Walter Bright 
> <newshound2 at digitalmars.com> wrote:
> 
>> Simon wrote:
>>> On 30/01/2011 18:54, Simon wrote:
>>>> On 30/01/2011 18:29, Walter Bright wrote:
>>>>> Vladimir Panteleev wrote:
>>>>>> DMC, and latest git. (The problem was there a few months ago, so it's
>>>>>> not a recent regression.)
>>>>>
>>>>> I compile it every day, and do not see those errors.
>>>>
>>>> Sound like use off uninitialised var, as it's environment dependent.
>>>>
>>>> There's at least 2 instances of that still outstanding in the backend:
>>>>
>>>> http://d.puremagic.com/issues/show_bug.cgi?id=52460
>>>>
>>>  And for the frond end:
>>>  http://d.puremagic.com/issues/show_bug.cgi?id=5244
>>>
>>
>> Thanks for pointing those out. Fixed now.
> 
> Thanks, but it didn't solve my problem.

I didn't think it would. Those issues were completely unrelated. Sorry about that.


> I'd like to emphasize that the problem is with my dmd.exe. If I use the 
> official dmd.exe, Phobos builds fine - so, it looks like I get a 
> slightly broken dmd.exe when I compile it from source.
> 
> Does anyone know which git commit is DMD 2.051? I think the best way to 
> find the problem is to compare the released binary with the one I built.

Why not just get the latest dmd if you're interested in compiling from source? 
Also, if you download dmd 2.051, you'll get the 2.051 source.


More information about the Digitalmars-d mailing list