From 2f9edd6b9e9c01394b838d65ffebfd451d3d915d Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Wed, 21 Nov 2018 15:14:03 +0100 Subject: [PATCH] ci: Switch to gcc-7 to avoid gcc-8 miscompilation of mesa The bug is described here: https://bugzilla.redhat.com/show_bug.cgi?id=1645400 And fixed in gcc here: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=264232 Reviewed-by: Gurchetan Singh Signed-off-by: Robert Foss Signed-off-by: Jakob Bornecrantz --- ci/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/Dockerfile b/ci/Dockerfile index 4f67d15..ee131fb 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -6,6 +6,8 @@ ENV PATH=$PATH:/usr/local/go/bin ENV LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:/usr/local/lib/x86_64-linux-gnu ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig ENV LDFLAGS="-L/usr/local/lib64 -L/usr/local/lib/ -L/usr/local/lib/x86_64-linux-gnu" +ENV CC="gcc-7" +ENV CXX="g++-7" ENV CFLAGS="-g3" ENV CXXFLAGS="-g3" ENV GIT_DATE="`date +%Y-%m-%d -d \"1 year ago\"`" @@ -27,6 +29,8 @@ RUN apt-get -y install ca-certificates && \ clang-6.0 \ cmake \ dbus \ + g++-7 \ + gcc-7 \ gdb \ gdc-6 \ git \