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:, 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


Nvm, I tried building the most recent version from source, it seems to work now, thanks!