You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2026/09/09 03:34:23 UTC
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24806
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
[thirdparty] build LLVM/CLANG 11 on Ubuntu 26
This changelist back-ports various fixes from the LLVM/CLANG upstream
repo to allow for building 3rd-party LLVM/CLANG 11 with newer glibc
versions (e.g., glibc 2.43 that comes with Ubuntu 26.04 LTS).
Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
---
A thirdparty/patches/llvm-crypt-00.patch
A thirdparty/patches/llvm-crypt-01.patch
A thirdparty/patches/llvm-remove-termio-struct.patch
M thirdparty/vars.sh
4 files changed, 245 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/06/24806/1
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Patch Set 1: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/2944/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
Gerrit-Comment-Date: Wed, 09 Sep 2026 05:14:56 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Patch Set 1:
Just curious if with these patches LLVM build on Ubuntu 26 indeed succeeded and if there was any other testing done.
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
Gerrit-Comment-Date: Wed, 09 Sep 2026 17:48:00 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Patch Set 1:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2944/
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 09 Sep 2026 03:34:31 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
[thirdparty] build LLVM/CLANG 11 on Ubuntu 26
This changelist back-ports various fixes from the LLVM/CLANG upstream
repo to allow for building 3rd-party LLVM/CLANG 11 with newer glibc
versions (e.g., glibc 2.43 that comes with Ubuntu 26.04 LTS).
Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Reviewed-on: http://gerrit.cloudera.org:8080/24806
Tested-by: Alexey Serbin <al...@apache.org>
Reviewed-by: Abhishek Chennaka <ac...@cloudera.com>
---
A thirdparty/patches/llvm-crypt-00.patch
A thirdparty/patches/llvm-crypt-01.patch
A thirdparty/patches/llvm-remove-termio-struct.patch
M thirdparty/vars.sh
4 files changed, 245 insertions(+), 1 deletion(-)
Approvals:
Alexey Serbin: Verified
Abhishek Chennaka: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Patch Set 1: Verified+1
unrelated build failure in RELEASE build: that's a well known race in establishing shared links for 3rd-party Jenkins workspaces
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
Gerrit-Comment-Date: Wed, 09 Sep 2026 19:48:21 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has removed a vote on this change.
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Removed Verified-1 by Kudu Jenkins (120)
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Patch Set 1: Code-Review+2
Thanks for the detailed explanation.
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
Gerrit-Comment-Date: Wed, 09 Sep 2026 21:46:40 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24806 )
Change subject: [thirdparty] build LLVM/CLANG 11 on Ubuntu 26
......................................................................
Patch Set 1:
> Just curious if with these patches LLVM build on Ubuntu 26 indeed
> succeeded and if there was any other testing done.
Yes: with this changelist LLVM/CLANG 11 in 3rd-party was successfully built on my Ubuntu 26.04 LTS x86_64 VM. I also built Kudu's C++ server-side components, the CLI tool, and the tests Also, other testing has been performed as well for DEBUG build. Overall, this changelist looks good to go after checking out the test results -- see below for the details.
As for the build failure for RELEASE reported by Jenkins at https://jenkins.kudu.apache.org/job/build_and_test/18047 -- that's because of the well-known race in the 3rd-party workspace, while establishing symbolic links from /opt/kudu/thirdparty to the directory where the installed artifacts actually reside.
With DEBUG build at Ubuntu 26.04 LTS, almost all tests passed except for the following:
* client_examples-test (Ubuntu's cmake of 4.25 version rejects compatibility with cmake 3.5 unless explicitly adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 flag for configuration)
* a few issues due to intermittent DNS resolver flukes that passed on re-running those (e.g., "Network error: unable to resolve address for 0.pool.ntp.org: Name or service not known (error -2)")
* errors somewhere in the STL internals that come with G++-15 because of 0 stddev for normal distribution
/usr/include/c++/15/bits/random.h:2138: std::normal_distribution<_RealType>::param_type::param_type(_RealType, _RealType) [with _RealType = double]: Assertion '_M_stddev > _RealType(0)' failed.
As for crashes with assertions on zero stddev for normal distribution, I'm planning to address it in a separate follow-patch (we shouldn't set stddev for latency injection to 0 in the tests).
I also verified LLVM/CLANG can be built successfully with this changelist on Ubuntu 24.04 LTS and tests passed there as well (DEBUG build).
When compiling with GCC-15, there are now warnings related to the C++20-related update in the standard [1]: those pop up when compiling Kudu's C++ code. I'm about to post a separate changelist to quell the warnings.
[1] https://eel.is/c++draft/diff.cpp17.class#2
--
To view, visit http://gerrit.cloudera.org:8080/24806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f8f5b7cdf862c3157ac7902163c101db0f15aa0
Gerrit-Change-Number: 24806
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>
Gerrit-Comment-Date: Wed, 09 Sep 2026 19:47:23 +0000
Gerrit-HasComments: No