This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mixing objects from different gcc versions.


"Dr. David Kirkby" <david.kirkby@onetel.net> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]