<div dir="ltr">Hi Jean-Michaël,<div><br></div><div>Is this a regression from previous versions of LLVM? Or had you always been using Mingw previously?</div><div><br></div><div>Cheers,</div><div>Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 17, 2018 at 8:02 AM, Jean-Michaël Celerier via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-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 dir="ltr"><div><div><div>Hello,<br><br></div>I am using the Faust language which leverages LLVM's MCJIT for code generation (<a href="http://faust.grame.fr/" target="_blank">http://faust.grame.fr/</a>). <br><br>There are some problems[1] when generating code and executing it afterwards on Windows with a MSVC "host" (that is, LLVM itself and the software it is used in are built with MSVC). <br></div>It works fine when building LLVM / Faust with Mingw. <br></div>On MSVC the code is generated with x86_64-pc-windows-msvc-elf as target triple, but there are crashes as soon as this code is executed.<br><div><div><br>Relevant LLVM usage in Faust is here: <a href="https://github.com/grame-cncm/faust/blob/master-dev/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp" target="_blank">https://github.com/grame-cncm/<wbr>faust/blob/master-dev/<wbr>compiler/generator/llvm/llvm_<wbr>dynamic_dsp_aux.cpp</a><br></div><div><br>I also found this topic which could be relevant, but I'm not knowledgeable enough to tell : <a href="https://groups.google.com/forum/#!topic/llvm-dev/mfbmC5o09CY" target="_blank">https://groups.google.com/<wbr>forum/#!topic/llvm-dev/<wbr>mfbmC5o09CY</a><br><br><br>[1] <a href="https://github.com/grame-cncm/faust/issues/158" target="_blank">https://github.com/grame-cncm/<wbr>faust/issues/158</a><br><div><div><div><div class="m_2820131386015705182gmail_signature"><div dir="ltr"><div><font color="#783f04"><br><br></font></div><div><font size="2" face="arial, helvetica, sans-serif" color="#134f5c">-------</font></div><font size="2" face="arial, helvetica, sans-serif" color="#134f5c">Jean-Michaël Celerier</font><div><font size="2" face="arial, helvetica, sans-serif" color="#134f5c"><a href="http://www.jcelerier.name" target="_blank">http://www.jcelerier.name</a></font></div></div></div></div>
</div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>