Re: Mixing objects from different gcc versions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Dr. David Kirkby" <david.kirkby@xxxxxxxxxx> writes:

> If someone
>
> 1) Builds Sage with gcc x.y.z
> 2) Udates gcc
> 3) Tries to upgrade Sage, could they expect problems as a result of
> the gcc upgrade?

In general, no.  The C ABI is completely stable.  The C++ ABI has been
stable since gcc 3.4.  No current changes are planned, though it is
possible that there will be change associated with support of the
upcoming C++0x standard.

> * Would a major upgrade of gcc (from say 4 to gcc 5) cause problems (I
> know 5 is not our yet, but you get the point.

It is possible that the C++ ABI will change in a major release.

> * Would a less major upgrade from say 4.1.x to gcc 4.2.y ?

I would argue against changing the C++ ABI in a less major release,
but it is conceivable though very unlikely.

> * How about a minor upgrade, from gcc 4.3.x to 4.3.y ??

The ABI will definitely be stable in a minor release.

Ian

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux