From 7ac3dffe9e4da6e0ee735f121c0b4a492bbb05f4 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Mon, 22 Aug 2022 23:51:40 -0700 Subject: [PATCH] Toolchain: Update gcc to version 12.2.0 --- CMakeLists.txt | 2 +- Toolchain/BuildIt.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f80c58178a..d6f5f5a2062 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "SerenityOS") endif() # Check for toolchain mismatch, user might need to rebuild toolchain -set(GCC_VERSION "12.1.0") +set(GCC_VERSION "12.2.0") set(LLVM_VERSION "14.0.1") if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") set(EXPECTED_COMPILER_VERSION "${GCC_VERSION}") diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index cc2427c2769..af268826745 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -85,8 +85,8 @@ GDB_BASE_URL="https://ftp.gnu.org/gnu/gdb" # Note: If you bump the gcc version, you also have to update the matching # GCC_VERSION variable in the project's root CMakeLists.txt -GCC_VERSION="12.1.0" -GCC_MD5SUM="7854cdccc3a7988aa37fb0d0038b8096" +GCC_VERSION="12.2.0" +GCC_MD5SUM="d7644b494246450468464ffc2c2b19c3" GCC_NAME="gcc-$GCC_VERSION" GCC_PKG="${GCC_NAME}.tar.gz" GCC_BASE_URL="https://ftp.gnu.org/gnu/gcc" @@ -209,7 +209,7 @@ pushd "$DIR/Tarballs" md5="" if [ -e "$GCC_PKG" ]; then md5="$($MD5SUM ${GCC_PKG} | cut -f1 -d' ')" - echo "gc md5='$md5'" + echo "gcc md5='$md5'" fi if [ "$md5" != ${GCC_MD5SUM} ] ; then rm -f $GCC_PKG