From 8843f5186646722a48e1915cf2844d6d5b7f6466 Mon Sep 17 00:00:00 2001 From: Heikki Halmet Date: Thu, 25 Feb 2021 08:53:08 +0200 Subject: [PATCH] Change GCC version to 8.3.0 for Ubuntu 18.04 We need to use gcc 8 instead of 9 so that the Qt installer will work with CentOS 8.3 which have gcc 8 in the system. If we use newer gcc version with the binaries there will be issues with libstdc++. Using gcc-toolset-9 in CentOS won't help either because it will link libstdc++ against the one in system. Pick-to: 6.1 Task-number: QTBUG-91352 Change-Id: I2a3d186bc04b1f54f14ed95f0588d18bd63814c4 Reviewed-by: Ville Voutilainen --- coin/provisioning/common/linux/gcc.sh | 4 ++-- coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coin/provisioning/common/linux/gcc.sh b/coin/provisioning/common/linux/gcc.sh index 0d9c038a..08920669 100755 --- a/coin/provisioning/common/linux/gcc.sh +++ b/coin/provisioning/common/linux/gcc.sh @@ -2,7 +2,7 @@ ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2021 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the provisioning scripts of the Qt Toolkit. @@ -57,7 +57,7 @@ function InstallGCC() { suffixVersion=$(echo "$version" | cut -d "." -f1,2) sourceFile="gcc-$version.tar.xz" cachedUrl="http://ci-files01-hki.intra.qt.io/input/gcc/$sourceFile" - officialUrl="ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-$version/$sourceFile" + officialUrl="https://gcc.gnu.org/pub/gcc/releases/gcc-$version/gcc-$version.tar.xz" targetFile="$tmpFolder/$sourceFile" buildFolder="$HOME/gcc_build" diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh index 15142600..744228d7 100755 --- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh +++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh @@ -5,4 +5,4 @@ set -ex # shellcheck source=../common/linux/gcc.sh source "${BASH_SOURCE%/*}/../common/linux/gcc.sh" -InstallGCC 9.3.0 50 5038e8752407d14e5a70c8efc80c20a6d4219aaa 212f77d7b7fe1fdf01a1c0b0ebc9d82aeda5e1e0 +InstallGCC 8.3.0 50 ccccfe4fe9206d111a173c19a21f8700d1133ae8 c27f4499dd263fe4fb01bcc5565917f3698583b2