Cooper Clauson via llvm-dev
2016-Aug-23 02:33 UTC
[llvm-dev] Question about LLVM JIT, LLVM ERROR: Target does not support MC emission!
Hi, I have a question about JIT I'm trying to run the current version of HowToUseJIT.cpp, but I get the error "LLVM ERROR: Target does not support MC emission!", does anyone know how to fix this? I also have a sample that uses this API: http://llvm.org/docs/doxygen/html/group__LLVMCCoreInstructionBuilder.html, it used to have the same problem, I resolved it by adding LLVMInitializeAllTargetMCs(); but that doesn't work on this version I'm on Fedora 23 on an x86_64 Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160823/515dafa0/attachment.html>
Cooper Clauson via llvm-dev
2016-Aug-23 06:57 UTC
[llvm-dev] Question about LLVM JIT, LLVM ERROR: Target does not support MC emission!
Nvm, I tried building the most recent version from source, it seems to work now, thanks! ________________________________ From: Cooper Clauson <ceclauson at hotmail.com> Sent: Monday, August 22, 2016 7:33:17 PM To: llvm-dev at lists.llvm.org Cc: lhames at gmail.com Subject: Question about LLVM JIT, LLVM ERROR: Target does not support MC emission! Hi, I have a question about JIT I'm trying to run the current version of HowToUseJIT.cpp, but I get the error "LLVM ERROR: Target does not support MC emission!", does anyone know how to fix this? I also have a sample that uses this API: http://llvm.org/docs/doxygen/html/group__LLVMCCoreInstructionBuilder.html, it used to have the same problem, I resolved it by adding LLVMInitializeAllTargetMCs(); but that doesn't work on this version I'm on Fedora 23 on an x86_64 Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160823/44ab8166/attachment.html>