I've started trying netbsd recently.
I was curious how well the linux compatibility layer works, so I compiled os-test on a musl-based linux machine, and ran the tests on netbsd.
What I immediately found was that there's apparently no sure fire way to distinguish the OS a given ELF binary targets. There is an "OS/ABI" field in the header, but it's typically set to "System V" even on Linux.
So netbsd relies on some heuristics. One of which is to look at the program interpreter. But netbsd only knows the name of the glibc dynamic loader, not the musl one.
So I've now landed my first contribution to netbsd, to teach it about the musl dynamic loader!
#netbsd #musl
#musl
3 posts · Last used 23h
Boosted by @joe@f.duriansoftware.com
With the locale overhaul project drawing to a conclusion in the next couple weeks, I'll be back to not having any funded projects on #musl.
I would really like to get some funding for C23 support (this is a mix of merging/revising existing patches and writing some new code) and POSIX 2024 support (some new code, lots of review of new specification text and bringing existing code for newly-standardized stuff up into conformance) as the next big project(s).
Any good leads on making this happen would be most welcome!
You've seen all posts