Thread overview | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 05, 2013 Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Hello, guys! Wanna to investigate in LDC on windows, but can't compile druntime. druntime-ldc\src\rt\trace.d(836): Error: statement not allowed in naked function Seems to be LDC mistake. |
September 05, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | Also there is many errors in stdio.d .\phobos-ldc\std\stdio.d(618): Error: undefined identifier '_fileno' .\phobos-ldc\std\stdio.d(619): Error: undefined identifier '_setmode' .\phobos-ldc\std\stdio.d(619): Error: undefined identifier _O_BINARY .\phobos-ldc\std\stdio.d(620): Error: undefined identifier '_setmode' |
September 05, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | Seems that ldc doesn't support MSVC I/O. Also errors in mixins .\phobos-ldc\std\internal\digest\sha_SSSE3.d(651): Error: matching '}' expected, not end of file |
September 05, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | std.bigint failing to compile: <inline asm>:1:2: error: unknown directive .section .gnu.linkonce.t._D3std8internal4math10biguintx8634__T24multibyteIncrementAssignVa45Z24multibyteIncrementAssignFNaAkkZk,"ax" ^ <inline asm>:17:2: error: unknown directive .section .gnu.linkonce.t._D3std8internal4math10biguintx8634__T24multibyteIncrementAssignVa43Z24multibyteIncrementAssignFNaAkkZk,"ax" ^ <inline asm>:33:2: error: unknown directive .section .gnu.linkonce.t._D3std8internal4math10biguintx8625__T15multibyteMulAddVa45Z15multibyteMulAddFNaAkxAkkkZk,"ax" ^ <inline asm>:100:2: error: unknown directive .section .gnu.linkonce.t._D3std8internal4math10biguintx8625__T15multibyteMulAddVa43Z15multibyteMulAddFNaAkxAkkkZk,"ax" ^ LLVM ERROR: Error parsing inline asm |
September 06, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | On Thursday, 5 September 2013 at 17:16:41 UTC, Temtaime wrote: > Hello, guys! > Wanna to investigate in LDC on windows, but can't compile druntime. > > druntime-ldc\src\rt\trace.d(836): Error: statement not allowed in naked function > > Seems to be LDC mistake. Hi, how to you compile LDC? rt.trace.d is a part of druntime which is not supported by LDC on all platforms - it's excluded in the CMakeLists.txt file. In general, LDC can be compiled on Windows 64 using CMake with the instructions from the wiki (http://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC). And yes, it is still alpha and every help is welcome. Regards Kai |
September 06, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | Little bit of good news from LLVM and GoingNative http://blog.llvm.org/2013/09/a-path-forward-for-llvm-toolchain-on.html |
September 06, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | I'm trying to make custom project to build druntime. Okay, i'm just dropped that file, thanks. There is some strange errors phobos-ldc.lib(ti_ulong.obj) : error LNK2001: unresolved external symbol __D9inv ariant12_d_invariantFC6ObjectZv@4 phobos-ldc.lib(ti_ushort.obj) : error LNK2001: unresolved external symbol __D9in variant12_d_invariantFC6ObjectZv@4 phobos-ldc.lib(ti_int.obj) : error LNK2001: unresolved external symbol __D9invar iant12_d_invariantFC6ObjectZv@4 phobos-ldc.lib(ti_uint.obj) : error LNK2001: unresolved external symbol __D9inva riant12_d_invariantFC6ObjectZv@4 Any ideas? |
September 06, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael | On Friday, 6 September 2013 at 15:48:08 UTC, Michael wrote:
> Little bit of good news from LLVM and GoingNative
> http://blog.llvm.org/2013/09/a-path-forward-for-llvm-toolchain-on.html
Yeah, nice. But my patches for Win64 EH support are still in the review queue.
Kai
|
September 06, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | On Friday, 6 September 2013 at 18:44:05 UTC, Kai Nacke wrote:
> On Friday, 6 September 2013 at 15:48:08 UTC, Michael wrote:
>> Little bit of good news from LLVM and GoingNative
>> http://blog.llvm.org/2013/09/a-path-forward-for-llvm-toolchain-on.html
>
> Yeah, nice. But my patches for Win64 EH support are still in the review queue.
>
> Kai
I found somewhere (maybe in rust mail-lists) that patent in this field will expire at spring 2014 ;)
|
September 06, 2013 Re: Building latest LDC on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael | On Friday, 6 September 2013 at 19:31:08 UTC, Michael wrote:
> On Friday, 6 September 2013 at 18:44:05 UTC, Kai Nacke wrote:
>> On Friday, 6 September 2013 at 15:48:08 UTC, Michael wrote:
>>> Little bit of good news from LLVM and GoingNative
>>> http://blog.llvm.org/2013/09/a-path-forward-for-llvm-toolchain-on.html
>>
>> Yeah, nice. But my patches for Win64 EH support are still in the review queue.
>>
>> Kai
>
> I found somewhere (maybe in rust mail-lists) that patent in this field will expire at spring 2014 ;)
Nope. There is no patent on the Win64 EH handling. (But there is a patent on Win32 EH handling which expires next year.) It is simply that it is hard to get reviews.
Kai
|
Copyright © 1999-2021 by the D Language Foundation