[LLVMdev] GCC 4.1 ABI and clang

Frits van Bommel fvbommel at gmail.com
Thu Jun 30 06:43:12 PDT 2011


On 30 June 2011 14:44, Øyvind Harboe <oyvind.harboe at zylin.com> wrote:
> On Thu, Jun 30, 2011 at 2:03 PM, Duncan Sands <baldrick at free.fr> wrote:
>> Hi Øyvind,
>>
>>> I'm trying to find some written evidence to present to the powers
>>> that be that clang/llvm is ABI compatible with GCC 4.1 linux
>>> 64 bit.
>>
>> both clang and gcc-4.1 are supposed to conform to the platform ABI (if they
>> don't then that is a bug), and thus be ABI compatible.
>
> Starting with which version?

It was supposed to work for quite a while now, but a bug related to
this (where Clang got it wrong) was fixed just yesterday:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20110627/043358.html

That should go in to 3.0, but for now I guess for best results you
should use a recent trunk version.




More information about the llvm-dev mailing list