Accepting request 1166436 from devel:gcc
- Add gcc13-pr101523.patch to avoid combine spending too much compile-time and memory doing nothing on s390x. [boo#1188441] - Make requirement to lld version specific to avoid requiring the meta-package. - Add gcc13-pr111731.patch to fix unwinding for JIT code. [bsc#1221239] OBS-URL: https://build.opensuse.org/request/show/1166436 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc13?expand=0&rev=25
This commit is contained in:
commit
a7a8d06102
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -137,6 +137,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -255,14 +257,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -364,6 +366,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -469,7 +473,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -893,7 +897,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -137,6 +137,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -255,14 +257,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -364,6 +366,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -469,7 +473,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -893,7 +897,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -137,6 +137,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -255,14 +257,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -364,6 +366,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -469,7 +473,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -893,7 +897,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -137,6 +137,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -255,14 +257,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -364,6 +366,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -469,7 +473,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -893,7 +897,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -137,6 +137,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -255,14 +257,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -364,6 +366,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -469,7 +473,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -893,7 +897,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -136,6 +136,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -254,14 +256,14 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
||||||
@ -363,6 +365,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -468,7 +472,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
@ -892,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -160,13 +160,13 @@ BuildRequires: llvm13
|
|||||||
%else
|
%else
|
||||||
BuildRequires: llvm%{product_libs_llvm_ver}
|
BuildRequires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lld
|
BuildRequires: lld%{product_libs_llvm_ver}
|
||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
Requires: llvm13
|
Requires: llvm13
|
||||||
%else
|
%else
|
||||||
Requires: llvm%{product_libs_llvm_ver}
|
Requires: llvm%{product_libs_llvm_ver}
|
||||||
%endif
|
%endif
|
||||||
Requires: lld
|
Requires: lld%{product_libs_llvm_ver}
|
||||||
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
|
||||||
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
||||||
# technically also SLE12 SP5 but do not bother there
|
# technically also SLE12 SP5 but do not bother there
|
||||||
@ -344,7 +344,7 @@ rm -rf $RPM_BUILD_ROOT%{targetlibsubdir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/as
|
||||||
ln -s /usr/bin/lld $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* $RPM_BUILD_ROOT%{_prefix}/amdgcn-amdhsa/bin/ranlib
|
||||||
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
ln -s %{_prefix}/amdgcn-amdhsa/bin/ar $RPM_BUILD_ROOT%{_prefix}/bin/amdgcn-amdhsa-ar
|
||||||
|
@ -388,6 +388,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -1361,6 +1363,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -1466,7 +1470,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
|
46
gcc13-pr101523.patch
Normal file
46
gcc13-pr101523.patch
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
From 5729ffad4db78b26f0d1f658a9fd695be5970550 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Richard Biener <rguenther@suse.de>
|
||||||
|
Date: Wed, 3 Apr 2024 12:58:26 +0200
|
||||||
|
Subject: [PATCH] rtl-optimization/101523 - avoid re-combine after noop 2->2
|
||||||
|
combination
|
||||||
|
To: gcc-patches@gcc.gnu.org
|
||||||
|
|
||||||
|
The following avoids re-walking and re-combining the instructions
|
||||||
|
between i2 and i3 when the pattern of i2 doesn't change.
|
||||||
|
|
||||||
|
PR rtl-optimization/101523
|
||||||
|
* combine.cc (try_combine): When the pattern of i2 doesn't
|
||||||
|
change do not re-start combining at i2 or an earlier insn which
|
||||||
|
had links or notes added.
|
||||||
|
---
|
||||||
|
gcc/combine.cc | 7 +++++++
|
||||||
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/gcc/combine.cc b/gcc/combine.cc
|
||||||
|
index a4479f8d836..ff25752cac4 100644
|
||||||
|
--- a/gcc/combine.cc
|
||||||
|
+++ b/gcc/combine.cc
|
||||||
|
@@ -4186,6 +4186,10 @@ try_combine (rtx_insn *i3, rtx_insn *i2, rtx_insn *i1, rtx_insn *i0,
|
||||||
|
adjust_for_new_dest (i3);
|
||||||
|
}
|
||||||
|
|
||||||
|
+ bool i2_unchanged = false;
|
||||||
|
+ if (rtx_equal_p (newi2pat, PATTERN (i2)))
|
||||||
|
+ i2_unchanged = true;
|
||||||
|
+
|
||||||
|
/* We now know that we can do this combination. Merge the insns and
|
||||||
|
update the status of registers and LOG_LINKS. */
|
||||||
|
|
||||||
|
@@ -4752,6 +4756,9 @@ try_combine (rtx_insn *i3, rtx_insn *i2, rtx_insn *i1, rtx_insn *i0,
|
||||||
|
combine_successes++;
|
||||||
|
undo_commit ();
|
||||||
|
|
||||||
|
+ if (i2_unchanged)
|
||||||
|
+ return i3;
|
||||||
|
+
|
||||||
|
rtx_insn *ret = newi2pat ? i2 : i3;
|
||||||
|
if (added_links_insn && DF_INSN_LUID (added_links_insn) < DF_INSN_LUID (ret))
|
||||||
|
ret = added_links_insn;
|
||||||
|
--
|
||||||
|
2.35.3
|
||||||
|
|
118
gcc13-pr111731.patch
Normal file
118
gcc13-pr111731.patch
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
From 0f5d8836055aef216e6fff9a1d0342a44a46a6a9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Thomas Neumann <tneumann@users.sourceforge.net>
|
||||||
|
Date: Mon, 11 Mar 2024 14:35:20 +0100
|
||||||
|
Subject: [PATCH] handle unwind tables that are embedded within unwinding code
|
||||||
|
[PR111731]
|
||||||
|
|
||||||
|
Original bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111731
|
||||||
|
|
||||||
|
The unwinding mechanism registers both the code range and the unwind
|
||||||
|
table itself within a b-tree lookup structure. That data structure
|
||||||
|
assumes that is consists of non-overlappping intervals. This
|
||||||
|
becomes a problem if the unwinding table is embedded within the
|
||||||
|
code itself, as now the intervals do overlap.
|
||||||
|
|
||||||
|
To fix this problem we now keep the unwind tables in a separate
|
||||||
|
b-tree, which prevents the overlap.
|
||||||
|
|
||||||
|
libgcc/ChangeLog:
|
||||||
|
PR libgcc/111731
|
||||||
|
* unwind-dw2-fde.c: Split unwind ranges if they contain the
|
||||||
|
unwind table.
|
||||||
|
---
|
||||||
|
libgcc/unwind-dw2-fde.c | 37 +++++++++++++++++++++----------------
|
||||||
|
1 file changed, 21 insertions(+), 16 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libgcc/unwind-dw2-fde.c b/libgcc/unwind-dw2-fde.c
|
||||||
|
index 61a578d097e..9d503545677 100644
|
||||||
|
--- a/libgcc/unwind-dw2-fde.c
|
||||||
|
+++ b/libgcc/unwind-dw2-fde.c
|
||||||
|
@@ -48,6 +48,7 @@ typedef __UINTPTR_TYPE__ uintptr_type;
|
||||||
|
#include "unwind-dw2-btree.h"
|
||||||
|
|
||||||
|
static struct btree registered_frames;
|
||||||
|
+static struct btree registered_objects;
|
||||||
|
static bool in_shutdown;
|
||||||
|
|
||||||
|
static void
|
||||||
|
@@ -58,6 +59,7 @@ release_registered_frames (void)
|
||||||
|
/* Release the b-tree and all frames. Frame releases that happen later are
|
||||||
|
* silently ignored */
|
||||||
|
btree_destroy (®istered_frames);
|
||||||
|
+ btree_destroy (®istered_objects);
|
||||||
|
in_shutdown = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -103,6 +105,21 @@ static __gthread_mutex_t object_mutex;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef ATOMIC_FDE_FAST_PATH
|
||||||
|
+// Register the pc range for a given object in the lookup structure.
|
||||||
|
+static void
|
||||||
|
+register_pc_range_for_object (uintptr_type begin, struct object *ob)
|
||||||
|
+{
|
||||||
|
+ // Register the object itself to know the base pointer on deregistration.
|
||||||
|
+ btree_insert (®istered_objects, begin, 1, ob);
|
||||||
|
+
|
||||||
|
+ // Register the frame in the b-tree
|
||||||
|
+ uintptr_type range[2];
|
||||||
|
+ get_pc_range (ob, range);
|
||||||
|
+ btree_insert (®istered_frames, range[0], range[1] - range[0], ob);
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/* Called from crtbegin.o to register the unwind info for an object. */
|
||||||
|
|
||||||
|
void
|
||||||
|
@@ -124,13 +141,7 @@ __register_frame_info_bases (const void *begin, struct object *ob,
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef ATOMIC_FDE_FAST_PATH
|
||||||
|
- // Register the object itself to know the base pointer on deregistration.
|
||||||
|
- btree_insert (®istered_frames, (uintptr_type) begin, 1, ob);
|
||||||
|
-
|
||||||
|
- // Register the frame in the b-tree
|
||||||
|
- uintptr_type range[2];
|
||||||
|
- get_pc_range (ob, range);
|
||||||
|
- btree_insert (®istered_frames, range[0], range[1] - range[0], ob);
|
||||||
|
+ register_pc_range_for_object ((uintptr_type) begin, ob);
|
||||||
|
#else
|
||||||
|
init_object_mutex_once ();
|
||||||
|
__gthread_mutex_lock (&object_mutex);
|
||||||
|
@@ -178,13 +189,7 @@ __register_frame_info_table_bases (void *begin, struct object *ob,
|
||||||
|
ob->s.b.encoding = DW_EH_PE_omit;
|
||||||
|
|
||||||
|
#ifdef ATOMIC_FDE_FAST_PATH
|
||||||
|
- // Register the object itself to know the base pointer on deregistration.
|
||||||
|
- btree_insert (®istered_frames, (uintptr_type) begin, 1, ob);
|
||||||
|
-
|
||||||
|
- // Register the frame in the b-tree
|
||||||
|
- uintptr_type range[2];
|
||||||
|
- get_pc_range (ob, range);
|
||||||
|
- btree_insert (®istered_frames, range[0], range[1] - range[0], ob);
|
||||||
|
+ register_pc_range_for_object ((uintptr_type) begin, ob);
|
||||||
|
#else
|
||||||
|
init_object_mutex_once ();
|
||||||
|
__gthread_mutex_lock (&object_mutex);
|
||||||
|
@@ -232,7 +237,7 @@ __deregister_frame_info_bases (const void *begin)
|
||||||
|
|
||||||
|
#ifdef ATOMIC_FDE_FAST_PATH
|
||||||
|
// Find the originally registered object to get the base pointer.
|
||||||
|
- ob = btree_remove (®istered_frames, (uintptr_type) begin);
|
||||||
|
+ ob = btree_remove (®istered_objects, (uintptr_type) begin);
|
||||||
|
|
||||||
|
// Remove the corresponding PC range.
|
||||||
|
if (ob)
|
||||||
|
@@ -240,7 +245,7 @@ __deregister_frame_info_bases (const void *begin)
|
||||||
|
uintptr_type range[2];
|
||||||
|
get_pc_range (ob, range);
|
||||||
|
if (range[0] != range[1])
|
||||||
|
- btree_remove (®istered_frames, range[0]);
|
||||||
|
+ btree_remove (®istered_frames, range[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deallocate the sort array if any.
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
@ -404,6 +404,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -547,6 +549,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -652,7 +656,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 4 07:43:17 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add gcc13-pr101523.patch to avoid combine spending too much
|
||||||
|
compile-time and memory doing nothing on s390x. [boo#1188441]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 27 12:11:03 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Make requirement to lld version specific to avoid requiring the
|
||||||
|
meta-package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 20 08:29:09 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add gcc13-pr111731.patch to fix unwinding for JIT code.
|
||||||
|
[bsc#1221239]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 13 08:04:27 UTC 2024 - Richard Biener <rguenther@suse.com>
|
Wed Mar 13 08:04:27 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
@ -383,6 +383,8 @@ Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
|||||||
Patch21: gdcflags.patch
|
Patch21: gdcflags.patch
|
||||||
Patch23: gcc13-bsc1216664.patch
|
Patch23: gcc13-bsc1216664.patch
|
||||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||||
|
Patch25: gcc13-pr111731.patch
|
||||||
|
Patch26: gcc13-pr101523.patch
|
||||||
# A set of patches from the RH srpm
|
# A set of patches from the RH srpm
|
||||||
Patch51: gcc41-ppc32-retaddr.patch
|
Patch51: gcc41-ppc32-retaddr.patch
|
||||||
# Some patches taken from Debian
|
# Some patches taken from Debian
|
||||||
@ -2371,6 +2373,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
|||||||
%patch -P 21 -p1
|
%patch -P 21 -p1
|
||||||
%patch -P 23 -p1
|
%patch -P 23 -p1
|
||||||
%patch -P 24 -p1
|
%patch -P 24 -p1
|
||||||
|
%patch -P 25 -p1
|
||||||
|
%patch -P 26 -p1
|
||||||
%patch -P 51
|
%patch -P 51
|
||||||
%patch -P 60 -p1
|
%patch -P 60 -p1
|
||||||
%patch -P 61 -p1
|
%patch -P 61 -p1
|
||||||
@ -2476,7 +2480,7 @@ export _POSIX2_VERSION=199209
|
|||||||
mkdir -p target-tools/bin
|
mkdir -p target-tools/bin
|
||||||
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
ln -s /usr/bin/llvm-ar-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ar
|
||||||
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
ln -s /usr/bin/llvm-mc-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-as
|
||||||
ln -s /usr/bin/lld target-tools/bin/amdgcn-amdhsa-ld
|
ln -s /usr/bin/lld-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ld
|
||||||
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
ln -s /usr/bin/llvm-nm-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-nm
|
||||||
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
ln -s /usr/bin/llvm-ranlib-%{product_libs_llvm_ver}* target-tools/bin/amdgcn-amdhsa-ranlib
|
||||||
export PATH="`pwd`/target-tools/bin:$PATH"
|
export PATH="`pwd`/target-tools/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user