A patch to add --with-oldest-abi=ABI. [Re: A patch to add --disable-old-version.]

Ulrich Drepper drepper@redhat.com
Fri Dec 1 08:30:00 GMT 2000


"H . J . Lu" <hjl@valinux.com> writes:

> Based on Roland suggestion, I withdraw the --disable-old-version patch.
> Here is the patch to add --with-oldest-abi=ABI.

This cannot be done this way.  You are once again creating an
incompatible library.  The version information for functions gets
completely dropped.  Take chown().  There used to be a GLIBC_2.0 and a
GLIBC_2.1 version.  I.e., newly linked applications reference
chown@GLIBC_2.1.  Now there is no version information at all.  A newly
created application references chown (no version information) which on
a system with the full libc call chown@GLIBC_2.0.

This is repeated for a lot of symbols.  Why don't you test what you
propose for these kind of problems?

Also, there are lots of symbols not caught at all (getrlimit to name
only one).

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list