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 >
Hi, I am trying to natively compile LLVM on a ARM virtual machine ( which I am running through QEMU) but getting the error as mentioned in previous mail. VM is running ARM926 which according to ARM architecture, has vfp support. Do some changes need to me made in LLVM distribution to make it run on ARM platforms Thanks --Kapil On Fri, Sep 25, 2009 at 5:16 AM, Xerxes Rånby <xerxes at zafena.se> wrote:> 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 > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090925/8b6f06ef/attachment.html>
On 9/25/09, kapil anand <kapilanand2 at gmail.com> 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}.... > > I am trying to natively compile LLVM on a ARM virtual machine ( which I am > running through QEMU) but getting the error as mentioned in previous mail. > VM is running ARM926 which according to ARM architecture, has vfp support.The error looks like the assembler complaining, so it may be that you are missing --with-fpu=vfp or whatever the LLVM equivalent of that is. Certainly in GCC-land, --with-cpu is not enough; you also have to specify the coprocessor explicitly M
> I am trying to natively compile LLVM on a ARM virtual machine > ( which I am running through QEMU) but getting the error as > mentioned in previous mail. VM is running ARM926 which according > to ARM architecture, has vfp support.VFP is optional for ARM926. In fact ARM926 platforms with VFP are rare. Rodolph.