- Bump to a533ded17fb13cbbb2fa5133ecd470360f66c5cf, git7489.
- Add gcc13-pr110334.patch to fix missed optimization in Skia resulting in Firefox crashes when building with LTO. [boo#1212101] - Raise POWER architecture baseline to power9. [PED-4454] - Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-???] - Raise s390x architecture baseline to ???. [PED-???] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=48
This commit is contained in:
parent
0bded28ebc
commit
f7ebdff3c2
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -134,6 +134,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -631,6 +633,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -643,6 +649,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -670,34 +677,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -134,6 +134,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -631,6 +633,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -643,6 +649,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -670,34 +677,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -134,6 +134,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -631,6 +633,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -643,6 +649,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -670,34 +677,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -134,6 +134,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -631,6 +633,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -643,6 +649,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -670,34 +677,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -134,6 +134,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -631,6 +633,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -643,6 +649,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -670,34 +677,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -133,6 +133,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -630,6 +632,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -642,6 +648,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -669,34 +676,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3368bca3b7d5e231bd20d12fd75869aaea08373b8863668c37d22611b8639d7
|
||||
size 87100668
|
3
gcc-13.1.1+git7489.tar.xz
Normal file
3
gcc-13.1.1+git7489.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a698d4769513cb6c9766793c87981bfc0637bde537508aa3e5cd6a13e5c73c9a
|
||||
size 87014676
|
28
gcc.spec.in
28
gcc.spec.in
@ -204,7 +204,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -385,6 +385,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -1344,6 +1345,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -1641,6 +1643,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -1653,6 +1659,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -1680,34 +1687,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
135
gcc13-pr110334.patch
Normal file
135
gcc13-pr110334.patch
Normal file
@ -0,0 +1,135 @@
|
||||
From abdf0b6cdff5783b97f35ad61ae31433f0569dfd Mon Sep 17 00:00:00 2001
|
||||
From: Jason Merrill <jason@redhat.com>
|
||||
Date: Tue, 27 Jun 2023 05:15:01 -0400
|
||||
Subject: [PATCH] c++: inherited constructor attributes
|
||||
To: gcc-patches@gcc.gnu.org
|
||||
|
||||
Inherited constructors are like constructor clones; they don't exist from
|
||||
the language perspective, so they should copy the attributes in the same
|
||||
way. But it doesn't make sense to copy alias or ifunc attributes in either
|
||||
case. Unlike handle_copy_attribute, we do want to copy inlining attributes.
|
||||
|
||||
The discussion of PR110334 pointed out that we weren't copying the
|
||||
always_inline attribute, leading to poor inlining choices.
|
||||
|
||||
PR c++/110334
|
||||
|
||||
gcc/cp/ChangeLog:
|
||||
|
||||
* cp-tree.h (clone_attrs): Declare.
|
||||
* method.cc (implicitly_declare_fn): Use it for inherited
|
||||
constructor.
|
||||
* optimize.cc (clone_attrs): New.
|
||||
(maybe_clone_body): Use it.
|
||||
|
||||
gcc/testsuite/ChangeLog:
|
||||
|
||||
* g++.dg/cpp1z/nodiscard-inh1.C: New test.
|
||||
---
|
||||
gcc/cp/cp-tree.h | 1 +
|
||||
gcc/cp/method.cc | 2 ++
|
||||
gcc/cp/optimize.cc | 26 ++++++++++++++++++++-
|
||||
gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C | 15 ++++++++++++
|
||||
4 files changed, 43 insertions(+), 1 deletion(-)
|
||||
create mode 100644 gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C
|
||||
|
||||
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
|
||||
index 83982233111..0d7a6c153dc 100644
|
||||
--- a/gcc/cp/cp-tree.h
|
||||
+++ b/gcc/cp/cp-tree.h
|
||||
@@ -7282,6 +7282,7 @@ extern void module_preprocess_options (cpp_reader *);
|
||||
extern bool handle_module_option (unsigned opt, const char *arg, int value);
|
||||
|
||||
/* In optimize.cc */
|
||||
+extern tree clone_attrs (tree);
|
||||
extern bool maybe_clone_body (tree);
|
||||
|
||||
/* In parser.cc */
|
||||
diff --git a/gcc/cp/method.cc b/gcc/cp/method.cc
|
||||
index 91cf943f110..8ed967ddb21 100644
|
||||
--- a/gcc/cp/method.cc
|
||||
+++ b/gcc/cp/method.cc
|
||||
@@ -3294,6 +3294,8 @@ implicitly_declare_fn (special_function_kind kind, tree type,
|
||||
/* Copy constexpr from the inherited constructor even if the
|
||||
inheriting constructor doesn't satisfy the requirements. */
|
||||
constexpr_p = DECL_DECLARED_CONSTEXPR_P (inherited_ctor);
|
||||
+ /* Also copy any attributes. */
|
||||
+ DECL_ATTRIBUTES (fn) = clone_attrs (DECL_ATTRIBUTES (inherited_ctor));
|
||||
}
|
||||
|
||||
/* Add the "this" parameter. */
|
||||
diff --git a/gcc/cp/optimize.cc b/gcc/cp/optimize.cc
|
||||
index f73d86b6c6b..9e8926e4cc6 100644
|
||||
--- a/gcc/cp/optimize.cc
|
||||
+++ b/gcc/cp/optimize.cc
|
||||
@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "debug.h"
|
||||
#include "tree-inline.h"
|
||||
#include "tree-iterator.h"
|
||||
+#include "attribs.h"
|
||||
|
||||
/* Prototypes. */
|
||||
|
||||
@@ -446,6 +447,29 @@ maybe_thunk_body (tree fn, bool force)
|
||||
return 1;
|
||||
}
|
||||
|
||||
+/* Copy most attributes from ATTRS, omitting attributes that can really only
|
||||
+ apply to a single decl. */
|
||||
+
|
||||
+tree
|
||||
+clone_attrs (tree attrs)
|
||||
+{
|
||||
+ tree new_attrs = NULL_TREE;
|
||||
+ tree *p = &new_attrs;
|
||||
+
|
||||
+ for (tree a = attrs; a; a = TREE_CHAIN (a))
|
||||
+ {
|
||||
+ tree aname = get_attribute_name (a);
|
||||
+ if (is_attribute_namespace_p ("", a)
|
||||
+ && (is_attribute_p ("alias", aname)
|
||||
+ || is_attribute_p ("ifunc", aname)))
|
||||
+ continue;
|
||||
+ *p = copy_node (a);
|
||||
+ p = &TREE_CHAIN (*p);
|
||||
+ }
|
||||
+ *p = NULL_TREE;
|
||||
+ return new_attrs;
|
||||
+}
|
||||
+
|
||||
/* FN is a function that has a complete body. Clone the body as
|
||||
necessary. Returns nonzero if there's no longer any need to
|
||||
process the main body. */
|
||||
@@ -503,7 +527,7 @@ maybe_clone_body (tree fn)
|
||||
DECL_VISIBILITY (clone) = DECL_VISIBILITY (fn);
|
||||
DECL_VISIBILITY_SPECIFIED (clone) = DECL_VISIBILITY_SPECIFIED (fn);
|
||||
DECL_DLLIMPORT_P (clone) = DECL_DLLIMPORT_P (fn);
|
||||
- DECL_ATTRIBUTES (clone) = copy_list (DECL_ATTRIBUTES (fn));
|
||||
+ DECL_ATTRIBUTES (clone) = clone_attrs (DECL_ATTRIBUTES (fn));
|
||||
DECL_DISREGARD_INLINE_LIMITS (clone) = DECL_DISREGARD_INLINE_LIMITS (fn);
|
||||
set_decl_section_name (clone, fn);
|
||||
|
||||
diff --git a/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C b/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C
|
||||
new file mode 100644
|
||||
index 00000000000..bc2555930f1
|
||||
--- /dev/null
|
||||
+++ b/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C
|
||||
@@ -0,0 +1,15 @@
|
||||
+// [[nodiscard]] should apply to inherited constructors.
|
||||
+// { dg-do compile { target c++11 } }
|
||||
+
|
||||
+struct A {
|
||||
+ [[nodiscard]] A(int);
|
||||
+};
|
||||
+
|
||||
+struct B: A {
|
||||
+ using A::A;
|
||||
+};
|
||||
+
|
||||
+int main()
|
||||
+{
|
||||
+ B(42); // { dg-warning nodiscard }
|
||||
+}
|
||||
--
|
||||
2.35.3
|
||||
|
@ -221,7 +221,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -401,6 +401,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -535,6 +536,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -832,6 +834,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -844,6 +850,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -871,34 +878,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 28 06:56:52 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Bump to a533ded17fb13cbbb2fa5133ecd470360f66c5cf, git7489.
|
||||
- Add gcc13-pr110334.patch to fix missed optimization in Skia
|
||||
resulting in Firefox crashes when building with LTO. [boo#1212101]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 09:22:50 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Raise POWER architecture baseline to power9. [PED-4454]
|
||||
- Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-???]
|
||||
- Raise s390x architecture baseline to ???. [PED-???]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 09:05:30 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
28
gcc13.spec
28
gcc13.spec
@ -200,7 +200,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.1.1+git7364
|
||||
Version: 13.1.1+git7489
|
||||
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/+/-/')
|
||||
@ -380,6 +380,7 @@ 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-pr110334.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -2352,6 +2353,7 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
@ -2649,6 +2651,10 @@ amdgcn-amdhsa,\
|
||||
--enable-fix-cortex-a53-843419 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "powerpc64le"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-cpu=power9 \
|
||||
--with-tune=power9 \
|
||||
%else
|
||||
%if %{suse_version} >= 1350
|
||||
--with-cpu=power8 \
|
||||
--with-tune=power9 \
|
||||
@ -2661,6 +2667,7 @@ amdgcn-amdhsa,\
|
||||
--with-tune=power7 \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} > 1500
|
||||
--with-long-double-format=ieee \
|
||||
%else
|
||||
@ -2688,34 +2695,53 @@ amdgcn-amdhsa,\
|
||||
--with-long-double-128 \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "i586"
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
%if 0%{?sle_version:%sle_version} >= 150000
|
||||
--with-arch-32=x86-64 \
|
||||
%else
|
||||
--with-arch-32=i586 \
|
||||
%endif
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "x86_64"
|
||||
%ifnarch %{disable_multilib_arch}
|
||||
--enable-multilib \
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch-32=x86-64-v2 \
|
||||
%else
|
||||
--with-arch-32=x86-64 \
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
--with-arch=x86-64-v2 \
|
||||
%endif
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "s390x"
|
||||
%if %{suse_version} >= 1600
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
%if %{suse_version} >= 1310
|
||||
--with-tune=zEC12 --with-arch=z196 \
|
||||
%else
|
||||
--with-tune=z9-109 --with-arch=z900 \
|
||||
%endif
|
||||
%endif
|
||||
--with-long-double-128 \
|
||||
--enable-decimal-float \
|
||||
|
Loading…
Reference in New Issue
Block a user