Accepting request 1006095 from home:dirkmueller:Factory
- add gcc12-riscv-inline-atomics.patch, gcc12-riscv-pthread.patch: handle subword size inline atomics (needed by several openSUSE packages) OBS-URL: https://build.opensuse.org/request/show/1006095 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc12?expand=0&rev=66
This commit is contained in:
parent
72efd155ee
commit
71dcbe0a86
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -327,6 +331,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -327,6 +331,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -327,6 +331,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -327,6 +331,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -129,6 +129,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -327,6 +331,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
@ -128,6 +128,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -326,6 +330,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
10
gcc.spec.in
10
gcc.spec.in
@ -372,7 +372,11 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: 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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -1211,6 +1215,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
@ -1489,7 +1495,7 @@ amdgcn-amdhsa,\
|
||||
--disable-sjlj-exceptions \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "armv7hl"
|
||||
--with-cpu=generic-armv7-a \
|
||||
--with-cpu=generic-armv7-a \
|
||||
--with-float=hard \
|
||||
--with-abi=aapcs-linux \
|
||||
--with-fpu=vfpv3-d16 \
|
||||
|
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
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -524,6 +528,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%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>
|
||||
|
||||
|
@ -368,6 +368,10 @@ Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.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
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -2024,6 +2028,8 @@ cd ..
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user