From 65fb5177981bac8002adeda87352619fdfa49cb7a13182fe59bd379e6c5d6237 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 19 Jan 2023 11:40:42 +0000 Subject: [PATCH] - Update to GCC trunk head (r13-5254-g05b9868b182bb9) * pulls Go frontend fix to fix build fail on s390x * pulls upstream fix for PR107678, obsoleting gcc13-pr107678.patch - Also package libhwasan_preinit.o on aarch64. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=16 --- cross-aarch64-gcc13-bootstrap.spec | 4 +- cross-aarch64-gcc13.spec | 4 +- cross-amdgcn-gcc13.spec | 4 +- cross-arm-gcc13.spec | 4 +- cross-arm-none-gcc13-bootstrap.spec | 4 +- cross-arm-none-gcc13.spec | 4 +- cross-avr-gcc13-bootstrap.spec | 4 +- cross-avr-gcc13.spec | 4 +- cross-epiphany-gcc13-bootstrap.spec | 4 +- cross-epiphany-gcc13.spec | 4 +- cross-hppa-gcc13-bootstrap.spec | 4 +- cross-hppa-gcc13.spec | 4 +- cross-m68k-gcc13.spec | 4 +- cross-mips-gcc13.spec | 4 +- cross-nvptx-gcc13.spec | 4 +- cross-ppc64-gcc13.spec | 4 +- cross-ppc64le-gcc13.spec | 4 +- cross-pru-gcc13-bootstrap.spec | 4 +- cross-pru-gcc13.spec | 4 +- cross-riscv64-elf-gcc13-bootstrap.spec | 4 +- cross-riscv64-elf-gcc13.spec | 4 +- cross-riscv64-gcc13-bootstrap.spec | 4 +- cross-riscv64-gcc13.spec | 4 +- cross-rx-gcc13-bootstrap.spec | 4 +- cross-rx-gcc13.spec | 4 +- cross-s390x-gcc13.spec | 4 +- cross-sparc-gcc13.spec | 4 +- cross-sparc64-gcc13.spec | 4 +- cross-x86_64-gcc13.spec | 4 +- gcc-13.0.1+git5199.tar.xz | 3 - gcc-13.0.1+git5254.tar.xz | 3 + gcc.spec.in | 6 +- gcc13-pr107678.patch | 113 ------------------------- gcc13-testresults.spec | 4 +- gcc13.changes | 8 ++ gcc13.spec | 6 +- 36 files changed, 43 insertions(+), 216 deletions(-) delete mode 100644 gcc-13.0.1+git5199.tar.xz create mode 100644 gcc-13.0.1+git5254.tar.xz delete mode 100644 gcc13-pr107678.patch diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index a7a35f8..1acd713 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index ae0734f..aa72a06 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index 69c585d..6ceb3c3 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index 052a351..df5cabb 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index e05de4c..f49c591 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -102,7 +102,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -128,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -330,7 +329,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index ab7311d..615fe09 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index 226a9ad..7ea876d 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index e74c681..e79c917 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index 997c328..1579db6 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -102,7 +102,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -128,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -330,7 +329,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index 2de0801..cdce35b 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index 3962310..cafce80 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index deb0876..bafd445 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index 29ee402..6f611d0 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index d13001b..1e0b7ef 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 2044008..91b2437 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index b4ca77f..503dd11 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index 7162b6a..a32ebb8 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index f1242b9..32f0d79 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -102,7 +102,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -128,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -330,7 +329,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index a4a7ed5..d7c9a4c 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index 1ac175b..60d0598 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -102,7 +102,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -128,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -330,7 +329,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index 7319133..3f7e7a9 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index db1351e..2f073e8 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index af02206..b38802d 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index e2dc296..64f93f8 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -102,7 +102,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -128,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -330,7 +329,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index 0d6d26c..19bcbaf 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index 9148172..f87bc14 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index 977c34f..8f55806 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index 4347c9a..2a87795 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index b9b2606..019fa09 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -101,7 +101,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -127,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -329,7 +328,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/gcc-13.0.1+git5199.tar.xz b/gcc-13.0.1+git5199.tar.xz deleted file mode 100644 index 60bfed9..0000000 --- a/gcc-13.0.1+git5199.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9cd5ab32c72e707b63e587e8eb76d719da875ec1e2416b82a50b488800f420cd -size 86044180 diff --git a/gcc-13.0.1+git5254.tar.xz b/gcc-13.0.1+git5254.tar.xz new file mode 100644 index 0000000..f9c4120 --- /dev/null +++ b/gcc-13.0.1+git5254.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5975247c0829349d4b3f579de1e896a0ad9cf627eaca0faf24785876a96df6cc +size 86030880 diff --git a/gcc.spec.in b/gcc.spec.in index 3e1fa80..0c7df6b 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -191,7 +191,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 1 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -369,7 +369,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1204,7 +1203,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 @@ -2262,10 +2260,8 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc@base_ver@-locale.lang %ifarch %hwasan_arch %versmainlib libhwasan.so %versmainlib libhwasan.a -%ifarch x86_64 %versmainlib libhwasan_preinit.o %endif -%endif %ifarch %asan_arch %ubsan_arch %tsan_arch %lsan_arch %hwasan_arch %versmainlib libsanitizer.spec %endif diff --git a/gcc13-pr107678.patch b/gcc13-pr107678.patch deleted file mode 100644 index 9c50cac..0000000 --- a/gcc13-pr107678.patch +++ /dev/null @@ -1,113 +0,0 @@ -A recent change only initializes the regs.how[] during Dwarf unwinding -which resulted in an uninitialized offset used in return address signing -and random failures during unwinding. The fix is to encode the return -address signing state in REG_UNSAVED and REG_UNDEFINED. - -2023-01-10 Wilco Dijkstra - - PR target/107678 - * unwind-dw2.c (RA_SIGNED_BIT): Remove. - * unwind-dw2-execute_cfa.h: Use REG_UNSAVED/UNDEFINED - to encode return address signing state. - * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr) - Check current return address signing state. - (aarch64_frob_update_contex): Remove. - ---- libgcc/config/aarch64/aarch64-unwind.h -+++ libgcc/config/aarch64/aarch64-unwind.h -@@ -29,8 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - - #define MD_DEMANGLE_RETURN_ADDR(context, fs, addr) \ - aarch64_demangle_return_addr (context, fs, addr) --#define MD_FROB_UPDATE_CONTEXT(context, fs) \ -- aarch64_frob_update_context (context, fs) - - static inline int - aarch64_cie_signed_with_b_key (struct _Unwind_Context *context) -@@ -55,42 +53,27 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context) - - static inline void * - aarch64_demangle_return_addr (struct _Unwind_Context *context, -- _Unwind_FrameState *fs ATTRIBUTE_UNUSED, -+ _Unwind_FrameState *fs, - _Unwind_Word addr_word) - { - void *addr = (void *)addr_word; -- if (context->flags & RA_SIGNED_BIT) -+ const int reg = DWARF_REGNUM_AARCH64_RA_STATE; -+ -+ if (fs->regs.how[reg] == REG_UNSAVED) -+ return addr; -+ -+ /* Return-address signing state is toggled by DW_CFA_GNU_window_save (where -+ REG_UNDEFINED means enabled), or set by a DW_CFA_expression. */ -+ if (fs->regs.how[reg] == REG_UNDEFINED -+ || (_Unwind_GetGR (context, reg) & 0x1) != 0) - { - _Unwind_Word salt = (_Unwind_Word) context->cfa; - if (aarch64_cie_signed_with_b_key (context) != 0) - return __builtin_aarch64_autib1716 (addr, salt); - return __builtin_aarch64_autia1716 (addr, salt); - } -- else -- return addr; --} -- --/* Do AArch64 private initialization on CONTEXT based on frame info FS. Mark -- CONTEXT as return address signed if bit 0 of DWARF_REGNUM_AARCH64_RA_STATE is -- set. */ -- --static inline void --aarch64_frob_update_context (struct _Unwind_Context *context, -- _Unwind_FrameState *fs) --{ -- const int reg = DWARF_REGNUM_AARCH64_RA_STATE; -- int ra_signed; -- if (fs->regs.how[reg] == REG_UNSAVED) -- ra_signed = fs->regs.reg[reg].loc.offset & 0x1; -- else -- ra_signed = _Unwind_GetGR (context, reg) & 0x1; -- if (ra_signed) -- /* The flag is used for re-authenticating EH handler's address. */ -- context->flags |= RA_SIGNED_BIT; -- else -- context->flags &= ~RA_SIGNED_BIT; - -- return; -+ return addr; - } - - #endif /* defined AARCH64_UNWIND_H && defined __ILP32__ */ ---- libgcc/unwind-dw2.c -+++ libgcc/unwind-dw2.c -@@ -137,9 +137,6 @@ struct _Unwind_Context - #define SIGNAL_FRAME_BIT ((~(_Unwind_Word) 0 >> 1) + 1) - /* Context which has version/args_size/by_value fields. */ - #define EXTENDED_CONTEXT_BIT ((~(_Unwind_Word) 0 >> 2) + 1) -- /* Bit reserved on AArch64, return address has been signed with A or B -- key. */ --#define RA_SIGNED_BIT ((~(_Unwind_Word) 0 >> 3) + 1) - _Unwind_Word flags; - /* 0 for now, can be increased when further fields are added to - struct _Unwind_Context. */ ---- libgcc/unwind-dw2-execute_cfa.h 2023-01-02 17:53:56.003021412 +0100 -+++ libgcc/unwind-dw2-execute_cfa.h 2023-01-12 19:52:05.456327742 +0100 -@@ -278,10 +278,15 @@ - case DW_CFA_GNU_window_save: - #if defined (__aarch64__) && !defined (__ILP32__) - /* This CFA is multiplexed with Sparc. On AArch64 it's used to toggle -- return address signing status. */ -+ return address signing status. The REG_UNDEFINED/UNSAVED states -+ mean RA signing is enabled/disabled. */ - reg = DWARF_REGNUM_AARCH64_RA_STATE; -- gcc_assert (fs->regs.how[reg] == REG_UNSAVED); -- fs->regs.reg[reg].loc.offset ^= 1; -+ gcc_assert (fs->regs.how[reg] == REG_UNSAVED -+ || fs->regs.how[reg] == REG_UNDEFINED); -+ if (fs->regs.how[reg] == REG_UNSAVED) -+ fs->regs.how[reg] = REG_UNDEFINED; -+ else -+ fs->regs.how[reg] = REG_UNSAVED; - #else - /* ??? Hardcoded for SPARC register window configuration. */ - if (__LIBGCC_DWARF_FRAME_REGISTERS__ >= 32) diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 55b205d..53e3ecd 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -208,7 +208,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -385,7 +385,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -524,7 +523,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 diff --git a/gcc13.changes b/gcc13.changes index 496c687..37b8aba 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 19 11:34:00 UTC 2023 - Richard Biener + +- Update to GCC trunk head (r13-5254-g05b9868b182bb9) + * pulls Go frontend fix to fix build fail on s390x + * pulls upstream fix for PR107678, obsoleting gcc13-pr107678.patch +- Also package libhwasan_preinit.o on aarch64. + ------------------------------------------------------------------- Tue Jan 17 09:30:14 UTC 2023 - Richard Biener diff --git a/gcc13.spec b/gcc13.spec index 9680684..cd7a89e 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -187,7 +187,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git5199 +Version: 13.0.1+git5254 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -364,7 +364,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr107678.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -2025,7 +2024,6 @@ ln -s newlib-4.2.0.20211231/newlib . %if %{suse_version} < 1550 %patch19 -p1 %endif -%patch21 -p0 %patch51 %patch60 -p1 %patch61 @@ -3075,10 +3073,8 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc13-locale.lang %ifarch %hwasan_arch %versmainlib libhwasan.so %versmainlib libhwasan.a -%ifarch x86_64 %versmainlib libhwasan_preinit.o %endif -%endif %ifarch %asan_arch %ubsan_arch %tsan_arch %lsan_arch %hwasan_arch %versmainlib libsanitizer.spec %endif