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

Change subject: IMPALA-11961/IMPALA-12207: Add support for Redhat 9 / Ubuntu 22 
builds
......................................................................

IMPALA-11961/IMPALA-12207: Add support for Redhat 9 / Ubuntu 22 builds

This adds support for building the toolchain on Redhat 9 and
Ubuntu 22.

This required several changes:
 - LLVM needed a patch to handle an include file removed in Redhat 9
 - The Kudu version needed to be bumped to get the fix for KUDU-3479
   and other Redhat 9 fixes. Since the newer Kudu fixed the underlying
   issue in IMPALA-12174, this also removes that patch
 - Redhat 9 and Ubuntu 22 require a newer version of gperftools.
   This removes gperftools 2.5 and adds 2.10. gperftools 2.10 added
   a frame-pointer stack unwinder that is similar to what we have
   as a patch for 2.8.1, so this omits that patch.

Testing:
 - Ran a build for Redhat 9 and Ubuntu 22

Change-Id: I3d52b2f743ec5079d8720a9024e6432f68751468
Reviewed-on: http://gerrit.cloudera.org:8080/20064
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
---
M Makefile
M buildall.sh
A docker/redhat9.df
A docker/ubuntu2204.df
M in-docker.py
D 
source/gperftools/gperftools-2.5-patches/0001-Don-t-use-MADV_FREE-on-Linux.patch
D 
source/gperftools/gperftools-2.5-patches/0002-Port-gperftools-to-adapt-aarch64.patch
D 
source/gperftools/gperftools-2.5-patches/0003-Implemented-O-log-n-searching-among-large-spans.patch
D 
source/gperftools/gperftools-2.5-patches/0004-refactored-handling-of-reverse-span-set-iterator-for.patch
D source/kudu/0001-IMPALA-12174-Work-around-Kudu-build-issues-with-repo.patch
M source/kudu/build.sh
A 
source/llvm/llvm-5.0.1-patches/0006-PATCH-Remove-include-for-cyclades.h-on-redhat9.patch
12 files changed, 180 insertions(+), 982 deletions(-)

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

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

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d52b2f743ec5079d8720a9024e6432f68751468
Gerrit-Change-Number: 20064
Gerrit-PatchSet: 6
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