Chimera Linux applied patch [1] to allow build without binutils. Consider pulling [1] from cports, as this would allow to build NSS when LLVM IR is generated which is not understood by binutils. This is prerequisite for e.g. ThinLTO (LTO (fat LTO) != ThinLTO) or -fsanitize for CFI. I can't test build or runtime at the moment, but NSS with [1] applied used to build on Gentoo here (musl + LLVM without binutils or gcc, global ThinLTO). [1]: https://github.com/chimera-linux/cports/blob/f3e0e579542e/main/nss/patches/clang-ias.patch