ldc
ldc copied to clipboard
Memory sanitizer doesn't appear to be compiled with -fPIC on linux
LDC linux binary (from releases):
/usr/bin/ld: /home/rikki/.local/bin/ldc2-1.37.0-linux-x86_64/bin/../lib/libldc_rt.msan.a(msan.cpp.o): relocation R_X86_64_TPOFF32 against `_ZN6__msanL28is_in_symbolizer_or_unwinderE' can not be used when making a shared object; recompile with -fPIC
Tried to compile my shared library with memory sanitizer and received this.
Well we don't tamper with those compiler-rt build settings. I guess you are supposed to link the shared sanitizer variant, which we probably don't bundle (but you can use the library from clang).