This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: more prelink
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 28 Sep 2002 08:20:20 +0200
- Subject: Re: more prelink
- References: <200209280204.WAA90911@bromo.msbb.uc.edu>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Sep 27, 2002 at 10:04:36PM -0400, Jack Howarth wrote:
> Jakub,
> Noting your comments that /lib/ld.so.* shouldn't be prelinked
> in general without the users consent, I just noticed a flaw in
> prelink of 20020923. If I do 'prelink -nav' and look at the
> proposed prelinking I see...
>
> Would prelink /lib/ld-2.2.94.so
>
> Perhaps it would be safer to not allow prelink to automatically
> prelink ld.so.* via the -a flag. Only allow prelink to prelink
> ld.so.* if it has been explicitly passed to prelink on the
> command line. That would prevent any accidental breakage from
> prelinking ld.so inadvertently.
Err, if you don't prelink ld.so, you might as well forget about prelinking.
In order to prelink a binary, all libraries it depends on must be prelinked
(and ld.so is always one of such libraries).
Jakub