Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
It's not just 'a huge number of symbols'; it's 'a huge number of symbols
with very long names differing only in their last few characters'.
This also proved to be a worst-case for a lot of dynamic linkers...
Striking gold in binutils
Posted Mar 27, 2008 7:17 UTC (Thu) by michaeljt (subscriber, #39183)
Is this really the case? I once tried hacking up ld.so to do the lookup backwards (it is
actually possible without doing a strlen for every comparison) and I could see no difference
in performance, based on loading OpenOffice with both linkers and enabling the built-in linker
profiling. Of course, I may have messed up something else in the process...
ld.so is different beast
Posted Mar 27, 2008 9:43 UTC (Thu) by khim (subscriber, #9252)
You can read about what goes on there in Drepper's article. Scroll down to "The GNU-style hash table".
Posted Mar 27, 2008 10:16 UTC (Thu) by michaeljt (subscriber, #39183)
That article was the reason I tried it in the first place :)
Posted Mar 27, 2008 10:46 UTC (Thu) by nix (subscriber, #2304)
Hm, interesting. I'll try it at some point (probably with part of KDE: OOo takes too damn long
to build ;} ) and see if I can make it go slow ;}
Posted Mar 27, 2008 11:05 UTC (Thu) by michaeljt (subscriber, #39183)
No need to rebuild anything to try out a new dynamic linker, methinks...
Posted Mar 28, 2008 21:27 UTC (Fri) by nix (subscriber, #2304)
I need to rebuild it to add back a non DT_GNU_HASH :)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds