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, Linux, and PT_GNU_EH_FRAME, and binutils


On Mon, Aug 05, 2002 at 01:43:26PM -0700, Mark Mitchell wrote:
> --On Monday, August 05, 2002 10:16:35 PM +0200 "Martin v. Loewis" 
> <martin@v.loewis.de> wrote:
> 
> > Mark Mitchell <mark@codesourcery.com> writes:
> >
> >> I agree.  I don't think we need to do this for GCC 3.2, but I do think
> >> it would be good to do this at some point.
> >
> > If you don't do this for 3.2, you will definitely end up with two
> > incompatible ABIs on Linux, both of them in wide use.
> 
> Walk me through it, if you please.
> 
> How will this happen?

If one gcc is configured with --enable-threads=posix and one without this,
then the 2 aren't ABI compatible (see the list of libstdc++-v3
make check failures I got when doing this and swapping the 2 libraries).

If one gcc is configured on glibc 2.2.5+ and one on old glibc, then the
former can run everybody's applications/libraries while the latter only
apps/libraries compiled using that compiler.

	Jakub


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