diff --git a/gcc.spec b/gcc.spec index b9fb031d350..4b83a42a0d4 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,4 +1,4 @@ -### RPM external gcc 14.2.1 +### RPM external gcc 14.3.1 ## USE_COMPILER_VERSION ## INITENV +PATH LD_LIBRARY_PATH %{i}/lib64 # Use the git repository for fetching the sources. This gives us more control while developing @@ -6,7 +6,7 @@ # See: https://gcc.gnu.org/viewcvs/gcc/branches/gcc-8-branch/?view=log BuildRequires: gcc-prerequisites -%define gccTag a0550ff9f36a27a03c15d49383c6ec76fc6a8e99 +%define gccTag e02b12e7248f8209ebad35d6df214d3421ed8020 %define gccBranch releases/gcc-14 %define moduleName %{n}-%{realversion} diff --git a/scram-tools.file/tools/gcc/env.sh b/scram-tools.file/tools/gcc/env.sh index 569800d4886..79968b15639 100644 --- a/scram-tools.file/tools/gcc/env.sh +++ b/scram-tools.file/tools/gcc/env.sh @@ -40,12 +40,12 @@ GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility-inlines-hidden" GCC_CXXFLAGS="$GCC_CXXFLAGS -fno-math-errno --param vect-max-version-for-alias-checks=50" GCC_CXXFLAGS="$GCC_CXXFLAGS -Xassembler --compress-debug-sections" -#FIXME: GCC 12.2 workaround +#FIXME: GCC 12/13/14 workaround if [[ "$GCC_VERSION" =~ ^12\.[23]\. ]] ; then GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds" -elif [[ "$GCC_VERSION" =~ ^13\.[3]\. ]] ; then +elif [[ "$GCC_VERSION" =~ ^13\. ]] ; then GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds" -elif [[ "$GCC_VERSION" =~ ^14\.[2]\. ]] ; then +elif [[ "$GCC_VERSION" =~ ^14\. ]] ; then GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds" fi