<div dir="ltr">Moving to the LLVM Dev list & cc'ing Lang.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 4:23 AM, Joshua Gerrard via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello folks,<div><br></div><div>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.</div><div><br></div><div>The problem I’m having is “Relocation overflow” (related: <a href="https://llvm.org/bugs/show_bug.cgi?id=23228#c8" target="_blank">https://llvm.org/bugs/show_bug.cgi?id=23228#c8</a>, see #8) … so I spoke to some clang developers who focussed on Windows at CppCon last week, and they gave me the following advice:</div><div>- Use ELF</div><div>    - Using this results in another issue about comdat sections, see here: <a href="https://root.cern.ch/phpBB3/viewtopic.php?t=19808" target="_blank">https://root.cern.ch/phpBB3/viewtopic.php?t=19808</a></div><div>- Stick with COFF, but use the large code model</div><div>    - No observed difference, seems to be the case because JITDefault is being used in the same way as Large, which would make sense</div><div>    - 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</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks in advance!</div></div><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>