You are not logged in.
The following patches introduce an optional ELF hash section
replacement, optimized for speed and data cache accesses, which in our
tests improves dynamic linking by about 50%. Prelinking of course
eliminates the costs altogether but if prelinked apps use dlopen they
benefit for this portion.
http://sources.redhat.com/ml/binutils/2 … 00418.html
Is there a chance that this patch will be added to binutils in Arch and most packages will be recompiled with it eventually.
Also, could there be a standard prelink utility in Arch?
to live is to die
Offline
I doubt this patch will make it into our binutils package before binutils 2.18 is released. We track the stable versions of binutils, while fedora/redhat develops the new versions and uses them in fedora. These patches are against 2.17.50, which is a development snapshot. I don't know about their many glibc patches, so it's just wait until they hit the stable releases.
Offline
OK.
And what's the Arch-way of doing the prelink?
to live is to die
Offline
There's a prelink package in extra that can prelink your binaries.
Offline
Oh, thanks, Jan! I didn't know about that. :oops:
to live is to die
Offline
6 moths later...
Now binutils ( http://www.archlinux.org/packages/search/?q=binutils ) is 2.17.50.
Are there news about DT_GNU_HASH?
Offline
There's a prelink package in extra that can prelink your binaries.
Yeah... but it doesn't work well with Arch because many Arch libraries are compiled without -fPIC
Last edited by ekerazha (2007-08-23 17:03:44)
Offline
however, x86_64 users might benefit because a majority of our (or my) packages use -fPIC.
Offline
last toolchain update introduced gnu.hashing. read PKGBUILDs to see the changes. there were also mails on the public dev list:
http://archlinux.org/pipermail/arch-dev … 01067.html
Offline
how is the situation now??
Tnks
Gnu/Linux User on Arch(x86_64)
Offline
how is the situation now??
Tnks
good ![]()
Offline
Can you explain it a wee bit more verbose?
Last time i686 did not really use DT_GNU_HASH, whereas x86_64 already made use of it. Has anything changed since that?
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline
Yes, the ML mentions about waiting for 2.18 of binutils, which I have installed now (2.18-3).
Running x86_64.
Is it necesary to run prelink for faster program start for everything that is in core/extra/community?
Or those packages are all now built with DT_GNU_HASH.
Cheers and thanks in advance for a quick answer!
a nail that sticks out, is hammered down.
aha.
Offline