From 83701aebd2a1db04f6c369193cd858a25bb79bd959d0e28eba888c0638915530 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 23 Apr 2021 13:04:02 +0000 Subject: [PATCH] - Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 * Includes GCC 11.1 RC2 - Add gcc11-no-offload.patch and - Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation in SLES15 and older. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=342 --- cross-aarch64-gcc11.changes | 6 +- cross-aarch64-gcc11.spec | 7 +- cross-amdgcn-gcc11.changes | 6 +- cross-amdgcn-gcc11.spec | 7 +- cross-arm-gcc11.changes | 6 +- cross-arm-gcc11.spec | 7 +- cross-arm-none-gcc11-bootstrap.changes | 6 +- cross-arm-none-gcc11-bootstrap.spec | 7 +- cross-arm-none-gcc11.changes | 6 +- cross-arm-none-gcc11.spec | 7 +- cross-avr-gcc11-bootstrap.changes | 6 +- cross-avr-gcc11-bootstrap.spec | 7 +- cross-avr-gcc11.changes | 6 +- cross-avr-gcc11.spec | 7 +- cross-epiphany-gcc11-bootstrap.changes | 6 +- cross-epiphany-gcc11-bootstrap.spec | 7 +- cross-epiphany-gcc11.changes | 6 +- cross-epiphany-gcc11.spec | 7 +- cross-hppa-gcc11.changes | 6 +- cross-hppa-gcc11.spec | 7 +- cross-i386-gcc11.changes | 6 +- cross-i386-gcc11.spec | 7 +- cross-m68k-gcc11.changes | 6 +- cross-m68k-gcc11.spec | 7 +- cross-mips-gcc11.changes | 6 +- cross-mips-gcc11.spec | 7 +- cross-nvptx-gcc11.changes | 6 +- cross-nvptx-gcc11.spec | 7 +- cross-ppc64-gcc11.changes | 6 +- cross-ppc64-gcc11.spec | 7 +- cross-ppc64le-gcc11.changes | 6 +- cross-ppc64le-gcc11.spec | 7 +- cross-riscv64-elf-gcc11-bootstrap.changes | 6 +- cross-riscv64-elf-gcc11-bootstrap.spec | 7 +- cross-riscv64-elf-gcc11.changes | 6 +- cross-riscv64-elf-gcc11.spec | 7 +- cross-riscv64-gcc11.changes | 6 +- cross-riscv64-gcc11.spec | 7 +- cross-rx-gcc11-bootstrap.changes | 6 +- cross-rx-gcc11-bootstrap.spec | 7 +- cross-rx-gcc11.changes | 6 +- cross-rx-gcc11.spec | 7 +- cross-s390x-gcc11.changes | 6 +- cross-s390x-gcc11.spec | 7 +- cross-sparc-gcc11.changes | 6 +- cross-sparc-gcc11.spec | 7 +- cross-sparc64-gcc11.changes | 6 +- cross-sparc64-gcc11.spec | 7 +- cross-x86_64-gcc11.changes | 6 +- cross-x86_64-gcc11.spec | 7 +- gcc-11.0.1+git10.tar.xz | 3 - gcc-11.0.1+git31.tar.xz | 3 + gcc.spec.in | 7 +- gcc11-gdwarf-4-default.patch | 29 ++++++++ gcc11-testresults.changes | 6 +- gcc11-testresults.spec | 7 +- gcc11-testsuite-fixes.patch | 89 ----------------------- gcc11.changes | 6 +- gcc11.spec | 7 +- 59 files changed, 307 insertions(+), 175 deletions(-) delete mode 100644 gcc-11.0.1+git10.tar.xz create mode 100644 gcc-11.0.1+git31.tar.xz create mode 100644 gcc11-gdwarf-4-default.patch delete mode 100644 gcc11-testsuite-fixes.patch diff --git a/cross-aarch64-gcc11.changes b/cross-aarch64-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-aarch64-gcc11.changes +++ b/cross-aarch64-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-aarch64-gcc11.spec b/cross-aarch64-gcc11.spec index 9a53875..7bef3ef 100644 --- a/cross-aarch64-gcc11.spec +++ b/cross-aarch64-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-amdgcn-gcc11.changes b/cross-amdgcn-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-amdgcn-gcc11.changes +++ b/cross-amdgcn-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-amdgcn-gcc11.spec b/cross-amdgcn-gcc11.spec index 75555df..933a18c 100644 --- a/cross-amdgcn-gcc11.spec +++ b/cross-amdgcn-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-arm-gcc11.changes b/cross-arm-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-arm-gcc11.changes +++ b/cross-arm-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-arm-gcc11.spec b/cross-arm-gcc11.spec index c0c2288..3d8609d 100644 --- a/cross-arm-gcc11.spec +++ b/cross-arm-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-arm-none-gcc11-bootstrap.changes b/cross-arm-none-gcc11-bootstrap.changes index 941a587..82bf2f1 100644 --- a/cross-arm-none-gcc11-bootstrap.changes +++ b/cross-arm-none-gcc11-bootstrap.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-arm-none-gcc11-bootstrap.spec b/cross-arm-none-gcc11-bootstrap.spec index b91218c..ae1bcf1 100644 --- a/cross-arm-none-gcc11-bootstrap.spec +++ b/cross-arm-none-gcc11-bootstrap.spec @@ -115,7 +115,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -138,7 +138,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -313,7 +313,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-arm-none-gcc11.changes b/cross-arm-none-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-arm-none-gcc11.changes +++ b/cross-arm-none-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-arm-none-gcc11.spec b/cross-arm-none-gcc11.spec index c22ff5a..d9e9fc5 100644 --- a/cross-arm-none-gcc11.spec +++ b/cross-arm-none-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-avr-gcc11-bootstrap.changes b/cross-avr-gcc11-bootstrap.changes index 941a587..82bf2f1 100644 --- a/cross-avr-gcc11-bootstrap.changes +++ b/cross-avr-gcc11-bootstrap.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-avr-gcc11-bootstrap.spec b/cross-avr-gcc11-bootstrap.spec index ec78671..a5661d0 100644 --- a/cross-avr-gcc11-bootstrap.spec +++ b/cross-avr-gcc11-bootstrap.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-avr-gcc11.changes b/cross-avr-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-avr-gcc11.changes +++ b/cross-avr-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-avr-gcc11.spec b/cross-avr-gcc11.spec index f3a9031..2ad3796 100644 --- a/cross-avr-gcc11.spec +++ b/cross-avr-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-epiphany-gcc11-bootstrap.changes b/cross-epiphany-gcc11-bootstrap.changes index 941a587..82bf2f1 100644 --- a/cross-epiphany-gcc11-bootstrap.changes +++ b/cross-epiphany-gcc11-bootstrap.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-epiphany-gcc11-bootstrap.spec b/cross-epiphany-gcc11-bootstrap.spec index 7d47a77..37fcfd2 100644 --- a/cross-epiphany-gcc11-bootstrap.spec +++ b/cross-epiphany-gcc11-bootstrap.spec @@ -115,7 +115,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -138,7 +138,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -313,7 +313,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-epiphany-gcc11.changes b/cross-epiphany-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-epiphany-gcc11.changes +++ b/cross-epiphany-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-epiphany-gcc11.spec b/cross-epiphany-gcc11.spec index 1ee91b3..d09d21e 100644 --- a/cross-epiphany-gcc11.spec +++ b/cross-epiphany-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-hppa-gcc11.changes b/cross-hppa-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-hppa-gcc11.changes +++ b/cross-hppa-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-hppa-gcc11.spec b/cross-hppa-gcc11.spec index f269c05..412214b 100644 --- a/cross-hppa-gcc11.spec +++ b/cross-hppa-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-i386-gcc11.changes b/cross-i386-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-i386-gcc11.changes +++ b/cross-i386-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-i386-gcc11.spec b/cross-i386-gcc11.spec index 4d71c71..3af1d33 100644 --- a/cross-i386-gcc11.spec +++ b/cross-i386-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-m68k-gcc11.changes b/cross-m68k-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-m68k-gcc11.changes +++ b/cross-m68k-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-m68k-gcc11.spec b/cross-m68k-gcc11.spec index dbf7595..5222611 100644 --- a/cross-m68k-gcc11.spec +++ b/cross-m68k-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-mips-gcc11.changes b/cross-mips-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-mips-gcc11.changes +++ b/cross-mips-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-mips-gcc11.spec b/cross-mips-gcc11.spec index f5d4332..c9f2e17 100644 --- a/cross-mips-gcc11.spec +++ b/cross-mips-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-nvptx-gcc11.changes b/cross-nvptx-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-nvptx-gcc11.changes +++ b/cross-nvptx-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-nvptx-gcc11.spec b/cross-nvptx-gcc11.spec index 59b7da2..316bd3a 100644 --- a/cross-nvptx-gcc11.spec +++ b/cross-nvptx-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-ppc64-gcc11.changes b/cross-ppc64-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-ppc64-gcc11.changes +++ b/cross-ppc64-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-ppc64-gcc11.spec b/cross-ppc64-gcc11.spec index a9f9751..10c3662 100644 --- a/cross-ppc64-gcc11.spec +++ b/cross-ppc64-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-ppc64le-gcc11.changes b/cross-ppc64le-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-ppc64le-gcc11.changes +++ b/cross-ppc64le-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-ppc64le-gcc11.spec b/cross-ppc64le-gcc11.spec index 400464a..a74eedd 100644 --- a/cross-ppc64le-gcc11.spec +++ b/cross-ppc64le-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-riscv64-elf-gcc11-bootstrap.changes b/cross-riscv64-elf-gcc11-bootstrap.changes index 941a587..82bf2f1 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.changes +++ b/cross-riscv64-elf-gcc11-bootstrap.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-riscv64-elf-gcc11-bootstrap.spec b/cross-riscv64-elf-gcc11-bootstrap.spec index bfeebf1..36c9c88 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.spec +++ b/cross-riscv64-elf-gcc11-bootstrap.spec @@ -115,7 +115,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -138,7 +138,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -313,7 +313,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-riscv64-elf-gcc11.changes b/cross-riscv64-elf-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-riscv64-elf-gcc11.changes +++ b/cross-riscv64-elf-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-riscv64-elf-gcc11.spec b/cross-riscv64-elf-gcc11.spec index 1f9131f..3261d5c 100644 --- a/cross-riscv64-elf-gcc11.spec +++ b/cross-riscv64-elf-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-riscv64-gcc11.changes b/cross-riscv64-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-riscv64-gcc11.changes +++ b/cross-riscv64-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-riscv64-gcc11.spec b/cross-riscv64-gcc11.spec index 4ce9e17..c78e19e 100644 --- a/cross-riscv64-gcc11.spec +++ b/cross-riscv64-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-rx-gcc11-bootstrap.changes b/cross-rx-gcc11-bootstrap.changes index 941a587..82bf2f1 100644 --- a/cross-rx-gcc11-bootstrap.changes +++ b/cross-rx-gcc11-bootstrap.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-rx-gcc11-bootstrap.spec b/cross-rx-gcc11-bootstrap.spec index 60be96b..fe23778 100644 --- a/cross-rx-gcc11-bootstrap.spec +++ b/cross-rx-gcc11-bootstrap.spec @@ -115,7 +115,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -138,7 +138,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -313,7 +313,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-rx-gcc11.changes b/cross-rx-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-rx-gcc11.changes +++ b/cross-rx-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-rx-gcc11.spec b/cross-rx-gcc11.spec index ed90bc1..6f15348 100644 --- a/cross-rx-gcc11.spec +++ b/cross-rx-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-s390x-gcc11.changes b/cross-s390x-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-s390x-gcc11.changes +++ b/cross-s390x-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-s390x-gcc11.spec b/cross-s390x-gcc11.spec index 5c9e5a3..9d224e7 100644 --- a/cross-s390x-gcc11.spec +++ b/cross-s390x-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-sparc-gcc11.changes b/cross-sparc-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-sparc-gcc11.changes +++ b/cross-sparc-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-sparc-gcc11.spec b/cross-sparc-gcc11.spec index 873cfb7..fdda18c 100644 --- a/cross-sparc-gcc11.spec +++ b/cross-sparc-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-sparc64-gcc11.changes b/cross-sparc64-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-sparc64-gcc11.changes +++ b/cross-sparc64-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-sparc64-gcc11.spec b/cross-sparc64-gcc11.spec index e03029b..94d65f3 100644 --- a/cross-sparc64-gcc11.spec +++ b/cross-sparc64-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/cross-x86_64-gcc11.changes b/cross-x86_64-gcc11.changes index 941a587..82bf2f1 100644 --- a/cross-x86_64-gcc11.changes +++ b/cross-x86_64-gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-x86_64-gcc11.spec b/cross-x86_64-gcc11.spec index e9bbb09..af06ace 100644 --- a/cross-x86_64-gcc11.spec +++ b/cross-x86_64-gcc11.spec @@ -114,7 +114,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -137,7 +137,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -312,7 +312,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/gcc-11.0.1+git10.tar.xz b/gcc-11.0.1+git10.tar.xz deleted file mode 100644 index 125c6b8..0000000 --- a/gcc-11.0.1+git10.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef224bdb383f47c9c96ee5f18ecd088893312321cd7f3f38a5970497a09003db -size 80311328 diff --git a/gcc-11.0.1+git31.tar.xz b/gcc-11.0.1+git31.tar.xz new file mode 100644 index 0000000..2268590 --- /dev/null +++ b/gcc-11.0.1+git31.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49c6c4547ab7ff23d3af74fcbfb26ee59d5be7e44188bcf75dd07ad995db4a05 +size 80350152 diff --git a/gcc.spec.in b/gcc.spec.in index 806d8d6..8419102 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -190,7 +190,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -358,7 +358,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -1163,7 +1163,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/gcc11-gdwarf-4-default.patch b/gcc11-gdwarf-4-default.patch new file mode 100644 index 0000000..ef246cb --- /dev/null +++ b/gcc11-gdwarf-4-default.patch @@ -0,0 +1,29 @@ +diff --git a/gcc/common.opt b/gcc/common.opt +index a75b44ee47e..2d33861ad1f 100644 +--- a/gcc/common.opt ++++ b/gcc/common.opt +@@ -3175,7 +3175,7 @@ Common Driver JoinedOrMissing Negative(gdwarf-) + Generate debug information in default version of DWARF format. + + gdwarf- +-Common Driver Joined UInteger Var(dwarf_version) Init(5) Negative(gstabs) ++Common Driver Joined UInteger Var(dwarf_version) Init(4) Negative(gstabs) + Generate debug information in DWARF v2 (or later) format. + + gdwarf32 +diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi +index 4a87b9ef8e8..4f1adcfe621 100644 +--- a/gcc/doc/invoke.texi ++++ b/gcc/doc/invoke.texi +@@ -9638,9 +9638,8 @@ possible. + @opindex gdwarf + Produce debugging information in DWARF format (if that is supported). + The value of @var{version} may be either 2, 3, 4 or 5; the default +-version for most targets is 5 (with the exception of VxWorks, TPF and +-Darwin/Mac OS X, which default to version 2, and AIX, which defaults +-to version 4). ++version for most targets is 4 (with the exception of VxWorks, TPF and ++Darwin/Mac OS X, which default to version 2). + + Note that with DWARF Version 2, some ports require and always + use some non-conflicting DWARF 3 extensions in the unwind tables. diff --git a/gcc11-testresults.changes b/gcc11-testresults.changes index 941a587..82bf2f1 100644 --- a/gcc11-testresults.changes +++ b/gcc11-testresults.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/gcc11-testresults.spec b/gcc11-testresults.spec index a5a38f1..9293b70 100644 --- a/gcc11-testresults.spec +++ b/gcc11-testresults.spec @@ -206,7 +206,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -372,7 +372,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -503,7 +503,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51 diff --git a/gcc11-testsuite-fixes.patch b/gcc11-testsuite-fixes.patch deleted file mode 100644 index cf9c9a4..0000000 --- a/gcc11-testsuite-fixes.patch +++ /dev/null @@ -1,89 +0,0 @@ -diff --git a/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c b/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c -index 990e6f439e5..e9ece645cd0 100644 ---- a/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c -+++ b/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c -@@ -983,6 +983,8 @@ subvalues (struct entry *e, char *p, char *letter) - if (e[0].len != 0) - output_FNB ('B', e); - return 1; -+ default: -+ return 0; - } - } - -diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c -index 75e902cd1f4..35dff89c377 100644 ---- a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c -+++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c -@@ -1280,6 +1280,8 @@ subvalues (struct entry *e, char *p, char *letter) - if (e[0].len != 0) - output_FNB ('B', e); - return 1; -+ default: -+ return 0; - } - } - -diff --git a/libgomp/testsuite/libgomp.c-c++-common/reduction-16.c b/libgomp/testsuite/libgomp.c-c++-common/reduction-16.c -index e60fe3664ed..0eea73b144b 100644 ---- a/libgomp/testsuite/libgomp.c-c++-common/reduction-16.c -+++ b/libgomp/testsuite/libgomp.c-c++-common/reduction-16.c -@@ -1,5 +1,5 @@ - /* { dg-do run } */ --/* { dg-additional-options "-foffload=-latomic" { target offload_target_nvptx } } */ -+/* { dg-additional-options "-foffload=nvptx-none=-latomic" { target offload_target_nvptx } } */ - - #include - -From c12b6eca31928a54f8d8040815750dd9c7ea3913 Mon Sep 17 00:00:00 2001 -From: Richard Biener -Date: Thu, 22 Apr 2021 10:53:00 +0200 -Subject: [PATCH] Avoid gfortran.dg/pr68078.f90 FAILs with rlimit in place -To: gcc-patches@gcc.gnu.org - -gfortran.dg/pr68078.f90 tries to lower the VM limit to provoke -allocation fails. If there's already a low VM limit in place -this limit adjustment can fail, causing a supurious execution -FAIL of the testcase. The following avoid this by not altering -the hard limit and returning successfully if the soft limit is -already good. - -2021-04-22 Richard Biener - - * gfortran.dg/set_vm_limit.c: Honor limits already in place. ---- - gcc/testsuite/gfortran.dg/set_vm_limit.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/gcc/testsuite/gfortran.dg/set_vm_limit.c b/gcc/testsuite/gfortran.dg/set_vm_limit.c -index 30c4b43e0ed..b6a01bb3a98 100644 ---- a/gcc/testsuite/gfortran.dg/set_vm_limit.c -+++ b/gcc/testsuite/gfortran.dg/set_vm_limit.c -@@ -8,13 +8,22 @@ - void - set_vm_limit (int vm_limit) - { -- struct rlimit rl = { vm_limit, RLIM_INFINITY }; -+ struct rlimit rl; - int r; - -+ r = getrlimit (RLIMIT_AS, &rl); -+ if (r) -+ { -+ perror ("set_vm_limit: getrlimit"); -+ exit (1); -+ } -+ if (rl.rlim_cur <= vm_limit) -+ return; -+ rl.rlim_cur = vm_limit; - r = setrlimit (RLIMIT_AS, &rl); - if (r) - { -- perror ("set_vm_limit"); -+ perror ("set_vm_limit: setrlimit"); - exit (1); - } - --- -2.26.2 - diff --git a/gcc11.changes b/gcc11.changes index 941a587..82bf2f1 100644 --- a/gcc11.changes +++ b/gcc11.changes @@ -1,13 +1,17 @@ ------------------------------------------------------------------- Wed Apr 21 12:31:23 UTC 2021 - Richard Biener -- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and +- Update to gcc-11 branch head (7a7fc01b9d20afb1a2b805d93cb), git31 + * Includes GCC 11.1 RC2 +- Add gcc11-no-offload.patch and gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. Package expanded symlinks so concurrent installs do not pull in another llvm-mc. +- Add gcc11-gdwarf-4-default.patch to default to DWARF4 generation + in SLES15 and older. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/gcc11.spec b/gcc11.spec index aa3edea..1307733 100644 --- a/gcc11.spec +++ b/gcc11.spec @@ -188,7 +188,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 11.0.1+git10 +Version: 11.0.1+git31 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/+/-/') @@ -354,7 +354,7 @@ Patch15: gcc7-avoid-fixinc-error.diff Patch16: gcc9-reproducible-builds.patch Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch -Patch19: gcc11-testsuite-fixes.patch +Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc11-no-offload.patch # A set of patches from the RH srpm @@ -1922,7 +1922,10 @@ ln -s newlib-4.1.0/newlib . %if "%{TARGET_ARCH}" == "amdgcn" %patch18 -p1 %endif +# In SLE15 and earlier default to dwarf4, not dwarf5 +%if %{suse_version} < 1550 %patch19 -p1 +%endif %patch20 -p1 %patch21 -p1 %patch51