Prelinking apps

Tollef Fog Heen tfheen at raw.no
Tue Oct 19 18:35:46 CDT 2004


* Scott James Remnant 

| descent scott% LD_DEBUG=statistics /lib/tls/i686/cmov/ld-linux.so.2 /usr/bin/gedit

After a bit of discussion with Daniel Jacobowitz, it seems your method
of checking is a bit flawed.  You need to run just LD_DEBUG=statistics
/usr/bin/gedit, else you will get relocations nonetheless (as you can
see -- the prelinking should have reduced the number of relocations to
0).

It seems it doesn't really make any big difference, but it's always
nice to have a proper procedure. :)

Also, the number of libraries is not as relevant as the number of
relocations, which isn't too bad for GNOME.  (This is also the reason
KDE benefits a lot more from prelinking than GNOME does.)

This is how I understood what Daniel told me, so please don't shoot
me down too hard if something is a bit inaccurate.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



More information about the ubuntu-devel mailing list