<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 30, 2020 at 1:39 PM Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 28.01.20 um 17:27 schrieb Ansgar:<br>
> On Tue, 2020-01-28 at 16:51 +0100, Michael Biebl wrote:<br>
>> Am 28.01.20 um 14:59 schrieb Ansgar:<br>
>>> I tried linking systemd-{sysusers,tmpfiles} statically against<br>
>>> systemd's private library earlier this month. It increases the<br>
>>> binaries size by ~100 kB (compared to Installed-Size: 14.2 MB of<br>
>>> systemd that is just one percent).<br>
>><br>
>> Is that 100K per binary?<br>
> <br>
> I checked my notes at it was 100 kB per binary: they are 212 kB larger<br>
> (sysusers 51 kB → 137 kB, tmpfiles 84 kB → 212 kB); I tested with<br>
> systemd 243-8.<br>
> <br>
> It might be possible to make it a bit smaller if one was to somehow<br>
> link libsystemd0 for functions available there (libsystemd-shared<br>
> currently duplicates those).<br></blockquote><div><br></div><div>That is not possible. There is global state that is not to be shared.</div><div>See <a href="https://github.com/systemd/systemd/pull/3516#issuecomment-227482524">https://github.com/systemd/systemd/pull/3516#issuecomment-227482524</a></div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div>