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. Ciao, Duncan.
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? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/
On Thu, Jun 30, 2011 at 02:44:26PM +0200, Øyvind Harboe 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?I think GCC last changed the C++ ABI with version 3.4. Joerg
On 30/06/11 14:44, Øyvind Harboe 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?All versions. Ciao, Duncan.
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.