ngtc icon indicating copy to clipboard operation
ngtc copied to clipboard

Compiler-rt sanitizer not supported

Open oneechanhax opened this issue 5 years ago • 3 comments

Compiler-rts sanitizer is not supported with musl libc, it should be disabled with -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_SANITIZERS_TO_BUILD=none

oneechanhax avatar Jul 12 '19 15:07 oneechanhax

Ideally I want to support sanitizers, but just disabling them is OK for now

tpimh avatar Jul 13 '19 05:07 tpimh

alpine disables them. its missing fstab.h that glibc provides. it isnt there so its best to disable it.

oneechanhax avatar Jul 15 '19 12:07 oneechanhax

I was able to compile compiler_rt with sanitizers, it required installation of BSD-licensed libexecinfo, otherwise builds just as usual.

tpimh avatar Jul 18 '19 14:07 tpimh