You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Sahil Takiar (Jira)" <ji...@apache.org> on 2020/03/29 16:04:00 UTC

[jira] [Created] (IMPALA-9567) Compile thirdparty toolchain libs with TSAN

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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org