Attached is a patch against hardened-dev::musl making llvm-3.5.0 compile with musl-1.1.5. It modifies the ebuild to apply three patches to llvm: musl-support.patch makes musl's dynamic linker names known to llvm. musl-compiler-rt.patch disables all sanitizers to avoid hitting a lot of glibc specific code. musl-fixes.patch are various other fixes for compilation. The latter two patches are not at all suitable for upstreaming. Reproducible: Always
Created attachment 393446 [details, diff] Patch against hardened-dev:musl to make llvm compile with musl libc
pushed to the overlay