Investigate combination of antithesis + TSAN + -shared-libsan compiler flag

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The v4 toolchain doesn't support LLVM TSAN with the -shared-libsan option. It only includes a static version of the TSAN runtime and lacks the dynamic version. LLVM-14 and higher have a dynamic TSAN runtime, so those version should support the combination of TSAN + -shared-libsan.

      Antithesis testing is handled by specific evergreen variants with libvoidstar in the name (here). Antithesis provides a shared library `libvoidstar.so` that, if it is to be combined with clang sanitizers, requires us to build with the -static-libsan option.

      This ticket tracks the need to enable that option in the evergreen antithesis + TSAN build variant.

              Assignee:
              Unassigned
              Reporter:
              Ryan Berryhill
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: