diff --git a/.gitignore b/.gitignore index e119e6d..047789b 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ gcc-4.5.1.tar.bz2 /gcc-9.2.1-20190827.tar.xz /gcc-10.1.1-20200618.tar.xz /gcc-10.2.1-20200723.tar.xz +/gcc-10.3.1-20210422.tar.xz diff --git a/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch b/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch index 0f1bfa7..8f7cfc4 100644 --- a/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch +++ b/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gcc-10.2.1-20200723/libgomp/libgomp.h gcc-10.2.1-20200723-new/libgomp/libgomp.h ---- gcc-10.2.1-20200723/libgomp/libgomp.h 2020-07-23 11:18:20.000000000 +0200 -+++ gcc-10.2.1-20200723-new/libgomp/libgomp.h 2021-01-19 21:29:10.649983667 +0100 +diff -rupN --no-dereference gcc-10.3.1-20210422/libgomp/libgomp.h gcc-10.3.1-20210422-new/libgomp/libgomp.h +--- gcc-10.3.1-20210422/libgomp/libgomp.h 2021-04-22 19:22:55.000000000 +0200 ++++ gcc-10.3.1-20210422-new/libgomp/libgomp.h 2021-04-26 18:35:20.742105312 +0200 @@ -69,6 +69,13 @@ # endif #endif diff --git a/mingw-gcc-config.patch b/mingw-gcc-config.patch index d97ab04..1484357 100644 --- a/mingw-gcc-config.patch +++ b/mingw-gcc-config.patch @@ -1,6 +1,6 @@ -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 +diff -rupN --no-dereference gcc-10.3.1-20210422/config/intdiv0.m4 gcc-10.3.1-20210422-new/config/intdiv0.m4 +--- gcc-10.3.1-20210422/config/intdiv0.m4 2021-04-22 19:22:55.000000000 +0200 ++++ gcc-10.3.1-20210422-new/config/intdiv0.m4 2021-04-26 18:35:17.451105239 +0200 @@ -31,10 +31,10 @@ sigfpe_handler (sig) int sig; exit (sig != SIGFPE); } @@ -16,9 +16,9 @@ diff -rupN --no-dereference gcc-10.2.1-20200723/config/intdiv0.m4 gcc-10.2.1-202 int main () { -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 +diff -rupN --no-dereference gcc-10.3.1-20210422/libiberty/aclocal.m4 gcc-10.3.1-20210422-new/libiberty/aclocal.m4 +--- gcc-10.3.1-20210422/libiberty/aclocal.m4 2021-04-22 19:22:55.000000000 +0200 ++++ gcc-10.3.1-20210422-new/libiberty/aclocal.m4 2021-04-26 18:35:17.591105242 +0200 @@ -149,7 +149,7 @@ if test $ac_cv_os_cray = yes; then fi @@ -28,9 +28,9 @@ diff -rupN --no-dereference gcc-10.2.1-20200723/libiberty/aclocal.m4 gcc-10.2.1- { 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 +diff -rupN --no-dereference gcc-10.3.1-20210422/libiberty/configure.ac gcc-10.3.1-20210422-new/libiberty/configure.ac +--- gcc-10.3.1-20210422/libiberty/configure.ac 2021-04-22 19:22:55.000000000 +0200 ++++ gcc-10.3.1-20210422-new/libiberty/configure.ac 2021-04-26 18:35:17.591105242 +0200 @@ -664,7 +664,7 @@ if test -z "${setobjs}"; then for v in $vars; do AC_MSG_CHECKING([for $v]) diff --git a/mingw-gcc.spec b/mingw-gcc.spec index 4da2717..853384a 100644 --- a/mingw-gcc.spec +++ b/mingw-gcc.spec @@ -23,14 +23,14 @@ # Run the testsuite %global enable_tests 0 -%global DATE 20200723 -%global GITREV 3fc88aa16f1bf661db4518d6d62869f081981981 -%global gcc_version 10.2.1 +%global DATE 20210422 +%global GITREV dc5e381a715a658cfcc08ba3cbaa6bc53adc596f +%global gcc_version 10.3.1 %global gcc_major 10 Name: mingw-gcc Version: %{gcc_version} -Release: 6%{?dist} +Release: 1%{?dist} Summary: MinGW Windows cross-compiler (GCC) for C License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions @@ -669,6 +669,9 @@ ln -sf %{mingw64_bindir}/libssp-0.dll %{buildroot}%{mingw64_libdir}/libssp.dll.a %changelog +* Mon Apr 26 2021 Sandro Mani - 10.3.1-1 +- Update to 10.3.1 + * Thu Jan 28 2021 Richard W.M. Jones - 10.2.1-6 - Bump and rebuild for s390. diff --git a/sources b/sources index c60e136..0e2ac8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gcc-10.2.1-20200723.tar.xz) = e1719e4a18f43bb76acb91c0d768711e78d7e8c478b72e691911094e233570597997ed108ba7ed4fb136542993af935ea38ec462a1972689c9220d4cc0e2933f +SHA512 (gcc-10.3.1-20210422.tar.xz) = e88b53be14b345d24cdd94d4b6fc52422c36400087594a47abbd062f6f8c681de6119a3cb93c142bea0c3b50a5c7bd43ff1e1cef661dd92390ecffdf98e4ea96