Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83727

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

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

      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 Unassigned
            Reporter:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: