Prelinking apps

Scott James Remnant scott at netsplit.com
Wed Oct 20 06:34:28 CDT 2004


On Wed, 2004-10-20 at 01:35 +0200, Tollef Fog Heen wrote:

> * 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).
> 
How curious ... Why doesn't prelinking work when you use the TLS-enabled
link loader?  Does this mean that any TLS-enabled application, even when
prelinked, isn't going to benefit anyway?

The reason you need to use that link loader is because the default i386
one doesn't know about the hyper-accurate timer in the i686, so you
can't use it for any useful stats.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20041020/2326d844/attachment.pgp


More information about the ubuntu-devel mailing list