Hi all, I have an ARM virtual machine with ubuntu and want to port LLVM over that. In release documents, ARM is not in the list of supported platforms. I tried to compile LLVM on ARM platform and ran into an error. Has anyone tried to port LLVM onto ARM before? Is it going to require lots of changes? Thanks --Kapil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090924/fa1bdc0b/attachment.html>
The Compilation error I am getting: "Error while compiling ARMJITInfo.cpp.. Selected processor does not support fstmfdd sp!,{d0,d1,d2,d3,d4,d5,d6,d7}.... On Thu, Sep 24, 2009 at 8:45 PM, kapil anand <kapilanand2 at gmail.com> wrote:> Hi all, > > I have an ARM virtual machine with ubuntu and want to port LLVM over that. > In release documents, ARM is not in the list of supported platforms. I tried > to compile LLVM on ARM platform and ran into an error. > > Has anyone tried to port LLVM onto ARM before? Is it going to require lots > of changes? > > Thanks > > --Kapil >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090924/fe31eac6/attachment.html>
It's possible to build llvm to run on ARM platforms. That's required for JIT. It looks like you need to modify ARMJITInfo.cpp for your platform. Does it support VFP2? Patches welcome. Evan On Sep 24, 2009, at 5:51 PM, kapil anand wrote:> The Compilation error I am getting: > "Error while compiling ARMJITInfo.cpp.. > Selected processor does not support fstmfdd sp!, > {d0,d1,d2,d3,d4,d5,d6,d7}.... > > > > On Thu, Sep 24, 2009 at 8:45 PM, kapil anand <kapilanand2 at gmail.com> > wrote: > Hi all, > > I have an ARM virtual machine with ubuntu and want to port LLVM over > that. In release documents, ARM is not in the list of supported > platforms. I tried to compile LLVM on ARM platform and ran into an > error. > > Has anyone tried to port LLVM onto ARM before? Is it going to > require lots of changes? > > Thanks > > --Kapil > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090924/644e0e09/attachment.html>
Hi Kapil! LLVM both builds and runs fine on ARM Linux. I am running a public buildbot for the llvm project that are compiling and testing llvm on arm-linux daily and this machine are running Ubuntu Jaunty. http://google1.osuosl.org:8011/builders/llvm-arm-linux I have successfully compiled LLVM on ARM using GCC 4.3.3 on a Ubuntu Jaunty system and GCC 4.4 on a Ubuntu Karmic system. Do you use cross compilation to build llvm for your ARM system or do you compile natively on your ARM board? Cheers Xerxes kapil anand skrev:> The Compilation error I am getting: > "Error while compiling ARMJITInfo.cpp.. > Selected processor does not support fstmfdd > sp!,{d0,d1,d2,d3,d4,d5,d6,d7}.... > > > > On Thu, Sep 24, 2009 at 8:45 PM, kapil anand <kapilanand2 at gmail.com > <mailto:kapilanand2 at gmail.com>> wrote: > > Hi all, > > I have an ARM virtual machine with ubuntu and want to port LLVM > over that. In release documents, ARM is not in the list of > supported platforms. I tried to compile LLVM on ARM platform and > ran into an error. > > Has anyone tried to port LLVM onto ARM before? Is it going to > require lots of changes? > > Thanks > > --Kapil > > > ------------------------------------------------------------------------ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >