[SERVER-83727] Investigate combination of antithesis + TSAN + -shared-libsan compiler flag Created: 29/Nov/23  Updated: 02/Feb/24

Status: Needs Scheduling
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ryan Berryhill Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-83071 Provide antithesis with ASAN+UBSAN bi... Closed
Assigned Teams:
Correctness
Participants:

 Description   

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.


Generated at Thu Feb 08 06:52:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.