Sahil Takiar created IMPALA-9567: ------------------------------------ Summary: Compile thirdparty toolchain libs with TSAN Key: IMPALA-9567 URL: https://issues.apache.org/jira/browse/IMPALA-9567 Project: IMPALA Issue Type: Sub-task Reporter: Sahil Takiar
>From Todd L. on an email chain about enabling TSAN: {quote} One point, though, is that for TSAN to work well, you need to instrument thirdparty libs as well, so we'd need to start from native-toolchain and work our way up. {quote} Currently, all thirdparty libs from Impala's native-toolchain are release builds, we need to have TSAN-enabled builds (e.g. compile with {{fsanitize=thread}}) in order to get TSAN to work for thirdparty libs as well. We enabled the TSAN flag {{ignore_noninstrumented_modules}} to suppress all the TSAN warnings from the JVM. So we currently can't use TSAN for any code that cross third-party libs (e.g. we probably can't catch any data races that involve {{boost::mutex}}). -- This message was sent by Atlassian Jira (v8.3.4#803005)