Fail to build LDC2 on Windows 7 X64

tae hoo liteon777 at hanmail.net
Mon Nov 11 22:07:06 PST 2013


Hey Kai

I noticed that, too.
Would you send me the llvm SRC files which can be used with
a win64eh_all_20131021.diff file.

Thanks you.


On Monday, 16 September 2013 at 17:55:08 UTC, Kai Nacke wrote:
> On Sunday, 8 September 2013 at 10:59:38 UTC, Zhouxuan wrote:
>> On Sunday, 8 September 2013 at 10:21:39 UTC, Kai Nacke wrote:
>>> On Sunday, 8 September 2013 at 06:51:18 UTC, Zhouxuan wrote:
>>>> I tried building LDC2 on windows according to 
>>>> http://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC, 
>>>> but failed while building phobos-ldc.vcxproj.
>>>>
>>>> The error is:
>>>> ...
>>>> ...
>>>> Generating std/file.obj
>>>> Unknown frame setup opcode!
>>>> UNREACHABLE executed at 
>>>> D:\ldcenv\llvm\lib\Target\X86\X86MCInstLower.cpp:707!
>>>> Stack dump:
>>>> 0.        Running pass 'X86 Assembly / Object Emitter' on 
>>>> function '@_D3std4file6getcwdFZAya'
>>>
>>> Hi Zhouxuan,
>>>
>>> I noticed that, too. It comes from my patch for EH handling. 
>>> Something has changed in LLVM and I did not correct the patch 
>>> yet. (I correct it as soon as I understand the LLVM changes 
>>> causing the failure.)
>>>
>>> It works if you do not apply the patch. But then you get no 
>>> exception handling...
>>>
>>> Regards
>>> Kai
>>
>> Awesome, lookinng forward an update!
>
> The root cause of this problem is PR16779 
> (http://llvm.org/bugs/show_bug.cgi?id=16779). I try to fis this.
>
> Kai



More information about the digitalmars-d-ldc mailing list