From accc918d92f142a088fa81b22bb33a7663fabef97241dc2a0132aa8f2fafe55e Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 22 Apr 2021 12:42:04 +0000 Subject: [PATCH] - Force using llvm11 for amdgcn offloading since llvm12 doesn't yet work. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=340 --- cross-aarch64-gcc11.changes | 2 ++ cross-aarch64-gcc11.spec | 11 ++++++----- cross-amdgcn-gcc11.changes | 2 ++ cross-amdgcn-gcc11.spec | 11 ++++++----- cross-arm-gcc11.changes | 2 ++ cross-arm-gcc11.spec | 11 ++++++----- cross-arm-none-gcc11-bootstrap.changes | 2 ++ cross-arm-none-gcc11-bootstrap.spec | 11 ++++++----- cross-arm-none-gcc11.changes | 2 ++ cross-arm-none-gcc11.spec | 11 ++++++----- cross-avr-gcc11-bootstrap.changes | 2 ++ cross-avr-gcc11-bootstrap.spec | 11 ++++++----- cross-avr-gcc11.changes | 2 ++ cross-avr-gcc11.spec | 11 ++++++----- cross-epiphany-gcc11-bootstrap.changes | 2 ++ cross-epiphany-gcc11-bootstrap.spec | 11 ++++++----- cross-epiphany-gcc11.changes | 2 ++ cross-epiphany-gcc11.spec | 11 ++++++----- cross-hppa-gcc11.changes | 2 ++ cross-hppa-gcc11.spec | 11 ++++++----- cross-i386-gcc11.changes | 2 ++ cross-i386-gcc11.spec | 11 ++++++----- cross-m68k-gcc11.changes | 2 ++ cross-m68k-gcc11.spec | 11 ++++++----- cross-mips-gcc11.changes | 2 ++ cross-mips-gcc11.spec | 11 ++++++----- cross-nvptx-gcc11.changes | 2 ++ cross-nvptx-gcc11.spec | 11 ++++++----- cross-ppc64-gcc11.changes | 2 ++ cross-ppc64-gcc11.spec | 11 ++++++----- cross-ppc64le-gcc11.changes | 2 ++ cross-ppc64le-gcc11.spec | 11 ++++++----- cross-riscv64-elf-gcc11-bootstrap.changes | 2 ++ cross-riscv64-elf-gcc11-bootstrap.spec | 11 ++++++----- cross-riscv64-elf-gcc11.changes | 2 ++ cross-riscv64-elf-gcc11.spec | 11 ++++++----- cross-riscv64-gcc11.changes | 2 ++ cross-riscv64-gcc11.spec | 11 ++++++----- cross-rx-gcc11-bootstrap.changes | 2 ++ cross-rx-gcc11-bootstrap.spec | 11 ++++++----- cross-rx-gcc11.changes | 2 ++ cross-rx-gcc11.spec | 11 ++++++----- cross-s390x-gcc11.changes | 2 ++ cross-s390x-gcc11.spec | 11 ++++++----- cross-sparc-gcc11.changes | 2 ++ cross-sparc-gcc11.spec | 11 ++++++----- cross-sparc64-gcc11.changes | 2 ++ cross-sparc64-gcc11.spec | 11 ++++++----- cross-x86_64-gcc11.changes | 2 ++ cross-x86_64-gcc11.spec | 11 ++++++----- cross.spec.in | 11 ++++++----- gcc11-testresults.changes | 2 ++ gcc11-testresults.spec | 3 +++ gcc11.changes | 2 ++ gcc11.spec | 3 +++ 55 files changed, 216 insertions(+), 130 deletions(-) diff --git a/cross-aarch64-gcc11.changes b/cross-aarch64-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-aarch64-gcc11.changes +++ b/cross-aarch64-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-aarch64-gcc11.spec b/cross-aarch64-gcc11.spec index 1b6e5af..c0c1525 100644 --- a/cross-aarch64-gcc11.spec +++ b/cross-aarch64-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-amdgcn-gcc11.changes b/cross-amdgcn-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-amdgcn-gcc11.changes +++ b/cross-amdgcn-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-amdgcn-gcc11.spec b/cross-amdgcn-gcc11.spec index 28fa7fa..1b89ce4 100644 --- a/cross-amdgcn-gcc11.spec +++ b/cross-amdgcn-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-arm-gcc11.changes b/cross-arm-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-arm-gcc11.changes +++ b/cross-arm-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-arm-gcc11.spec b/cross-arm-gcc11.spec index a00d925..5458fce 100644 --- a/cross-arm-gcc11.spec +++ b/cross-arm-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-arm-none-gcc11-bootstrap.changes b/cross-arm-none-gcc11-bootstrap.changes index 4e241ce..9987db9 100644 --- a/cross-arm-none-gcc11-bootstrap.changes +++ b/cross-arm-none-gcc11-bootstrap.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-arm-none-gcc11-bootstrap.spec b/cross-arm-none-gcc11-bootstrap.spec index b5c17ea..a272133 100644 --- a/cross-arm-none-gcc11-bootstrap.spec +++ b/cross-arm-none-gcc11-bootstrap.spec @@ -235,12 +235,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-arm-none-gcc11.changes b/cross-arm-none-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-arm-none-gcc11.changes +++ b/cross-arm-none-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-arm-none-gcc11.spec b/cross-arm-none-gcc11.spec index a0e685d..d667a2a 100644 --- a/cross-arm-none-gcc11.spec +++ b/cross-arm-none-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-avr-gcc11-bootstrap.changes b/cross-avr-gcc11-bootstrap.changes index 4e241ce..9987db9 100644 --- a/cross-avr-gcc11-bootstrap.changes +++ b/cross-avr-gcc11-bootstrap.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-avr-gcc11-bootstrap.spec b/cross-avr-gcc11-bootstrap.spec index f64467b..47d54b4 100644 --- a/cross-avr-gcc11-bootstrap.spec +++ b/cross-avr-gcc11-bootstrap.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-avr-gcc11.changes b/cross-avr-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-avr-gcc11.changes +++ b/cross-avr-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-avr-gcc11.spec b/cross-avr-gcc11.spec index 171393c..5939485 100644 --- a/cross-avr-gcc11.spec +++ b/cross-avr-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-epiphany-gcc11-bootstrap.changes b/cross-epiphany-gcc11-bootstrap.changes index 4e241ce..9987db9 100644 --- a/cross-epiphany-gcc11-bootstrap.changes +++ b/cross-epiphany-gcc11-bootstrap.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-epiphany-gcc11-bootstrap.spec b/cross-epiphany-gcc11-bootstrap.spec index 8691289..2dda78f 100644 --- a/cross-epiphany-gcc11-bootstrap.spec +++ b/cross-epiphany-gcc11-bootstrap.spec @@ -235,12 +235,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-epiphany-gcc11.changes b/cross-epiphany-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-epiphany-gcc11.changes +++ b/cross-epiphany-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-epiphany-gcc11.spec b/cross-epiphany-gcc11.spec index d5453c8..3ff032b 100644 --- a/cross-epiphany-gcc11.spec +++ b/cross-epiphany-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-hppa-gcc11.changes b/cross-hppa-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-hppa-gcc11.changes +++ b/cross-hppa-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-hppa-gcc11.spec b/cross-hppa-gcc11.spec index 5199e2d..55cda20 100644 --- a/cross-hppa-gcc11.spec +++ b/cross-hppa-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-i386-gcc11.changes b/cross-i386-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-i386-gcc11.changes +++ b/cross-i386-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-i386-gcc11.spec b/cross-i386-gcc11.spec index cea7ba0..2682449 100644 --- a/cross-i386-gcc11.spec +++ b/cross-i386-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-m68k-gcc11.changes b/cross-m68k-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-m68k-gcc11.changes +++ b/cross-m68k-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-m68k-gcc11.spec b/cross-m68k-gcc11.spec index ba317d9..5998396 100644 --- a/cross-m68k-gcc11.spec +++ b/cross-m68k-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-mips-gcc11.changes b/cross-mips-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-mips-gcc11.changes +++ b/cross-mips-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-mips-gcc11.spec b/cross-mips-gcc11.spec index a93387d..75c7b0b 100644 --- a/cross-mips-gcc11.spec +++ b/cross-mips-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-nvptx-gcc11.changes b/cross-nvptx-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-nvptx-gcc11.changes +++ b/cross-nvptx-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-nvptx-gcc11.spec b/cross-nvptx-gcc11.spec index ad3c3a0..7ff4ae2 100644 --- a/cross-nvptx-gcc11.spec +++ b/cross-nvptx-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-ppc64-gcc11.changes b/cross-ppc64-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-ppc64-gcc11.changes +++ b/cross-ppc64-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-ppc64-gcc11.spec b/cross-ppc64-gcc11.spec index 252b9c4..2b036c1 100644 --- a/cross-ppc64-gcc11.spec +++ b/cross-ppc64-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-ppc64le-gcc11.changes b/cross-ppc64le-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-ppc64le-gcc11.changes +++ b/cross-ppc64le-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-ppc64le-gcc11.spec b/cross-ppc64le-gcc11.spec index 873eb51..62d97e6 100644 --- a/cross-ppc64le-gcc11.spec +++ b/cross-ppc64le-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-riscv64-elf-gcc11-bootstrap.changes b/cross-riscv64-elf-gcc11-bootstrap.changes index 4e241ce..9987db9 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.changes +++ b/cross-riscv64-elf-gcc11-bootstrap.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-riscv64-elf-gcc11-bootstrap.spec b/cross-riscv64-elf-gcc11-bootstrap.spec index 987ad64..dc56e2a 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.spec +++ b/cross-riscv64-elf-gcc11-bootstrap.spec @@ -235,12 +235,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-riscv64-elf-gcc11.changes b/cross-riscv64-elf-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-riscv64-elf-gcc11.changes +++ b/cross-riscv64-elf-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-riscv64-elf-gcc11.spec b/cross-riscv64-elf-gcc11.spec index b389fd4..d95bf4a 100644 --- a/cross-riscv64-elf-gcc11.spec +++ b/cross-riscv64-elf-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-riscv64-gcc11.changes b/cross-riscv64-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-riscv64-gcc11.changes +++ b/cross-riscv64-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-riscv64-gcc11.spec b/cross-riscv64-gcc11.spec index 70fd7ab..7302939 100644 --- a/cross-riscv64-gcc11.spec +++ b/cross-riscv64-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-rx-gcc11-bootstrap.changes b/cross-rx-gcc11-bootstrap.changes index 4e241ce..9987db9 100644 --- a/cross-rx-gcc11-bootstrap.changes +++ b/cross-rx-gcc11-bootstrap.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-rx-gcc11-bootstrap.spec b/cross-rx-gcc11-bootstrap.spec index 353a517..bfe4b1a 100644 --- a/cross-rx-gcc11-bootstrap.spec +++ b/cross-rx-gcc11-bootstrap.spec @@ -235,12 +235,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-rx-gcc11.changes b/cross-rx-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-rx-gcc11.changes +++ b/cross-rx-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-rx-gcc11.spec b/cross-rx-gcc11.spec index 644caf0..dee4873 100644 --- a/cross-rx-gcc11.spec +++ b/cross-rx-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-s390x-gcc11.changes b/cross-s390x-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-s390x-gcc11.changes +++ b/cross-s390x-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-s390x-gcc11.spec b/cross-s390x-gcc11.spec index 2e74548..076019e 100644 --- a/cross-s390x-gcc11.spec +++ b/cross-s390x-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-sparc-gcc11.changes b/cross-sparc-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-sparc-gcc11.changes +++ b/cross-sparc-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-sparc-gcc11.spec b/cross-sparc-gcc11.spec index 435b304..d083d24 100644 --- a/cross-sparc-gcc11.spec +++ b/cross-sparc-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-sparc64-gcc11.changes b/cross-sparc64-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-sparc64-gcc11.changes +++ b/cross-sparc64-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-sparc64-gcc11.spec b/cross-sparc64-gcc11.spec index 75d5a82..7734bcf 100644 --- a/cross-sparc64-gcc11.spec +++ b/cross-sparc64-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross-x86_64-gcc11.changes b/cross-x86_64-gcc11.changes index 4e241ce..9987db9 100644 --- a/cross-x86_64-gcc11.changes +++ b/cross-x86_64-gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/cross-x86_64-gcc11.spec b/cross-x86_64-gcc11.spec index 226054e..6b4719f 100644 --- a/cross-x86_64-gcc11.spec +++ b/cross-x86_64-gcc11.spec @@ -234,12 +234,13 @@ ExclusiveArch: %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: lld -BuildRequires: llvm +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: lld11 +BuildRequires: llvm11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} -Requires: lld -Requires: llvm +Requires: lld11 +Requires: llvm11 # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there %if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100 diff --git a/cross.spec.in b/cross.spec.in index 450a128..dc14733 100644 --- a/cross.spec.in +++ b/cross.spec.in @@ -145,11 +145,12 @@ ExclusiveArch: x86_64 %define nvptx_newlib 1 %endif %if "%{cross_arch}" == "amdgcn" -# amdgcn uses the llvm assembler and linker -BuildRequires: llvm -BuildRequires: lld -Requires: llvm -Requires: lld +# amdgcn uses the llvm assembler and linker, llvm12 doesn't +# work at the moment +BuildRequires: llvm11 +BuildRequires: lld11 +Requires: llvm11 +Requires: lld11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} # SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does # technically also SLE12 SP5 but do not bother there diff --git a/gcc11-testresults.changes b/gcc11-testresults.changes index 4e241ce..9987db9 100644 --- a/gcc11-testresults.changes +++ b/gcc11-testresults.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/gcc11-testresults.spec b/gcc11-testresults.spec index 9b3bd7e..a5a38f1 100644 --- a/gcc11-testresults.spec +++ b/gcc11-testresults.spec @@ -274,6 +274,9 @@ BuildRequires: libunwind-devel BuildRequires: dejagnu BuildRequires: expect BuildRequires: gdb +%if %{build_go} +BuildRequires: procps +%endif %if %{build_nvptx} BuildRequires: cross-nvptx-gcc11 BuildRequires: cross-nvptx-newlib11-devel diff --git a/gcc11.changes b/gcc11.changes index 4e241ce..9987db9 100644 --- a/gcc11.changes +++ b/gcc11.changes @@ -5,6 +5,8 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener gcc11-amdgcn-disable-hot-cold-partitioning.patch. - Enable gfortran for offload compilers. - BuildRequire procps from gcc11-testresults if we test go. +- Force using llvm11 for amdgcn offloading since llvm12 doesn't + yet work. ------------------------------------------------------------------- Tue Apr 20 14:57:07 UTC 2021 - Richard Biener diff --git a/gcc11.spec b/gcc11.spec index 81fd08a..aa3edea 100644 --- a/gcc11.spec +++ b/gcc11.spec @@ -256,6 +256,9 @@ BuildRequires: libunwind-devel BuildRequires: dejagnu BuildRequires: expect BuildRequires: gdb +%if %{build_go} +BuildRequires: procps +%endif %if %{build_nvptx} BuildRequires: cross-nvptx-gcc11 BuildRequires: cross-nvptx-newlib11-devel