From 58ca0a3ea880264439237c21ee935bd8130138ca3a273610f8969d2e652d572c Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 18 Aug 2023 13:45:58 +0000 Subject: [PATCH] Accepting request 1104679 from home:michals:branches:devel:gcc - Raise Power architecture baseline to Power9 only for ALP (boo#1213915). OBS-URL: https://build.opensuse.org/request/show/1104679 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=60 --- cross-aarch64-gcc13-bootstrap.spec | 2 +- cross-aarch64-gcc13.spec | 2 +- cross-amdgcn-gcc13.spec | 2 +- cross-arm-gcc13.spec | 2 +- cross-arm-none-gcc13-bootstrap.spec | 2 +- cross-arm-none-gcc13.spec | 2 +- cross-avr-gcc13-bootstrap.spec | 2 +- cross-avr-gcc13.spec | 2 +- cross-bpf-gcc13.spec | 2 +- cross-epiphany-gcc13-bootstrap.spec | 2 +- cross-epiphany-gcc13.spec | 2 +- cross-hppa-gcc13-bootstrap.spec | 2 +- cross-hppa-gcc13.spec | 2 +- cross-m68k-gcc13.spec | 2 +- cross-mips-gcc13.spec | 2 +- cross-nvptx-gcc13.spec | 2 +- cross-ppc64-gcc13.spec | 2 +- cross-ppc64le-gcc13.spec | 2 +- cross-pru-gcc13-bootstrap.spec | 2 +- cross-pru-gcc13.spec | 2 +- cross-riscv64-elf-gcc13-bootstrap.spec | 2 +- cross-riscv64-elf-gcc13.spec | 2 +- cross-riscv64-gcc13-bootstrap.spec | 2 +- cross-riscv64-gcc13.spec | 2 +- cross-rx-gcc13-bootstrap.spec | 2 +- cross-rx-gcc13.spec | 2 +- cross-s390x-gcc13.spec | 2 +- cross-sparc-gcc13.spec | 2 +- cross-sparc64-gcc13.spec | 2 +- cross-x86_64-gcc13.spec | 2 +- gcc.spec.in | 2 +- gcc13-testresults.spec | 2 +- gcc13.changes | 5 +++++ gcc13.spec | 2 +- 34 files changed, 38 insertions(+), 33 deletions(-) diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index f8d1d7d..bba35af 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index d925ab9..57981df 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index 07e5637..76d6e1f 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index 9816828..0b0756d 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index 5050ca3..8c05a7a 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -652,7 +652,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index eaee242..2962f8e 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index 50d91c0..c81fce3 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index dcdcf32..a6a4a1b 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-bpf-gcc13.spec b/cross-bpf-gcc13.spec index 662f963..18d443b 100644 --- a/cross-bpf-gcc13.spec +++ b/cross-bpf-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index fc669ab..41f8595 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -652,7 +652,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index ccf9266..16aa9ca 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index e208ba4..a569330 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index dd064a8..7ec2552 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index 0d664f4..cf13568 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index 709bc45..c74f3db 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 0658422..e49a436 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index f42d1d5..786697c 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index 0fc5a8f..69744d1 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index ef49ee5..b779e79 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -652,7 +652,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index 202a09b..e2a331b 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index a9a55fd..b3e1174 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -652,7 +652,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index 0e04c40..a8fe782 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index b02e593..54f21ac 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index 28883e4..1e0a0eb 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index d2f6586..7c8fcf2 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -652,7 +652,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index 00b43c4..81fa215 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index 66c6f71..39060b2 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index 6ee8d1d..c5cb8d5 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index 3a80168..a49983b 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index 5abc3f8..a07f7fb 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -651,7 +651,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/gcc.spec.in b/gcc.spec.in index 1aa8833..f3d7175 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1662,7 +1662,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 0e9a6ea..f22a155 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -853,7 +853,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else diff --git a/gcc13.changes b/gcc13.changes index bc3fd2d..9c11e81 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 18 13:03:36 UTC 2023 - Michal Suchanek + +- Raise Power architecture baseline to Power9 only for ALP (boo#1213915). + ------------------------------------------------------------------- Thu Aug 3 13:34:26 UTC 2023 - Richard Biener diff --git a/gcc13.spec b/gcc13.spec index d2141eb..418fcbc 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -2670,7 +2670,7 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" -%if %{suse_version} >= 1600 +%if %{suse_version} >= 1600 && !0%{?is_opensuse} --with-cpu=power9 \ --with-tune=power9 \ %else