This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Binary compatibility loss regarding errno
On Mon, Dec 23, 2002 at 09:29:15PM +0100, Jakub Jelinek wrote:
> Anyway, I still think glibc .so static link only wrappers and keeping
> errno@@GLIBC_2.0 etc. would be best (and most tolerant to linkers).
> E.g. on SPARC it was not possible to build current glibc (with the
> patch I posted yesterday) with binutils 2.13.90.0.2, one has to use
> 2.13.90.0.16 or above. Otherwise ld completely messed up symbol versions
> in libpthread.so, apparently because in libc.so there is
> pthread_attr_init@GLIBC_2.0 and pthread_attr_init@GLIBC_2.1 while in
> libpthread.so should be pthread_attr_init@GLIBC_2.0 and
> pthread_attr_init@@GLIBC_2.1.
Another alternative is making the symbols have default symbol versions
at libc link time and then post process libc.so (flip bits in the version
sections for symbols which should be compat only without default version).
Jakub