[ 
https://issues.apache.org/jira/browse/IMPALA-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Armstrong updated IMPALA-9567:
----------------------------------
    Component/s: Infrastructure

> Compile thirdparty toolchain libs with TSAN
> -------------------------------------------
>
>                 Key: IMPALA-9567
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9567
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>            Reporter: Sahil Takiar
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to