[llvm-bugs] [Bug 35536] lld might be creating DSOs that takes more time to load for the dynamic loader than those created by gold
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu May 23 20:04:06 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=35536
Fangrui Song <i at maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |i at maskray.me
Status|NEW |RESOLVED
--- Comment #8 from Fangrui Song <i at maskray.me> ---
I think this has been fixed for a while. We experienced slowdown of many lld
linked programs a few months ago, but various testing says it has been fixed.
One significant thing was the redundant ld-linux-x86-64.so.2 DT_NEEDED entry in
DSOs (D55902/r349849). In the case of 5000+ DSOs, the extra DT_NEEDED in every
DSO directly depended by the executable made glibc ld.so tens of seconds slower
at startup. glibc has O(n^2) string comparison in several places.
The bloom filter Shift2 was improved in D55971/r349966
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190524/aa522925/attachment.html>
More information about the llvm-bugs
mailing list