Update to 14.0.1

This commit is contained in:
Sandro Mani 2024-02-07 17:55:40 +01:00
parent ab8788ae16
commit 1ff5308ff6
5 changed files with 28 additions and 11 deletions

1
.gitignore vendored
View File

@ -54,3 +54,4 @@ gcc-4.5.1.tar.bz2
/gcc-13.0.1-20230324.tar.xz
/gcc-13.1.1-20230426.tar.xz
/gcc-13.2.1-20230728.tar.xz
/gcc-14.0.1-20240127.tar.xz

View File

@ -1,6 +1,6 @@
diff -rupN --no-dereference gcc-13.0.1-20230304/libgomp/libgomp.h gcc-13.0.1-20230304-new/libgomp/libgomp.h
--- gcc-13.0.1-20230304/libgomp/libgomp.h 2023-03-04 19:40:58.000000000 +0100
+++ gcc-13.0.1-20230304-new/libgomp/libgomp.h 2023-03-10 08:38:15.289652064 +0100
diff -rupN --no-dereference gcc-14.0.1-20240127/libgomp/libgomp.h gcc-14.0.1-20240127-new/libgomp/libgomp.h
--- gcc-14.0.1-20240127/libgomp/libgomp.h 2024-01-27 09:22:22.000000000 +0100
+++ gcc-14.0.1-20240127-new/libgomp/libgomp.h 2024-02-07 15:27:28.331605683 +0100
@@ -69,6 +69,13 @@
# endif
#endif
@ -15,7 +15,7 @@ diff -rupN --no-dereference gcc-13.0.1-20230304/libgomp/libgomp.h gcc-13.0.1-202
#ifdef HAVE_ATTRIBUTE_VISIBILITY
# pragma GCC visibility push(hidden)
#endif
@@ -177,7 +184,7 @@ team_free (void *ptr)
@@ -174,7 +181,7 @@ team_free (void *ptr)
extern void gomp_vdebug (int, const char *, va_list);
extern void gomp_debug (int, const char *, ...)
@ -24,7 +24,7 @@ diff -rupN --no-dereference gcc-13.0.1-20230304/libgomp/libgomp.h gcc-13.0.1-202
#define gomp_vdebug(KIND, FMT, VALIST) \
do { \
if (__builtin_expect (gomp_debug_var, 0)) \
@@ -190,11 +197,11 @@ extern void gomp_debug (int, const char
@@ -187,11 +194,11 @@ extern void gomp_debug (int, const char
} while (0)
extern void gomp_verror (const char *, va_list);
extern void gomp_error (const char *, ...)

View File

@ -14,14 +14,14 @@
# Run the testsuite
%global enable_tests 0
%global DATE 20230728
%global gitrev 8a3e2d71f2a0309540e68c79dadd66a06ca3da73
%global gcc_version 13.2.1
%global gcc_major 13
%global DATE 20240127
%global gitrev 97a1e216faf8ad55b025f07bed4940c016a982c3
%global gcc_version 14.0.1
%global gcc_major 14
Name: mingw-gcc
Version: %{gcc_version}
Release: 7%{?dist}
Release: 1%{?dist}
Summary: MinGW Windows cross-compiler (GCC) for C
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
@ -38,6 +38,8 @@ Source0: %{srcdir}.tar.xz
# See https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/8fd2fb03-9b8a-07e1-e162-0bb48bcc3984%40gmail.com/#msg37200751
Patch0: 0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
# Add missing stdlib.h include
Patch1: mingw-gcc_include-stdlib.patch
BuildRequires: gcc-c++
BuildRequires: make
@ -918,6 +920,9 @@ ln -sf %{ucrt64_bindir}/libssp-0.dll %{buildroot}%{ucrt64_libdir}/libssp.dll.a
%changelog
* Wed Feb 07 2024 Sandro Mani <manisandro@gmail.com> - 14.0.1-1
- Update to 14.0.1
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 13.2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View File

@ -0,0 +1,11 @@
diff -rupN gcc-14.0.1-20240127/libgcc/config/i386/enable-execute-stack-mingw32.c gcc-14.0.1-20240127-new/libgcc/config/i386/enable-execute-stack-mingw32.c
--- gcc-14.0.1-20240127/libgcc/config/i386/enable-execute-stack-mingw32.c 2024-01-27 09:22:22.000000000 +0100
+++ gcc-14.0.1-20240127-new/libgcc/config/i386/enable-execute-stack-mingw32.c 2024-02-07 15:46:27.708394419 +0100
@@ -24,6 +24,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#include <stdlib.h>
extern void __enable_execute_stack (void *);

View File

@ -1 +1 @@
SHA512 (gcc-13.2.1-20230728.tar.xz) = 7698968e1eabfe8ae8ff79806d9c15a50e861b2776ea5968e6b1f2ebf399d7b62cc4066d7d43b3cd791b790f41c2da401c33a0b258b640bf4c1f1cebd2cac99a
SHA512 (gcc-14.0.1-20240127.tar.xz) = 3a45100039c6b2e0c7f0731dfa942c52badae86895c6ed9d76283dabb365efa00e9808aef9521754359df124c942fcbc700de09b6fdb6a9e7359b43cbbc722d8