In rawhide prelink -avR doesn't work, switch to -avmR

Jakub Jelinek jakub at redhat.com
Mon Jan 28 16:27:58 UTC 2008


On Sat, Jan 26, 2008 at 04:23:26PM -0600, Bruno Wolff III wrote:
> This might not really impact things. I didn't test using -av as the cron
> scripts do. But if the -R option doesn't use up address space faster (which
> I don't know), then the cron scripts may need to be modified.
> This is sample output that I got:
> [root at cerberus bruno]# /usr/sbin/prelink -vaR
> /usr/sbin/prelink: /usr/bin/kbabeldict.#prelink#.UJB6Nz: Could not find one of the dependencies
> /usr/sbin/prelink: /usr/bin/kbabel.#prelink#.PUsLOh: Could not find one of the dependencies
> /usr/sbin/prelink: /usr/bin/gnucash-bin: Could not find one of the dependencies
> /usr/sbin/prelink: /sbin/mdassemble.static: PT_INTERP segment not corresponding to .interp section
> /usr/sbin/prelink: /sbin/fence_xvmd: Could not find one of the dependencies
> Laying out 518 libraries in virtual address space 00101000-50000000
> Random base 0x3b0f0000
> /usr/sbin/prelink: Could not find virtual address slot for /usr/lib/libwireshark.so.0
> 
> The last message about wireshark is the fatal one. The other messages showed
> up when using the -m option, but did not prevent prelinking.

Why are you leaving -m out?  For 32-bit address space, if you have many
shared libraries -m is very important, there isn't really enough address
space in the default ranges to fit thousands of shared libraries.
/etc/sysconfig/prelink has
PRELINK_OPTS=-mR
as the default...

	Jakub




More information about the fedora-devel-list mailing list