[LLVMdev] LLVM: Cannot instantiate JIT execution engine

arrowdodger 6yearold at gmail.com
Fri Sep 2 07:24:53 PDT 2011

On Fri, Sep 2, 2011 at 6:15 PM, Semion Prihodko <semion.ababo at gmail.com>wrote:

> Hi, guys.
> Have a strange problem with LLVM in my project (
> https://github.com/ababo/AntOS). Cannot instantiate JIT execution engine
> (NULL returns; message: Interpreter has not been linked in.). As you can see
> from the code I call InitializeNativeTarget. Also I tried to directly
> include the "llvm/ExecutionEngine/JIT.h" header, but with no success. I
> link with `llvm-config --ldflags --libs core jit native`, so there's no
> problem here. Can you suggest me anything? Thanks.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Try to call ForceJITLinking::ForceJITLinking(); in your application.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110902/a9552394/attachment.html>

More information about the llvm-dev mailing list