This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: My proposal for the libgcc runtime ABI (ia64 gcc/glibc is broken.)
Date: Tue, 11 Jul 2000 17:05:35 -0700
From: "H . J . Lu" <hjl@valinux.com>
You really haven't seen my scheme in action. Check out the current
RedHat rawhide. They have 2 C++ compilers. egcs 1.1.2 is used to
compile KDE.
# ls /usr/lib/libstdc++*
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so /usr/lib/libstdc++-libc6.2-2.a.3
/usr/lib/libstdc++-2-libc6.2-1-2.9.0.a /usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++-2-libc6.2-1-2.9.0.so /usr/lib/libstdc++.so.2.7.2
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.a /usr/lib/libstdc++.so.2.7.2.8
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++.so.2.8
/usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++.so.2.8.0
/usr/lib/libstdc++-libc6.2-1.a.2 /usr/lib/libstdc++.so.2.9
/usr/lib/libstdc++-libc6.2-1.so.2 /usr/lib/libstdc++.so.2.9.dummy
# rpm -qf /usr/lib/libstdc++-2-libc6.2-1-2.9.0.so
kernelcc-c++-1.1.2-4
# rpm -qf /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-2.96-33
And you honestly believe this is a good thing? It illustrates that
the libstdc++ are failing to properly version their library (which is
somewhat understandable since they've punted binary compatibility for
C++ until GCC 3.0). And by giving them your "interface scheme" you've
provided them with the means to get away with it. Just slap a
different soname on every permutation of things and you're not very
likely to get complaints about binary incompatibilities.
You see that you have both: libstdc++-2-libc6.1-1-2.9.0.so
and: libstdc++-2-libc6.2-1-2.9.0.so
I think those should be binary compatible (assuming this is a system
where glibc 2.2 is the installed system C library).
Mark