3 ms·
> A better way to do this analysis would be to build a Linux distribution with everything statically linked [..] Here you go: Stali https://dl.suckless.org/ht
by weinzierl 6y ago
> A better way to do this analysis would be to build a Linux distribution with everything statically linked [..]
Here you go: Stali
https://dl.suckless.org/htmlout/sta.li/ https://dl.suckless.org/htmlout/sta.li/
"Stali distribution smashes assumptions about Linux"
https://www.infoworld.com/article/3048737/stali-distribution-smashes-assumptions-about-linux.html https://www.infoworld.com/article/3048737/stali-distribution...
- devit 6y agoFor a useful comparison you need the static and dynamic distributions to be otherwise the same, i.e. you want to pick a mainstream distribution and build it from scratch with both static and dynamic linking and compare.
- a1369209993 6y agoI don't know of any mainstream distribution that doesn't make full-static-from-scratch builds gratuitously painful and difficult. Personally I gave up after trying to blunt-force-trauma glibc into linking correctly, though, so someone with more internals knowledge might have better success at it.
- yjftsjthsd-h 6y agoDepends on your ideas of "mainstream"; I expect nixos and gentoo are both happy to do such rebuilds for you. But, as you note, the real pain is that glibc really doesn't want you to do static builds... I wonder how gentoo and/or nixos support is for musl...
- marcthe12 6y agoYou going to have to disable PAM which basically limits the the stuff you can install. Also qt and Mesa are designed to be static libs so expect token stuff. I have some ideas to solve thisfor long time but any solution is going by in from multiple places.