Hi James,<div><br></div><div>Thanks for your information. </div><div>Could you suggest any other framework that I could use for making a custom JIT for ARM?</div><div>I am doing research on JIT compilation for a heterogeneous processor system.<br>
<br>Best,</div><div>Toan Mai<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 3:55 PM, James Molloy <span dir="ltr"><<a href="mailto:james.molloy@arm.com" target="_blank">james.molloy@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Toan,<br>
<br>
The JIT for ARM (non-darwin) is completely broken and you should not expect<br>
it to work in its current state.<br>
<br>
Cheers,<br>
<br>
James<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:llvmdev-bounces@cs.uiuc.edu">llvmdev-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:llvmdev-bounces@cs.uiuc.edu">llvmdev-bounces@cs.uiuc.edu</a>] On<br>
Behalf Of Toan X. Mai<br>
Sent: 29 April 2012 07:37<br>
To: <a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a><br>
Subject: [LLVMdev] Running LLVM JIT on qemu-system-arm<br>
<br>
<br>
Hi all,<br>
<br>
I'm struggling to get lli work on qemu-system-arm. I already boot the system<br>
with a debian squeeze rootfs which contains a statically cross-compiled lli<br>
for armel. When I run ./lli hello.bc, I got the following error msg:<br>
<br>
./lli: error creating EE: /lib/: cannot read file data: Is a directory<br>
<br>
afaik, this error is related to lli using dlopen() with a NULL path to<br>
resolve symbols for the main program (lli program) itself. This happens when<br>
lli initially tries to create an ExecutionEngine ("EE = builder.create();"<br>
in lli.cpp), which leads to "if<br>
(sys::DynamicLibrary::LoadLibraryPermanently(0, ErrorStr)" in<br>
ExecutionEngine.cpp.<br>
<br>
Could anyone tell me how to resolve this?<br>
<br>
Thanks in advance!<br>
Toan Mai.<br>
<span class="HOEnZb"><font color="#888888">--<br>
View this message in context:<br>
<a href="http://old.nabble.com/Running-LLVM-JIT-on-qemu-system-arm-tp33763272p3376327
2.html" target="_blank">http://old.nabble.com/Running-LLVM-JIT-on-qemu-system-arm-tp33763272p3376327<br>
2.html</a><br>
Sent from the LLVM - Dev mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br>
</div>