[LLVMdev] JIT on armhf

David Given dg at cowlark.com
Fri Feb 8 03:01:13 PST 2013


I'm using the Debian LLVM package to try and do JIT on a Linux armhf
device. Unfortunately it seems to be generating armel code rather than
armhf code, and since the ABIs don't match nothing works.

I've tried overriding the triple to arm-unknown-linux-gnueabihf and
arm-linux-gnueabihf (via module->setTargetTriple), and while the triples
are accepted, the actual generated code doesn't change with either.

Unfortunately I don't have enough RAM on any of my ARM boxes to build
LLVM from source, so I can't check to see whether this is a Debian
misconfiguration or an intrinsic LLVM issue.

Before I start go filing bugs, does anyone know if the LLVM 3.2 JIT
actually works on an armhf device?

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ 𝕻𝖍'𝖓𝖌𝖑𝖚𝖎 𝖒𝖌𝖑𝖜'𝖓𝖆𝖋𝖍 𝕮𝖙𝖍𝖚𝖑𝖍𝖚 𝕽'𝖑𝖞𝖊𝖍
𝖜𝖌𝖆𝖍'𝖓𝖆𝖌𝖑 𝖋𝖍𝖙𝖆𝖌𝖓.
│

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130208/b9ebd081/attachment.sig>


More information about the llvm-dev mailing list