Sync changes with gcc10.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=222
This commit is contained in:
parent
6dfaa46e49
commit
9ab7df1821
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -137,6 +137,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -300,6 +301,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -368,6 +372,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -409,10 +414,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -137,6 +137,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -300,6 +301,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -368,6 +372,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -409,10 +414,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -137,6 +137,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -300,6 +301,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -368,6 +372,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -409,10 +414,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -137,6 +137,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -300,6 +301,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -368,6 +372,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -409,10 +414,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
@ -136,6 +136,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -299,6 +300,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -367,6 +371,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -408,10 +413,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
|
19
gcc.spec.in
19
gcc.spec.in
@ -230,6 +230,14 @@ BuildRequires: libunwind-devel
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
BuildRequires: gdb
|
||||
%if %{build_nvptx}
|
||||
BuildRequires: cross-nvptx-gcc@base_ver@
|
||||
BuildRequires: cross-nvptx-newlib@base_ver@-devel
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
BuildRequires: cross-amdgcn-gcc@base_ver@
|
||||
BuildRequires: cross-amdgcn-newlib@base_ver@-devel
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: gcc-PIE
|
||||
|
||||
@ -329,6 +337,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -1109,6 +1118,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -1177,6 +1189,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -1218,10 +1231,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
@ -1454,7 +1467,7 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
STAGE1_FLAGS="-g -O2"
|
||||
%if 0%{?do_profiling} && !0%{?building_testsuite:1}
|
||||
%ifarch x86_64 %ix86 ppc64le s390x aarch64
|
||||
%define use_pgo_bootstrap 0
|
||||
%define use_pgo_bootstrap 1
|
||||
%endif
|
||||
%endif
|
||||
%{?use_pgo_bootstrap:setarch `arch` -R} make %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||
|
29
gcc10-amdgcn-llvm-as.patch
Normal file
29
gcc10-amdgcn-llvm-as.patch
Normal file
@ -0,0 +1,29 @@
|
||||
varasm.c: Always output flags in merged .section for LLVM assembler compatibility [PR97827]
|
||||
|
||||
For compatibility with LLVM 11's 'mc' assembler, the flags have to be
|
||||
repeated every time. See also LLVM Bug 48201 for this issue and
|
||||
https://reviews.llvm.org/D73999 for the patch causing the issue.
|
||||
|
||||
gcc/
|
||||
PR target/97827
|
||||
* varasm.c (default_elf_asm_named_section): Always output all
|
||||
flags if SECTION_MERGE, even if already declared before.
|
||||
|
||||
diff --git a/gcc/varasm.c b/gcc/varasm.c
|
||||
index ada99940f65..51a507393a8 100644
|
||||
--- a/gcc/varasm.c
|
||||
+++ b/gcc/varasm.c
|
||||
@@ -6738,9 +6738,11 @@ default_elf_asm_named_section (const char *name, unsigned int flags,
|
||||
/* If we have already declared this section, we can use an
|
||||
abbreviated form to switch back to it -- unless this section is
|
||||
part of a COMDAT groups, in which case GAS requires the full
|
||||
- declaration every time. */
|
||||
+ declaration every time. LLVM's MC linker requires that the
|
||||
+ flags are identical, thus avoid the abbreviated form with MERGE. */
|
||||
if (!(HAVE_COMDAT_GROUP && (flags & SECTION_LINKONCE))
|
||||
- && (flags & SECTION_DECLARED))
|
||||
+ && (flags & SECTION_DECLARED)
|
||||
+ && !(flags & SECTION_MERGE))
|
||||
{
|
||||
fprintf (asm_out_file, "\t.section\t%s\n", name);
|
||||
return;
|
@ -245,6 +245,14 @@ BuildRequires: libunwind-devel
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
BuildRequires: gdb
|
||||
%if %{build_nvptx}
|
||||
BuildRequires: cross-nvptx-gcc11
|
||||
BuildRequires: cross-nvptx-newlib11-devel
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
BuildRequires: cross-amdgcn-gcc11
|
||||
BuildRequires: cross-amdgcn-newlib11-devel
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: gcc-PIE
|
||||
|
||||
@ -341,6 +349,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -469,6 +478,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -537,6 +549,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -578,10 +591,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
@ -812,7 +825,7 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
STAGE1_FLAGS="-g -O2"
|
||||
%if 0%{?do_profiling} && !0%{?building_testsuite:1}
|
||||
%ifarch x86_64 %ix86 ppc64le s390x aarch64
|
||||
%define use_pgo_bootstrap 0
|
||||
%define use_pgo_bootstrap 1
|
||||
%endif
|
||||
%endif
|
||||
%{?use_pgo_bootstrap:setarch `arch` -R} make %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||
|
19
gcc11.spec
19
gcc11.spec
@ -227,6 +227,14 @@ BuildRequires: libunwind-devel
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
BuildRequires: gdb
|
||||
%if %{build_nvptx}
|
||||
BuildRequires: cross-nvptx-gcc11
|
||||
BuildRequires: cross-nvptx-newlib11-devel
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
BuildRequires: cross-amdgcn-gcc11
|
||||
BuildRequires: cross-amdgcn-newlib11-devel
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: gcc-PIE
|
||||
|
||||
@ -323,6 +331,7 @@ Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
||||
Patch15: gcc7-avoid-fixinc-error.diff
|
||||
Patch16: gcc9-reproducible-builds.patch
|
||||
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
||||
Patch18: gcc10-amdgcn-llvm-as.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
Patch52: gcc10-foffload-default.patch
|
||||
@ -1860,6 +1869,9 @@ ln -s newlib-3.3.0/newlib .
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%if "%{TARGET_ARCH}" == "amdgcn"
|
||||
%patch18 -p1
|
||||
%endif
|
||||
%patch51
|
||||
%patch52 -p1
|
||||
%patch60 -p1
|
||||
@ -1928,6 +1940,7 @@ languages=$languages,d
|
||||
# which is the default for released compilers
|
||||
#ENABLE_CHECKING="--enable-checking=yes"
|
||||
ENABLE_CHECKING="--enable-checking=release"
|
||||
#ENABLE_CHECKING=""
|
||||
|
||||
# Work around tail/head -1 changes
|
||||
export _POSIX2_VERSION=199209
|
||||
@ -1969,10 +1982,10 @@ TCFLAGS="$RPM_OPT_FLAGS" \
|
||||
%if %{build_nvptx} || %{build_gcn}
|
||||
--enable-offload-targets=\
|
||||
%if %{build_nvptx}
|
||||
nvptx-none=%{_prefix}/nvptx-none,\
|
||||
nvptx-none,\
|
||||
%endif
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
@ -2203,7 +2216,7 @@ amdgcn-amdhsa=%{_prefix}/amdgcn-amdhsa,\
|
||||
STAGE1_FLAGS="-g -O2"
|
||||
%if 0%{?do_profiling} && !0%{?building_testsuite:1}
|
||||
%ifarch x86_64 %ix86 ppc64le s390x aarch64
|
||||
%define use_pgo_bootstrap 0
|
||||
%define use_pgo_bootstrap 1
|
||||
%endif
|
||||
%endif
|
||||
%{?use_pgo_bootstrap:setarch `arch` -R} make %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||
|
Loading…
x
Reference in New Issue
Block a user