Re:A Not-Called Function Can Cause a 5X Slowdown
by tedunangst on Tuesday December 04, 2018 @03:51PM
(#18603497)
I have 100s of binaries on my system. Which ones do I need relink?
Re:A Not-Called Function Can Cause a 5X Slowdown
by juliangoldsmith on Tuesday December 04, 2018 @04:15PM
(#18603663)
You can write a script to look at package files' makedepends, and rebuild everything that uses the offending library.
There is no reason I see why you couldn't just have a build that produces the library .a file for zlib, which can then be pulled in as a dependency of your build / linked in statically.
I totally agree, they had a nightmare situation on their hands, but I don't think static linking was solely to blame :-)