News for hackers. Stuff that matters.
Re:A Not-Called Function Can Cause a 5X Slowdown by TFortunato on Tuesday December 04, 2018 @03:06PM (#18603164)
Unfortunately, this is conflating static linking with bad dependency management. ("Just copy it into your own repo", is a different step, that is unnecessary to do the second step, "and link it statically")

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 :-)

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.