forked from pool/gcc12
- add gcc12-riscv-inline-atomics.patch,
gcc12-riscv-pthread.patch: handle subword size inline atomics (needed by several openSUSE packages) Rev devel:gcc/66 Md5 3912ce2789cdde6ba7164e5f802e5f58 2022-09-26 11:43:42 rguenther 1006095
This commit is contained in:
parent
181c49231b
commit
119c595406
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -327,6 +331,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -327,6 +331,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -327,6 +331,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -327,6 +331,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -327,6 +331,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -326,6 +330,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -373,6 +373,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -1211,6 +1215,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
2075
gcc12-riscv-inline-atomics.patch
Normal file
2075
gcc12-riscv-inline-atomics.patch
Normal file
File diff suppressed because it is too large
Load Diff
21
gcc12-riscv-pthread.patch
Normal file
21
gcc12-riscv-pthread.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Index: gcc-12.0.1+git192423/gcc/config/riscv/linux.h
|
||||||
|
===================================================================
|
||||||
|
--- gcc-12.0.1+git192423.orig/gcc/config/riscv/linux.h
|
||||||
|
+++ gcc-12.0.1+git192423/gcc/config/riscv/linux.h
|
||||||
|
@@ -35,16 +35,6 @@ along with GCC; see the file COPYING3.
|
||||||
|
#undef MUSL_DYNAMIC_LINKER
|
||||||
|
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1"
|
||||||
|
|
||||||
|
-/* Because RISC-V only has word-sized atomics, it requries libatomic where
|
||||||
|
- others do not. So link libatomic by default, as needed. */
|
||||||
|
-#undef LIB_SPEC
|
||||||
|
-#ifdef LD_AS_NEEDED_OPTION
|
||||||
|
-#define LIB_SPEC GNU_USER_TARGET_LIB_SPEC \
|
||||||
|
- " %{pthread:" LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION "}"
|
||||||
|
-#else
|
||||||
|
-#define LIB_SPEC GNU_USER_TARGET_LIB_SPEC " -latomic "
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#define ICACHE_FLUSH_FUNC "__riscv_flush_icache"
|
||||||
|
|
||||||
|
#define CPP_SPEC "%{pthread:-D_REENTRANT}"
|
@ -389,6 +389,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -524,6 +528,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 26 11:06:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add gcc12-riscv-inline-atomics.patch,
|
||||||
|
gcc12-riscv-pthread.patch: handle subword size inline atomics
|
||||||
|
(needed by several openSUSE packages)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 31 12:38:20 UTC 2022 - Richard Biener <rguenther@suse.com>
|
Wed Aug 31 12:38:20 UTC 2022 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
@ -368,6 +368,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
|||||||
Patch19: gcc11-gdwarf-4-default.patch
|
Patch19: gcc11-gdwarf-4-default.patch
|
||||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||||
Patch21: gcc12-fifo-jobserver-support.patch
|
Patch21: gcc12-fifo-jobserver-support.patch
|
||||||
|
# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html
|
||||||
|
Patch22: gcc12-riscv-inline-atomics.patch
|
||||||
|
# remove libatomics linking
|
||||||
|
Patch23: gcc12-riscv-pthread.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
|
||||||
@ -2024,6 +2028,8 @@ cd ..
|
|||||||
%patch16
|
%patch16
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# These patches are needed only for llvm11
|
# These patches are needed only for llvm11
|
||||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user