[systemd-devel] why are the systemd binaries so huge and can we do something about that?
Andrei Borzenkov
arvidjaar at gmail.com
Tue May 17 09:11:54 UTC 2016
On Mon, May 16, 2016 at 12:06 PM, Martin Pitt <martin.pitt at ubuntu.com> wrote:
> Michael Biebl [2016-05-16 4:24 +0200]:
>> Any ideas, why simple tools like loginctl, busctl, hostnamectl require 300K+ ?
>> Could we move more common functionality into a shared, private library
>> to counter the constant growth?
>
> Building src/shared/ into a private libsystemd-internal.so (which
> doesn't have a SONAME and shipped development headers, so that we
> continue to be able to change the API freely) should help a great deal
> there.
Well, with static library each (small) binary only picks what it
needs. With common shared library everything must be always present
even if you need just a handful of small binaries. So it really needs
some real life comparison in typical installations.
More information about the systemd-devel
mailing list