Sandeep Patel
2009-Mar-17 20:17 UTC
[LLVMdev] Consumer ARM platform suitable for LLVM development?
What change did you need? deep 2009/3/17 Misha Brukman <brukman at gmail.com>:> On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <deeppatel1987 at gmail.com> > wrote: >> >> Attached is the patch I've been building arm-eabi with, which might >> help with linux-gnueabi. I disable multilib to get around several bugs >> with thumb. I build cross binutils first, then llvm, then llvm-gcc >> with newlib merged in. >> >> The following bugs need to be addressed for these non-Darwin ARM targets: >> 1388 >> 2313 >> 2545 >> 2985 > > Sandeep, many thanks! I was able to build a cross-compiler using your patch > (with a minor change) and ran "hello world" in Qemu-ARM after compiling and > linking it on x86_64. I put the list of outstanding bugs on a wiki page for > tracking and reference: > http://google2.osuosl.org/wiki/index.php/HowTo:_LLVM-based_cross_compiler > > I'll try to get the patch committed to llvm-gcc piece-meal. It looks like > part of the patch includes the fix for http://llvm.org/PR2545 -- Chris said > he's OK with the patch being committed, is there any reason it hasn't been > applied yet? Does anyone mind if I do? > > Misha > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
Misha Brukman
2009-Mar-17 20:52 UTC
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Tue, Mar 17, 2009 at 4:17 PM, Sandeep Patel <deeppatel1987 at gmail.com>wrote:> What change did you need?Even with your change, it was still complaining about not having a definition of MACHO_DYNAMIC_NO_PIC_P somewhere, so I took the easy way out with inserting this in arm.h: /* Overridden by arm/darwin.h, whether it is included first or not. */ #ifndef TARGET_MACHO #define TARGET_MACHO 0 +#define MACHO_DYNAMIC_NO_PIC_P 0 #endif Anyone have any objections to this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090317/b567afb0/attachment.html>
Bill Wendling
2009-Mar-17 21:19 UTC
[LLVMdev] Consumer ARM platform suitable for LLVM development?
2009/3/17 Misha Brukman <brukman at gmail.com>:> On Tue, Mar 17, 2009 at 4:17 PM, Sandeep Patel <deeppatel1987 at gmail.com> > wrote: >> >> What change did you need? > > Even with your change, it was still complaining about not having a > definition of MACHO_DYNAMIC_NO_PIC_P somewhere, so I took the easy way out > with inserting this in arm.h: > > /* Overridden by arm/darwin.h, whether it is included first or not. */ > #ifndef TARGET_MACHO > #define TARGET_MACHO 0 > +#define MACHO_DYNAMIC_NO_PIC_P 0 > #endif > > Anyone have any objections to this? >Probably okay? Will let an ARM person say more. Just make sure that it has the appropriate LLVM LOCAL markers. -bw
Sandeep Patel
2009-Mar-17 21:28 UTC
[LLVMdev] Consumer ARM platform suitable for LLVM development?
That's what I originally had, but then backed it down to the version I forwarded. Not sure why that worked for me and not you. deep 2009/3/17 Misha Brukman <brukman at gmail.com>:> On Tue, Mar 17, 2009 at 4:17 PM, Sandeep Patel <deeppatel1987 at gmail.com> > wrote: >> >> What change did you need? > > Even with your change, it was still complaining about not having a > definition of MACHO_DYNAMIC_NO_PIC_P somewhere, so I took the easy way out > with inserting this in arm.h: > > /* Overridden by arm/darwin.h, whether it is included first or not. */ > #ifndef TARGET_MACHO > #define TARGET_MACHO 0 > +#define MACHO_DYNAMIC_NO_PIC_P 0 > #endif > > Anyone have any objections to this? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
Dale Johannesen
2009-Mar-17 21:30 UTC
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Mar 17, 2009, at 1:52 PMPDT, Misha Brukman wrote:> On Tue, Mar 17, 2009 at 4:17 PM, Sandeep Patel <deeppatel1987 at gmail.com > > wrote: > What change did you need? > > Even with your change, it was still complaining about not having a > definition of MACHO_DYNAMIC_NO_PIC_P somewhere, so I took the easy > way out with inserting this in arm.h: > > /* Overridden by arm/darwin.h, whether it is included first or not. > */ > #ifndef TARGET_MACHO > #define TARGET_MACHO 0 > +#define MACHO_DYNAMIC_NO_PIC_P 0 > #endifLooks fine to me. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090317/92a4acaa/attachment.html>
Seemingly Similar Threads
- [LLVMdev] Consumer ARM platform suitable for LLVM development?
- [LLVMdev] Consumer ARM platform suitable for LLVM development?
- [LLVMdev] Consumer ARM platform suitable for LLVM development?
- [LLVMdev] Consumer ARM platform suitable for LLVM development?
- [LLVMdev] Consumer ARM platform suitable for LLVM development?