[LLVMdev] lli -force-interpreter complains about external function

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Nov 16 04:47:12 PST 2009


Nick Lewycky <nicholas at mxc.ca> writes:
> The interpreter uses libffi to make external function calls. However, it 
> needs to be detected at LLVM's compile time. If you're using the 
> released packages, we disabled that because we were worried about users 
> who don't have libffi installed.

This seems to be quite a common problem (I too hit it once, thought it
was a bug and reported it at
http://llvm.org/bugs/show_bug.cgi?id=5466) how about making lli inform
the user that LLVM was built without FFI support?



More information about the llvm-dev mailing list