gcc binary compatibility

Alexey Skidanov alexey-s@orbotech.com
Mon Feb 4 11:55:00 GMT 2008


Hi,

Gcc343 comes with libstdc++.so version 6.0.3 and Gcc411 comes with
libstdc++.so version 6.0.8. Do you mean that these two versions are
binary incompatible? According to gcc site, versions with different
major numbers should be binary incompatible. I think I misunderstand
something.

 

Thanks,

Alexey

----- Original Message ----
From: Andrew Haley <aph@redhat.com>
To: Alexey Skidanov <alexey-s@orbotech.com>
Cc: gcc-help@gcc.gnu.org; skidanovalexey@yahoo.com
Sent: Thursday, January 31, 2008 7:50:52 PM
Subject: Re: gcc binary comptibility

Alexey Skidanov wrote:
> Could you explain please?
> Do you mean that libstdc++ is not binary compatible?

The ABI changed twice, once when we switched from gcc's private
ABI to the multi-vendor ABI, and again when we fixed some bugs in
our implementation of the multi-vendor ABI.

Andrew.

>> -----Original Message-----
>> From: Andrew Haley [mailto:aph@redhat.com]
>> Sent: Thursday, January 31, 2008 5:45 PM
>> To: Alexey Skidanov
>> Cc: gcc-help@gcc.gnu.org; skidanovalexey@yahoo.com
>> Subject: Re: gcc binary comptibility
>>
>> Alexey Skidanov wrote:
>>>> From: Andrew Haley [mailto:aph@redhat.com]
>>>> You'll have trouble with C++, whereas C should probably be okay.
>>>> Which was it?
>>> C++
>> There is no binary compatibility between gcc 3.4 and gcc 4.1 C++
>> libraries.
>> You have to recompile.  This is not a bug.
>>
>> Andrew.



More information about the Gcc-help mailing list