forked from pool/gcc12
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
32ce91b080 |
@ -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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,15 +129,13 @@ 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
|
||||
@ -310,7 +308,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,8 +327,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,15 +129,13 @@ 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
|
||||
@ -310,7 +308,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,8 +327,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,15 +129,13 @@ 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
|
||||
@ -310,7 +308,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,8 +327,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,15 +129,13 @@ 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
|
||||
@ -310,7 +308,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,8 +327,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -129,15 +129,13 @@ 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
|
||||
@ -310,7 +308,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -326,8 +327,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -128,15 +128,13 @@ 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
|
||||
@ -309,7 +307,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -325,8 +326,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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
|
||||
|
3
gcc-12.2.1+git416.tar.xz
Normal file
3
gcc-12.2.1+git416.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb1b05cb1165be27bdf13b637918af2dcad5600831c16d1e1df54ebd4609fb3b
|
||||
size 83021860
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b1a53610db6fd9acef64edc86f535a15bd4302a13856c1bf4b8e27add01a728
|
||||
size 83084456
|
19
gcc.spec.in
19
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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -372,16 +372,14 @@ 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
|
||||
# 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
|
||||
Patch21: gcc12-fifo-jobserver-support.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
|
||||
@ -1194,7 +1192,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -1210,8 +1211,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
||||
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+git537
|
||||
Version: 12.2.1+git416
|
||||
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.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -389,15 +389,13 @@ 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
|
||||
@ -507,7 +505,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -523,8 +524,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%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,21 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
19
gcc12.spec
19
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+git537
|
||||
Version: 12.2.1+git416
|
||||
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/+/-/')
|
||||
@ -208,7 +208,9 @@ BuildRequires: texinfo
|
||||
%endif
|
||||
# until here, but at least renaming and patching info files breaks this
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{!?disable_32bit:1}
|
||||
BuildRequires: glibc-devel-32bit
|
||||
%endif
|
||||
BuildRequires: mpc-devel
|
||||
BuildRequires: mpfr-devel
|
||||
BuildRequires: perl
|
||||
@ -355,7 +357,7 @@ Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
Source3: gcc12-testresults-rpmlintrc
|
||||
Source4: README.First-for.SuSE.packagers
|
||||
Source5: newlib-4.2.0.20211231.tar.xz
|
||||
Source5: newlib-4.1.0.tar.xz
|
||||
Patch2: gcc-add-defaultsspec.diff
|
||||
Patch5: tls-no-direct.diff
|
||||
Patch6: gcc43-no-unwind-tables.diff
|
||||
@ -368,15 +370,13 @@ 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
|
||||
@ -2007,7 +2007,10 @@ 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.2.0.20211231/newlib .
|
||||
ln -s newlib-4.1.0/newlib .
|
||||
cd newlib
|
||||
%patch100 -p1
|
||||
cd ..
|
||||
%else
|
||||
%setup -q -n gcc-%{version}
|
||||
%endif
|
||||
@ -2023,8 +2026,6 @@ ln -s newlib-4.2.0.20211231/newlib .
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
# These patches are needed only for llvm11
|
||||
%if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550
|
||||
%patch18 -p1
|
||||
|
10
newlib-4.1.0-aligned_alloc.patch
Normal file
10
newlib-4.1.0-aligned_alloc.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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)
|
3
newlib-4.1.0.tar.xz
Normal file
3
newlib-4.1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:181a90099c547a4816537e8b7da25e477370cb99438f8fe7163d077e83e90186
|
||||
size 5710104
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7b82049dd8fec877427a55a38bfb70cc1c0f7d845e458f31ff5c99ec82763c9
|
||||
size 5709228
|
Loading…
Reference in New Issue
Block a user