Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18505


Change subject: IMPALA-10199: Add a toolchain build for Ubuntu 20
......................................................................

IMPALA-10199: Add a toolchain build for Ubuntu 20

This adds support for building the toolchain
on Ubuntu 20.

With the new version of glibc in Ubuntu 20, GCC
and LLVM fail to compile due to an assert about
the offsets of particular fields in structs.
This adds a patch for GCC and LLVM to fix the
compilation error. These patches match the
changes made to libsanitizer in:
https://github.com/gcc-mirror/gcc/commit/4abc46b51af5751d657764d0c44b8a4aeed06302
This is the same libsanitizer code in both GCC
and LLVM code, so the patches are equivalent.

Testing:
 - Built the Ubuntu 20 docker image and built
   the toolchain.
 - Built with Ubutu 16 to check older versions

Change-Id: Ic3bb716448173d718a675b45bddd34228fdfac6d
---
M Makefile
M buildall.sh
A docker/ubuntu2004.df
M in-docker.py
M source/gcc/build.sh
A source/gcc/gcc-7.5.0-patches/0001-PATCH-glibc-2.31-libsanitizer.patch
A source/llvm/llvm-5.0.1-patches/0004-PATCH-glibc-libsanitizer.patch
7 files changed, 144 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/05/18505/1
--
To view, visit http://gerrit.cloudera.org:8080/18505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3bb716448173d718a675b45bddd34228fdfac6d
Gerrit-Change-Number: 18505
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>

Reply via email to