Joe McDonnell has submitted this change and it was merged. ( 
https://gerrit.cloudera.org/25337 )

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
Reviewed-on: https://gerrit.cloudera.org/25337
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
---
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(-)

Approvals:
  Michael Smith: Looks good to me, approved
  Joe McDonnell: Verified

--
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: merged
Gerrit-Change-Id: I010c6bac57b7257a88f3e870721443f7f1809486
Gerrit-Change-Number: 25337
Gerrit-PatchSet: 3
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