[llvm-dev] [cfe-dev] Orc Windows C++

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 1 10:45:41 PDT 2015

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151001/33fbb65f/attachment.html>

More information about the llvm-dev mailing list