prelink : wants to rule them all !

Discussions Regarding Software

Moderator: Moderators

prelink : wants to rule them all !

Postby mélodie » Tue Mar 06, 2012 1:17

Hi,

I am trying to use prelink in order to get Firefox starting a bit faster.

I tried the feature described here in another distribution:
http://crast.us/james/articles/prelink.php which consists in prelinking only a few chosen applications, but in Sabayon no way ! It wants to prelink everything.

This is the command line I used:
Code: Select all
# prelink -vmR -n /usr/lib64/firefox/firefox


You can notice I invoked it against the program, not againsts it's symlink /usr/bin/firefox.

The configuration file:
# For an in depth prelinking guide, please see:
# http://www.gentoo.org/doc/en/prelink-howto.xml

# Control prelinking behavior in the cronjob.
# yes - automatically prelink the system
# no - automatically un-prelink the system
# "" - do nothing at all (user manages)
# (if you change this from yes to no prelink -ua
# will be run next night to undo prelinking)
PRELINKING=""

# Options to pass to prelink
# -m Try to conserve virtual memory by allowing overlapping
# assigned virtual memory slots for libraries which
# never appear together in one binary
# -R Randomize virtual memory slot assignments for libraries.
# This makes it slightly harder for various buffer overflow
# attacks, since library addresses will be different on each
# host using -R.
PRELINK_OPTS=-mR

# How often should full prelink be run (in days)
# Normally, prelink will be run in quick mode, every
# $PRELINK_FULL_TIME_INTERVAL days it will be run
# in normal mode. Comment it out if it should be run
# in normal mode always.
# PRELINK_FULL_TIME_INTERVAL=14

# How often should prelink run (in days) even if
# no packages have been upgraded via portage.
# If $PRELINK_FULL_TIME_INTERVAL days have not elapsed
# yet since last normal mode prelinking, last
# quick mode prelinking happened less than
# $PRELINK_NOEMER_CHECK_INTERVAL days ago
# and no packages have been upgraded by portage
# since last quick mode prelinking, prelink
# will not do anything.
# Change to
# PRELINK_NOEMER_CHECK_INTERVAL=0
# if you want to disable the portage database timestamp
# check (especially if you don't use portage
# exclusively to upgrade system libraries and/or binaries).
PRELINK_NOEMER_CHECK_INTERVAL=7


The above described command line, with out put to a file starts with:
prelink -vmR -n /usr/lib64/firefox/firefox > /home/melodie/prelink-test-cl.txt
prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in e_ident'
prelink: /usr/lib64/firefox/plugin-container: Could not find one of the dependencies
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in e_ident'
prelink: /usr/lib64/firefox/plugin-container: Could not find one of the dependencies


While the file produced I put as attachment. (Very long file).

/sorry but the limit number attachments on this forum has been reached, says the forum. You can see the content of the file here:
https://minus.com/mJ4DdIYv7#

How could I get it to prelink just what I want and not more ?

Thanks,
Mélodie
mélodie
Simple Hen
 
Posts: 97
Joined: Tue Feb 14, 2012 10:41

Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest

cron