News for hackers. Stuff that matters.
Re:Porting systemd to musl Libc-powered Linux by NewJazz on Thursday September 05, 2024 @02:46PM (#41459401)
it may be better to just write a compatibility library that complements musl with the missing functions

It exists. See gcompat.

https://github.com/Stantheman/gcompat

Re:Porting systemd to musl Libc-powered Linux by awilfox on Thursday September 05, 2024 @07:47PM (#41461429)
FWIW, that is an unofficial mirror repo and very old. gcompat lives at https://git.adelielinux.org/adelie/gcompat.
Re:Porting systemd to musl Libc-powered Linux by NewJazz on Thursday September 05, 2024 @08:29PM (#41461679)
Cursed github monopolizing bing seo for open source projects.
Re:Porting systemd to musl Libc-powered Linux by kokada on Friday September 06, 2024 @05:28AM (#41464457)
> This library is designed to be used for binaries that are already compiled against glibc. It does not contain any headers, and cannot be used to build software that requires glibc. It is instead recommended that any software that requires glibc APIs be modified to become more portable.

This is exactly the opposite that I was talking about. What I was talking is a library that expose glibc compatible headers to compile software that uses Glibc-isms with minor or zero modifications, but this instead is a compatibility layer for binaries and doesn't expose headers (probably for proprietary software that can't be recompiled).