Hi Toan,
The JIT for ARM (non-darwin) is completely broken and you should not expect
it to work in its current state.
Cheers,
James
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Toan X. Mai
Sent: 29 April 2012 07:37
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Running LLVM JIT on qemu-system-arm
Hi all,
I'm struggling to get lli work on qemu-system-arm. I already boot the system
with a debian squeeze rootfs which contains a statically cross-compiled lli
for armel. When I run ./lli hello.bc, I got the following error msg:
./lli: error creating EE: /lib/: cannot read file data: Is a directory
afaik, this error is related to lli using dlopen() with a NULL path to
resolve symbols for the main program (lli program) itself. This happens when
lli initially tries to create an ExecutionEngine ("EE =
builder.create();"
in lli.cpp), which leads to "if
(sys::DynamicLibrary::LoadLibraryPermanently(0, ErrorStr)" in
ExecutionEngine.cpp.
Could anyone tell me how to resolve this?
Thanks in advance!
Toan Mai.
--
View this message in context:
http://old.nabble.com/Running-LLVM-JIT-on-qemu-system-arm-tp33763272p3376327
2.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev