<div dir="ltr"><div>On 11 November 2013 01:45, James Lyon <span dir="ltr"><<a href="mailto:jameslyon0@gmail.com" target="_blank">jameslyon0@gmail.com</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I've attached a patch which has got JIT compilation working (for me at least!) on Android. It turns out that the problem was a bunch of intrinsic __aeabi* functions which reside in libgcc.a rather than libc.so so are not available unless explicitly linked in, so it's rather similar to the StatSymbols hack.<br>
</blockquote><div><br></div><div>Hi James,<br></div><div><br></div><div>I may be wrong, but I remember LLVM treating "androideabi" as "aeabi", which is wrong. This may be the source of your problem, and I think we should teach Clang/LLVM to understand the Android ABI in its full form.<br>
</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">There's one other minor change since setLastModificationAndAccessTi<u></u>me can't be supported on Android; all relevant system calls are missing from the C library. I've therefore changed the code to fail at runtime rather than compile-time here.</blockquote>
<div></div></div><br></div><div class="gmail_extra">This sounds worse... I'd rather we fixed the behaviour than the cause...</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">
--renato</div></div>