Re: libc/libsys split coming soon

From: Robert Clausecker <fuz_at_freebsd.org>
Date: Sat, 03 Feb 2024 12:17:03 UTC
Am Sat, Feb 03, 2024 at 10:15:09AM +0100 schrieb Mateusz Guzik:
> Do I read it correctly that everything dynamically linked will also be
> linked to libsys, as in executing such a binary will now require
> loading one extra .so?
> 
> Binary startup is very slow, for example execve of a hello world
> binary in a Linux-based chroot on FreeBSD is faster by a factor of 2
> compared to a native one. As such perf-wise this looks like a step in
> the wrong direction.

I wonder if we could follow the steps of musl libc and just integrate
libsys/libc into rtld, as basically all dynamically linked programs link
these libraries anyway.

Yours,
Robert Clausecker

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments