On Thu, 2007-08-09 at 21:57 +0200, Damir Perisa wrote:
Thursday 09 August 2007, Jan de Groot wrote: | As some of us have noticed, there's a new toolchain in current | now. One of the new features is GNU hashing for library symbols. | This should speed up linking libraries together. To get full | advantage of this hashing, the ideal thing would be to have | everything built using GNU hashing on your system. I would suggest | a full repo rebuild for this.
you mean having
--hash-style=gnu
as standard for any ld?
i read it would increase speed up to 50%, sounds great! is it backward compatible? no, right? how do debuggers deal with this? do they already know it? (or we need to update/fix them first?)
--hash-style=both is what the new gcc compiles with by default. This is backwards compatible on runtime, though older binutils versions can't link to these libraries at least on amd64 (see various bugreports we got because some maintainers use testing to compile current stuff with)