Joe McDonnell has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/20088 )

Change subject: IMPALA-12225: Fix ASAN builds for glibc >= 2.34
......................................................................

IMPALA-12225: Fix ASAN builds for glibc >= 2.34

On Redhat 9, ASAN builds fail with:
==97426==ERROR: AddressSanitizer failed to allocate 0x0 (0) bytes of 
SetAlternateSignalStack (error code: 22)

This is a known issue in compiler-rt having to do with SIGSTKSZ
no longer being a compile-time constant in glibc 2.34. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100114

This pulls in the patch for LLVM's compiler-rt.

Testing:
 - Built the toolchain and ran an ASAN build on Redhat 9

Change-Id: Ie151580acf59138e0a223b6becc770716ee72c59
Reviewed-on: http://gerrit.cloudera.org:8080/20088
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
---
M buildall.sh
A 
source/llvm/llvm-5.0.1-patches/0007-PATCH-Fix-SetAlternativeSignalStack-for-glibc-2.34.patch
2 files changed, 40 insertions(+), 2 deletions(-)

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

--
To view, visit http://gerrit.cloudera.org:8080/20088
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie151580acf59138e0a223b6becc770716ee72c59
Gerrit-Change-Number: 20088
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>

Reply via email to