This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: A patch to add --with-oldest-abi=ABI. [Re: A patch to add --disable-old-version.]
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: A patch to add --with-oldest-abi=ABI. [Re: A patch to add --disable-old-version.]
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 02 Dec 2000 01:05:23 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20001130132922.A11034@valinux.com><20001130172636.A19978@valinux.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
I have applied this patch now although I'm still not 100% satisfied:
- res_init is not handled correctly
- applications using the old interfaces start up with the reduced library
and will crash later. This really has to be avoided. Looking through
all the undefined references at runtime is probably unwanted.
It might be OK to make all the functions which are currently completely
gone to be aliases of a function which prints an error message and then
terminates the application. So we at least don't get such an anonymous
death.
Even better would be a solution which would signal the problems at
startup time. It might be possible to require that the youngest version
in the application is the same or an even younger one then the version
number given to the --with-oldest-abi option.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------