From 54a06d365738c1e047317d1854e30edcf7e89d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Tue, 10 Sep 2024 11:27:23 +0200 Subject: [PATCH 1/3] Avoid some rpminspect failures in gating - badfuncs - false positives - pathmigration - genuine but of a low priority --- rpminspect.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 rpminspect.yaml diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..6771cdf --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,13 @@ +badfuncs: + # GCC doesn't use the "forbidden" functions as such. Just some of its + # sanitizers can instrument those functions which leads to false + # positives in the badfuncs test. + ignore: + - /usr/lib*/libasan.so.*.*.* + - /usr/lib*/libtsan.so.*.*.* + +pathmigration: + # Incomplete UsrMove, known but not planned at the moment + ignore: + - /lib*/libgcc_s-*.so.* + - /lib*/libgcc_s.so.* From 9c9959a813cc7c00a094fdd3ff1728e48fb296a7 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 24 Sep 2024 22:10:13 -0400 Subject: [PATCH 2/3] Default tuning to power 10 for RHEL10 and later Resolves: RHEL-56476 --- gcc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 215bb29..b1bc084 100644 --- a/gcc.spec +++ b/gcc.spec @@ -4,7 +4,7 @@ %global gcc_major 14 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 1 +%global gcc_release 2 %global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804 %global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed %global _unpackaged_files_terminate_build 0 @@ -1188,7 +1188,11 @@ CONFIGURE_OPTS="\ %endif %ifarch ppc64le %if 0%{?rhel} >= 9 +%if 0%{?rhel} >= 10 + --with-cpu-32=power9 --with-tune-32=power10 --with-cpu-64=power9 --with-tune-64=power10 \ +%else --with-cpu-32=power9 --with-tune-32=power9 --with-cpu-64=power9 --with-tune-64=power9 \ +%endif %else --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \ %endif @@ -3616,6 +3620,9 @@ end %endif %changelog +* Wed Sep 25 2024 Siddhesh Poyarekar 14.2.1-2 +- Default tuning to power 10 for RHEL10 and later (RHEL-56476). + * Thu Aug 1 2024 Jakub Jelinek 14.2.1-1 - update from releases/gcc-14 branch - GCC 14.2 release From b557e0d39f3d3125a44d2a60a30174fe59eb07cd Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 30 Sep 2024 18:28:17 +0200 Subject: [PATCH 3/3] Use https:// instead of git:// in git URLs. Resolves: RHEL-61086 --- gcc.spec | 2 +- update-gcc.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc.spec b/gcc.spec index b1bc084..4bc4e33 100644 --- a/gcc.spec +++ b/gcc.spec @@ -171,7 +171,7 @@ Source0: gcc-%{version}-%{DATE}.tar.xz Source1: nvptx-tools-%{nvptx_tools_gitrev}.tar.xz # The source for nvptx-newlib package was pulled from upstream's vcs. Use the # following commands to generate the tarball: -# git clone git://sourceware.org/git/newlib-cygwin.git newlib-cygwin-dir.tmp +# git clone https://sourceware.org/git/newlib-cygwin.git newlib-cygwin-dir.tmp # git --git-dir=newlib-cygwin-dir.tmp/.git archive --prefix=newlib-cygwin-%%{newlib_cygwin_gitrev}/ %%{newlib_cygwin_gitrev} ":(exclude)newlib/libc/sys/linux/include/rpc/*.[hx]" | xz -9e > newlib-cygwin-%%{newlib_cygwin_gitrev}.tar.xz # rm -rf newlib-cygwin-dir.tmp Source2: newlib-cygwin-%{newlib_cygwin_gitrev}.tar.xz diff --git a/update-gcc.sh b/update-gcc.sh index 93160c9..47d7d70 100755 --- a/update-gcc.sh +++ b/update-gcc.sh @@ -10,9 +10,9 @@ v=`sed -n 's/^%global gcc_version //p' gcc.spec` p=`sed -n 's/^%global gitrev //p' gcc.spec` h=$1 if [ "$#" -ge 2 ]; then - git clone --dissociate --reference $2 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp + git clone --dissociate --reference $2 https://gcc.gnu.org/git/gcc.git gcc-dir.tmp else - git clone git://gcc.gnu.org/git/gcc.git gcc-dir.tmp + git clone https://gcc.gnu.org/git/gcc.git gcc-dir.tmp fi git --git-dir=gcc-dir.tmp/.git fetch origin $h d=`date --iso | sed 's/-//g'`