Hello Yida Wu, Michael Smith,

I'd like you to reexamine a change. Please visit

    https://gerrit.cloudera.org/25337

to look at the new patch set (#2).

Change subject: IMPALA-15743: Disable TSAN specific ABI difference in protobuf 
header
......................................................................

IMPALA-15743: Disable TSAN specific ABI difference in protobuf header

Protobuf's map_field.h has fields that are conditionally
defined based on the THREAD_SANITIZER and __SANITIZE_THREAD__
macros. These are defined by Impala's TSAN build, but the
actual protobuf library is built normally. This produces
an ABI difference that causes crashes in Impala TSAN runs
(specifically expr-test).

This patches protobuf to disable the TSAN specific logic
in map_field.h.

Testing:
 - TSAN test job succeeds with this toolchain change

Change-Id: I010c6bac57b7257a88f3e870721443f7f1809486
---
M buildall.sh
A 
source/protobuf/protobuf-3.21.9-patches/0001-PATCH-Remove-tsan-conditional-ABI-difference-map-field.patch
2 files changed, 20 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/37/25337/2
--
To view, visit https://gerrit.cloudera.org/25337
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I010c6bac57b7257a88f3e870721443f7f1809486
Gerrit-Change-Number: 25337
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>

Reply via email to