This is the mail archive of the gcc@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: libgcc_s.so 3.4 vs 3.0 compatibility


Jakub Jelinek <jakub@redhat.com> writes:

> On Tue, Apr 19, 2005 at 02:23:26PM +0200, Peter FELECAN wrote:
> > Currently the libgcc_s.so library has the same version in 3.4 and 4.0,
> > i.e libgcc_s.so.1 (SONAME = libgcc_s.so.1).
> > 
> > Is this as expected?
> 
> Yes.
> 
> > Are the 2 libraries compatible? Interchangeable? Looking in the map
> > file, I don't think so.
> 
> There is backwards compatibility.  So you want the latest libgcc_s.so.1
> from the compilers used to build your applications.

Thank you Jakub.

I should understand that, as usual, there is no "backward"
compatibility. My worry being the case when somebody, having installed
3.4 and 4.0, in this order, updates the previous compiler, 3.4, and
unknowingly replaces the latest library. For this, I think that
additional instrumentations are required by the corresponding
packages. Consequently, it is the role of the packager to assure an
hermetic separation.

-- 
Peter FELECAN
mailto:pfelecan@acm.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]