[llvm-dev] [cfe-dev] Orc Windows C++
Joshua Gerrard via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 2 01:18:07 PDT 2015
Thanks for the link!
There’s some code there that looks extremely relevant to say the least.
> On 1 Oct 2015, at 19:00, Hayden Livingston <halivingston at gmail.com> wrote:
>
> Maybe looking at their code might help:
>
> https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299
>
> On Thu, Oct 1, 2015 at 10:45 AM, David Blaikie via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Moving to the LLVM Dev list & cc'ing Lang.
>>
>> On Thu, Oct 1, 2015 at 4:23 AM, Joshua Gerrard via cfe-dev
>> <cfe-dev at lists.llvm.org> wrote:
>>>
>>> Hello folks,
>>>
>>> I’m developing an application that uses Orc JIT for C++, which works
>>> swimmingly on Mac OS X. However, the Windows version has been a battle and a
>>> half, and it’s now at the point where I need some assistance to progress.
>>>
>>> The problem I’m having is “Relocation overflow” (related:
>>> https://llvm.org/bugs/show_bug.cgi?id=23228#c8, see #8) … so I spoke to some
>>> clang developers who focussed on Windows at CppCon last week, and they gave
>>> me the following advice:
>>> - Use ELF
>>> - Using this results in another issue about comdat sections, see here:
>>> https://root.cern.ch/phpBB3/viewtopic.php?t=19808
>>> - Stick with COFF, but use the large code model
>>> - No observed difference, seems to be the case because JITDefault is
>>> being used in the same way as Large, which would make sense
>>> - According to the clang developers I spoke to, Lang and Andy might
>>> have an interest in fixing this (would seem likely, as they’re the two
>>> commenters on the first issue I linked), since it’s better to use COFF on
>>> Windows than keep trying to work around it
>>>
>>> Any ideas?
>>>
>>> Thanks in advance!
>>>
>>> _______________________________________________
>>> cfe-dev mailing list
>>> cfe-dev at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>>
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
More information about the llvm-dev
mailing list