Michael Smith has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20721


Change subject: IMPALA-12563: Fix UBSAN on ARM
......................................................................

IMPALA-12563: Fix UBSAN on ARM

Links gcc after all other libraries when building with UBSAN. On ARM,
several symbols are included that aren't present in libclang_rt (enabled
by -rtlib=compiler-rt for UBSAN builds) or in libgcc_s.so (needed with
the alternate rtlib); linking libgcc.a after all other libraries ensures
the symbols are present. There may be other repercussions, so this is
only done for UBSAN builds.

Change-Id: I799bedd1cc73c852b0edb928dc71166e534918ba
---
M CMakeLists.txt
M cmake_modules/clang_toolchain.cmake
2 files changed, 14 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/21/20721/1
--
To view, visit http://gerrit.cloudera.org:8080/20721
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I799bedd1cc73c852b0edb928dc71166e534918ba
Gerrit-Change-Number: 20721
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to