Dear developers!
Is MCJIT available on ARMv5 in any version of LLVM? If no, do you have
plan to support it in near future?
I'm trying to make mcjit work in my arm development kit
(armv5te-linux-gnueabi) using this manual:
http://blog.llvm.org/2013/07/using-mcjit-with-kaleidoscope-tutorial.html
patched Kaleidoscope-Ch4 outputs:
ready> Could not create ExecutionEngine: Interpreter has not been linked in.
"/lli -use-mcjit ./hello.ll" outputs:
/lli: error creating EE: No available targets are compatible with this
triple, see -version for the available targets.
"/lli --version"
LLVM (
http://llvm.org/):
LLVM version 3.4svn
DEBUG build.
Built Apr 23 2014 (17:27:27).
Default target: armv5te-linux-gnueabi
Host CPU: arm926ej-s
How LLVM was built:
CC="/home/dv/workspace/oe_core9g25.llvm.0/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc"
CXX="/home/dv/workspace/oe_core9g25.llvm.0/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++"
CXX_FLAGS="-march=armv5te -marm
--sysroot=/home/dv/workspace/oe_core9g25.llvm.0/poky/build-atmel/tmp/sysroots/at91sam9x5ek
-DNDEBUG" C_FLAGS="-march=armv5te -marm
--sysroot=/home/dv/workspace/oe_core9g25.llvm.0/poky/build-atmel/tmp/sysroots/at91sam9x5ek
-DNDEBUG" cmake .. -DLLVM_REQUIRES_RTTI=ON
-DCMAKE_INSTALL_PREFIX=/opt/llvm-3.3.arm -DCMAKE_CROSSCOMPILING=True
-DLLVM_DEFAULT_TARGET_TRIPLE=armv5te-linux-gnueabi
-DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=ARM
-DLLVM_BUILD_EXAMPLES=ON -DLLVM_TABLEGEN=/opt/llvm-3.4/bin/llvm-tblgen