Making musl and proprietary NVIDIA drivers work together
Chimera Linux describes making NVIDIA’s proprietary graphics stack work on musl using GLVND, gcompat, ELF rewriting and musl patches.
The particularly interesting ABI problems include IFUNC relocations, dynamically loaded static TLS and glibc’s statically initialized recursive mutexes. A driver-specific shim translates mutex initialization; the author reports successful testing on a legacy GTX 980 Ti, with other hardware reports, but says packaging and testing need more work.