Jean-Michaël Celerier via llvm-dev
2018-Mar-17 15:02 UTC
[llvm-dev] MCJIT with LLVM >= 5.0 on Windows 64
Hello, I am using the Faust language which leverages LLVM's MCJIT for code generation (http://faust.grame.fr/). 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). It works fine when building LLVM / Faust with Mingw. 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. Relevant LLVM usage in Faust is here: https://github.com/grame-cncm/faust/blob/master-dev/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp I also found this topic which could be relevant, but I'm not knowledgeable enough to tell : https://groups.google.com/forum/#!topic/llvm-dev/mfbmC5o09CY [1] https://github.com/grame-cncm/faust/issues/158 ------- Jean-Michaël Celerier http://www.jcelerier.name -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180317/36e582bb/attachment.html>
Lang Hames via llvm-dev
2018-Mar-19 23:30 UTC
[llvm-dev] MCJIT with LLVM >= 5.0 on Windows 64
Hi Jean-Michaël, Is this a regression from previous versions of LLVM? Or had you always been using Mingw previously? Cheers, Lang. On Sat, Mar 17, 2018 at 8:02 AM, Jean-Michaël Celerier via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello, > > I am using the Faust language which leverages LLVM's MCJIT for code > generation (http://faust.grame.fr/). > > 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). > It works fine when building LLVM / Faust with Mingw. > 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. > > Relevant LLVM usage in Faust is here: https://github.com/grame-cncm/ > faust/blob/master-dev/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp > > I also found this topic which could be relevant, but I'm not knowledgeable > enough to tell : https://groups.google.com/forum/#!topic/llvm-dev/ > mfbmC5o09CY > > > [1] https://github.com/grame-cncm/faust/issues/158 > > > ------- > Jean-Michaël Celerier > http://www.jcelerier.name > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180319/f8f80be8/attachment-0001.html>