Hello Alexey Serbin, Ashwani Raina, Kudu Jenkins,

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

    http://gerrit.cloudera.org:8080/20336

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

Change subject: [thirdparty] fix TSAN build on Ubuntu 22.04
......................................................................

[thirdparty] fix TSAN build on Ubuntu 22.04

There are 2 things missing from llvm 11:

1. SIGSTKSZ is no longer a constant in the newer glibc, so caching it in a
  static variable can result in a crash.

  This causes the libunwind build to fail at configure:
   "configure: error: cannot run C compiled programs."
  The problem is that the conftest.c compile crashes.

  Altough the problem occurs at libunwind build first, it is an llvm
  issue.

  More info:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100114

+ "/usr/bin/krb5-config --libs gssapi" brings the config "-flto=auto",
  which is ignored by newer clangs (starting from 14.0), but clang 11
  still gives an error.

  The problem occurs while building curl:
  "configure: error: one or more libs available at link-time
  are not available run-time"
  But the error message is misleading: clang just dies with
  unknown option.

  See:
  https://reviews.llvm.org/D99501

Change-Id: Ib9493a9f7212c26a9cfc1e6a6015340cc5fbfdc5
---
M thirdparty/download-thirdparty.sh
A thirdparty/patches/llvm-Sanitizer-built-against-glibc-2_34-doesnt-work.patch
A thirdparty/patches/llvm-ignore-flto-values.diff
3 files changed, 54 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/36/20336/4
--
To view, visit http://gerrit.cloudera.org:8080/20336
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib9493a9f7212c26a9cfc1e6a6015340cc5fbfdc5
Gerrit-Change-Number: 20336
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Martonka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Zoltan Martonka <[email protected]>

Reply via email to