[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10

Dale Johannesen dalej at apple.com
Tue Jul 8 11:42:12 PDT 2008


On Jul 5, 2008, at 7:19 PMPDT, ORC_developer wrote:

> Thanks.
> I wonder if we could use .bc file generated by X-86 llvm-gcc to feed  
> SPARC
> llvm in some cases.

You will have problems with struct layout, endianness, and calling  
convention,
all of which are different between the targets.  You might be able to  
get some
simple cases to work.

> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev- 
> bounces at cs.uiuc.edu] On
> Behalf Of Nathan Keynes
> Sent: Thursday, June 26, 2008 5:18 AM
> To: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
>
>
> On 20/06/2008, at 3:22 PM, Chris Lattner wrote:
>
>>
>> On Jun 16, 2008, at 2:12 PM, heguojin at ict.ac.cn wrote:
>>
>>> Has anyone succeded ?
>>
>> This sounds like the sparc backed doesn't have inline asm support,
>> which isn't a surprise.  I'd suggest disabling bootstrapping.
>
> That was going to be my guess (PR1557 I think it is). If I get some
> spare cycles in the near future I'll try to look into getting this
> working.
>
> Cheers,
> Nathan
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list