[Bug 287447] libllvm, libclang, and liblldb converted into shared libraries - performance degradation
Date: Wed, 11 Jun 2025 16:06:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287447
Dimitry Andric <dim@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
I think this was more or less expected, since loading executables depending on
(largish) dynamic libraries is almost always slower than linking all those
libraries in statically. In addition, the executables are now PIE which will
also cause some performance loss, but it will probably be negligible relative
to the dynamic linking itself.
When I was working on this patch I was considering a WITH/WITHOUT option to
enable or disable dynamic linking, but that made it quite a bit more
complicated, and during the review it did not seem that necessary.
Maybe we can reconsider such an option?
--
You are receiving this mail because:
You are the assignee for the bug.