[PATCH] Fix {sparc64,x86_64}-linux ABI problem (take 2)

David S. Miller davem@redhat.com
Tue May 7 16:29:00 GMT 2002


   From: Richard Henderson <rth@redhat.com>
   Date: Tue, 7 May 2002 15:41:43 -0700

   On Tue, May 07, 2002 at 03:08:18PM -0700, Mark Mitchell wrote:
   > This is getting to be pretty big.  Jakub, how confident are you that
   > we're not going to be embarassed by somehow breaking the Makefiles
   > with these changes?
   
   And yet what choice do we have?  The resulting libgcc
   demonstrably doesn't work properly.
   
I agree with Richard here.

Every program you ever compiled with a previous gcc-3.1 installation
stops running if rebuild gcc-3.1 such that you hit this problem.

This hits people particularly hard if they wish to share binaries
across different Solaris systems, for example.  If one of those
systems got a gcc build defauling to 32-bit but the other got the
64-bit default build, the binary will only run on one of those
machines.

This makes 3.1 totally runtime incompatible with itself on the same
system, depending upon how one has configured the compiler.

If we defer this fix to 3.1.1, then we will then become another order
of magnitude incompatible at runtime.  So it really has to be fixed
from the start.



More information about the Gcc-patches mailing list