forked from pool/gcc12
Accepting request 1030343: - Update to gcc-12 branch head, 0aaef83351473e8f4eb774f8f99, git537
- Update embedded newlib to version 4.2.0 * includes newlib-4.1.0-aligned_alloc.patch - add gcc12-riscv-inline-atomics.patch, gcc12-riscv-pthread.patch: handle subword size inline atomics (needed by several openSUSE packages) Rev openSUSE:Factory/8 Md5 fbaa0d1bee9dd4bf9e4d45177f4ff4d1 2022-10-23 14:32:40 dimstar_suse 1030343
This commit is contained in:
commit
2ed7b3402b
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -102,7 +102,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -116,7 +116,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,13 +129,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -308,10 +310,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -327,6 +326,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -102,7 +102,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -116,7 +116,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,13 +129,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -308,10 +310,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -327,6 +326,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -102,7 +102,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -116,7 +116,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,13 +129,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -308,10 +310,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -327,6 +326,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -102,7 +102,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -116,7 +116,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,13 +129,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -308,10 +310,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -327,6 +326,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -102,7 +102,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -116,7 +116,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,13 +129,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -308,10 +310,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -327,6 +326,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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
|
||||
|
@ -101,7 +101,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -115,7 +115,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,13 +128,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -307,10 +309,7 @@ only, it is not intended for any other use.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,6 +325,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 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb1b05cb1165be27bdf13b637918af2dcad5600831c16d1e1df54ebd4609fb3b
|
||||
size 83021860
|
3
gcc-12.2.1+git537.tar.xz
Normal file
3
gcc-12.2.1+git537.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b1a53610db6fd9acef64edc86f535a15bd4302a13856c1bf4b8e27add01a728
|
||||
size 83084456
|
21
gcc.spec.in
21
gcc.spec.in
@ -190,7 +190,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 1
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -360,7 +360,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -372,14 +372,16 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
# GCC-TESTSUITE-DELETE-BEGIN
|
||||
# SRC-COMMON-END
|
||||
@ -1192,10 +1194,7 @@ Results from running the gcc and target library testsuites.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -1211,6 +1210,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 +1490,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}"
|
@ -207,7 +207,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -376,7 +376,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -389,13 +389,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
Summary: Testsuite results
|
||||
License: SUSE-Public-Domain
|
||||
@ -505,10 +507,7 @@ Results from running the gcc and target library testsuites.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -524,6 +523,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,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 08:20:31 UTC 2022 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Update to gcc-12 branch head, 0aaef83351473e8f4eb774f8f99, git537
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 09:59:52 UTC 2022 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Update embedded newlib to version 4.2.0
|
||||
* includes newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
17
gcc12.spec
17
gcc12.spec
@ -186,7 +186,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 12.2.1+git416
|
||||
Version: 12.2.1+git537
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -355,7 +355,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -368,13 +368,15 @@ 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
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Patches for embedded newlib
|
||||
Patch100: newlib-4.1.0-aligned_alloc.patch
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
Summary: The GNU C Compiler and Support Files
|
||||
@ -2005,10 +2007,7 @@ Results from running the gcc and target library testsuites.
|
||||
%prep
|
||||
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
|
||||
%setup -q -n gcc-%{version} -a 5
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
ln -s newlib-4.2.0.20211231/newlib .
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -2024,6 +2023,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,10 +0,0 @@
|
||||
--- newlib/libc/stdlib/aligned_alloc.c.orig 2021-06-10 12:01:10.692582985 +0200
|
||||
+++ newlib/libc/stdlib/aligned_alloc.c 2021-06-10 12:01:20.960708060 +0200
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <reent.h>
|
||||
#include <stdlib.h>
|
||||
+#include <malloc.h>
|
||||
|
||||
void *
|
||||
aligned_alloc (size_t align, size_t size)
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:181a90099c547a4816537e8b7da25e477370cb99438f8fe7163d077e83e90186
|
||||
size 5710104
|
3
newlib-4.2.0.20211231.tar.xz
Normal file
3
newlib-4.2.0.20211231.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7b82049dd8fec877427a55a38bfb70cc1c0f7d845e458f31ff5c99ec82763c9
|
||||
size 5709228
|
Loading…
Reference in New Issue
Block a user