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:28:59 +0200
- Subject: Re: more prelink
- References: <200209280339.XAA90598@bromo.msbb.uc.edu>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Sep 27, 2002 at 11:39:06PM -0400, Jack Howarth wrote:
> Jakub,
> I think I have stumbled over another issue with prelink that
> could be problematic unless addressed. Currently the glibc srpms
> are using a postinst script to prelink libc.so.6 with the
> --reloc-only flag so it is relinked to the specified base address.
> If I do that on entropy with...
>
> /usr/sbin/prelink --reloc-only=0x40000 /lib/libc-2.2.94.so
>
> and then do a...
>
> prelink -nav
>
> ...to see what complete prelink would do, I find...
>
> Would prelink /lib/libc-2.2.94.so
>
> Isn't that going to undo the --reloc-only prelinking we just did?
It might give it a different base address, yes. And will
actually prelink it. Don't understand what's the problem.
libc.so is prelink -r'ed only to speed up unprelinked binaries.
Jakub