Update to 10.2.1

This commit is contained in:
Sandro Mani 2020-07-23 22:29:10 +02:00
parent 14b6fe2f14
commit 57849ed889
4 changed files with 30 additions and 28 deletions

1
.gitignore vendored
View File

@ -38,3 +38,4 @@ gcc-4.5.1.tar.bz2
/gcc-9.1.1-20190503.tar.xz
/gcc-9.2.1-20190827.tar.xz
/gcc-10.1.1-20200618.tar.xz
/gcc-10.2.1-20200723.tar.xz

View File

@ -1,19 +1,6 @@
diff -Nrup a/libiberty/aclocal.m4 b/libiberty/aclocal.m4
--- a/libiberty/aclocal.m4 2019-01-19 09:01:34.000000000 -0700
+++ b/libiberty/aclocal.m4 2020-01-09 22:00:27.183312982 -0700
@@ -147,7 +147,7 @@ if test $ac_cv_os_cray = yes; then
fi
AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
-[AC_TRY_RUN([find_stack_direction ()
+[AC_TRY_RUN([__attribute__ ((noclone,noinline)) find_stack_direction ()
{
static char *addr = 0;
auto char dummy;
diff --git a/config/intdiv0.m4 b//config/intdiv0.m4
index 55dddcf1..ba906efc 100644
--- a/config/intdiv0.m4
+++ b/config/intdiv0.m4
diff -rupN --no-dereference gcc-10.2.1-20200723/config/intdiv0.m4 gcc-10.2.1-20200723-new/config/intdiv0.m4
--- gcc-10.2.1-20200723/config/intdiv0.m4 2020-07-23 11:18:20.000000000 +0200
+++ gcc-10.2.1-20200723-new/config/intdiv0.m4 2020-07-23 18:21:10.151598317 +0200
@@ -31,10 +31,10 @@ sigfpe_handler (sig) int sig;
exit (sig != SIGFPE);
}
@ -29,11 +16,22 @@ index 55dddcf1..ba906efc 100644
int main ()
{
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index f1ce7601..fc20d228 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -661,7 +661,7 @@ if test -z "${setobjs}"; then
diff -rupN --no-dereference gcc-10.2.1-20200723/libiberty/aclocal.m4 gcc-10.2.1-20200723-new/libiberty/aclocal.m4
--- gcc-10.2.1-20200723/libiberty/aclocal.m4 2020-07-23 11:18:20.000000000 +0200
+++ gcc-10.2.1-20200723-new/libiberty/aclocal.m4 2020-07-23 18:21:10.150598319 +0200
@@ -149,7 +149,7 @@ if test $ac_cv_os_cray = yes; then
fi
AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
-[AC_TRY_RUN([find_stack_direction ()
+[AC_TRY_RUN([__attribute__ ((noclone,noinline)) find_stack_direction ()
{
static char *addr = 0;
auto char dummy;
diff -rupN --no-dereference gcc-10.2.1-20200723/libiberty/configure.ac gcc-10.2.1-20200723-new/libiberty/configure.ac
--- gcc-10.2.1-20200723/libiberty/configure.ac 2020-07-23 11:18:20.000000000 +0200
+++ gcc-10.2.1-20200723-new/libiberty/configure.ac 2020-07-23 18:21:10.151598317 +0200
@@ -664,7 +664,7 @@ if test -z "${setobjs}"; then
for v in $vars; do
AC_MSG_CHECKING([for $v])
AC_CACHE_VAL(libiberty_cv_var_$v,

View File

@ -15,14 +15,14 @@
# Run the testsuite
%global enable_tests 0
%global DATE 20200618
%global GITREV c518050989be3a224a04a8b33d73f37a16c30fbb
%global gcc_version 10.1.1
%global DATE 20200723
%global GITREV 3fc88aa16f1bf661db4518d6d62869f081981981
%global gcc_version 10.2.1
%global gcc_major 10
Name: mingw-gcc
Version: %{gcc_version}
Release: 4%{?dist}
Release: 1%{?dist}
Summary: MinGW Windows cross-compiler (GCC) for C
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
@ -282,9 +282,9 @@ popd
# If we're bootstrapping, only build the GCC core
%if 0%{bootstrap}
%mingw_make %{?_smp_mflags} all-gcc
%mingw_make_build all-gcc
%else
%mingw_make %{?_smp_mflags} all
%mingw_make_build all
%endif
@ -657,6 +657,9 @@ ln -sf %{mingw64_bindir}/libssp-0.dll %{buildroot}%{mingw64_libdir}/libssp.dll.a
%changelog
* Thu Jul 23 2020 Sandro Mani <manisandro@gmail.com> - 10.2.1-1
- Update to 10.2.1
* Mon Jul 20 2020 Jeff Law <law@redhat.com> - 10.1.1-4
- Fix broken configure tests compromised by LTO
- Add autoconf to BuildRequires

View File

@ -1 +1 @@
SHA512 (gcc-10.1.1-20200618.tar.xz) = 7dbec01ce5199c37072f97874b11b59b9e5a5b20d9782f662eb856c34009faeb1644e39fb7f13e8c8e016ad552d9c9fcf5d5ba9562297dccf66ebc75f1b963cf
SHA512 (gcc-10.2.1-20200723.tar.xz) = e1719e4a18f43bb76acb91c0d768711e78d7e8c478b72e691911094e233570597997ed108ba7ed4fb136542993af935ea38ec462a1972689c9220d4cc0e2933f