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 <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Martonka <[email protected]>
Gerrit-Comment-Date: Wed, 09 Sep 2026 19:47:23 +0000
Gerrit-HasComments: No

Reply via email to