Accepting request 1078403 from home:Andreas_Schwab:Factory
- riscv-atomic.patch: RISC-V: Add support for inlining subword atomic operations - riscv-pthread.patch: Don't add -latomic with -pthread OBS-URL: https://build.opensuse.org/request/show/1078403 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=37
This commit is contained in:
parent
3bba274e73
commit
30efb40892
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -134,6 +134,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +336,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -134,6 +134,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +336,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -134,6 +134,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +336,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -134,6 +134,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +336,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -134,6 +134,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -334,6 +336,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -133,6 +133,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -333,6 +335,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -389,6 +389,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -1348,6 +1350,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -405,6 +405,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -539,6 +541,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 11 08:29:47 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- riscv-atomic.patch: RISC-V: Add support for inlining subword atomic
|
||||
operations
|
||||
- riscv-pthread.patch: Don't add -latomic with -pthread
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 07:02:21 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -384,6 +384,8 @@ 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: riscv-atomic.patch
|
||||
Patch22: riscv-pthread.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -2356,6 +2358,8 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
# In SLE15 and earlier default to dwarf4, not dwarf5
|
||||
%if %{suse_version} < 1550
|
||||
%patch19 -p1
|
||||
|
2074
riscv-atomic.patch
Normal file
2074
riscv-atomic.patch
Normal file
File diff suppressed because it is too large
Load Diff
33
riscv-pthread.patch
Normal file
33
riscv-pthread.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 79dc619188c0b42ae7a329c6abe50dee19000895 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Schwab <schwab@suse.de>
|
||||
Date: Sat, 23 Apr 2022 15:48:42 +0200
|
||||
Subject: [PATCH] Don't add -latomic with -pthread
|
||||
|
||||
---
|
||||
gcc/config/riscv/linux.h | 10 ----------
|
||||
1 file changed, 10 deletions(-)
|
||||
|
||||
diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h
|
||||
index b9557a75dc7..2fdfd930cf2 100644
|
||||
--- a/gcc/config/riscv/linux.h
|
||||
+++ b/gcc/config/riscv/linux.h
|
||||
@@ -35,16 +35,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#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}"
|
||||
--
|
||||
2.40.0
|
||||
|
Loading…
Reference in New Issue
Block a user