This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __register_frame_info & shared library compatibility
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: __register_frame_info & shared library compatibility
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Wed, 07 Apr 1999 02:57:47 -0600
- cc: Eric Kidd <eric dot kidd at pobox dot com>, otaylor at redhat dot com, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199904070035.UAA17069@blastula.phys.columbia.edu>you write:
> That's strange. That patch should theoretically make shared libs
> compiled by egcs act like shared libs compiled by gcc.
But that's not necessarily good! gcc2's handling of shared libraries is
bad in a variety of ways. Most notably the lack of backwards compatible
EH interfaces
> The correct binary interface for libc 2.0 is the one you get if you
> compile all purely C libraries with gcc 2.7. Programs that expect
> something else are broken, sorry. (There's no reason to prefer this
> rule except that that's what all the major distributions shipped.)
No, the problem was soemone recompiled a library previously compiled with
egcs-1.1.1 with egcs-1.1.2 and applications started breaking due to the
weak handling. At least that was my impression. And that's horrible.
jeff