[packages/crossmingw32-gcc] - updated to 14.4.0
qboosh
qboosh at pld-linux.org
Sat Sep 5 22:42:39 CEST 2026
commit 12a4f091288f15a7bce4dcb368a6489adfdfd19d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 5 22:42:43 2026 +0200
- updated to 14.4.0
crossmingw32-gcc-lfs.patch | 37 -------------------------------------
crossmingw32-gcc.spec | 19 ++++++++++++-------
gcc-mingw32.patch | 13 +++++++++++++
gcc-types.patch | 11 -----------
4 files changed, 25 insertions(+), 55 deletions(-)
---
diff --git a/crossmingw32-gcc.spec b/crossmingw32-gcc.spec
index 1fe77aa..501d7e2 100644
--- a/crossmingw32-gcc.spec
+++ b/crossmingw32-gcc.spec
@@ -23,13 +23,13 @@ Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla MinGW32 - gcc
Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - MinGW32 gcc
Summary(tr.UTF-8): GNU geliştirme araçları - MinGW32 gcc
Name: crossmingw32-gcc
-Version: 13.4.0
-Release: 3
+Version: 14.4.0
+Release: 1
Epoch: 1
License: GPL v3+
Group: Development/Languages
Source0: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
-# Source0-md5: 260096adee8b1cf3dde6e61c11cccca6
+# Source0-md5: bbc2c125da14c0b800561e165aaafec2
%define w32api_ver 5.4.2
#Source1Download: https://osdn.net/projects/mingw/releases/
Source1: https://osdn.net/projects/mingw/downloads/74926/w32api-%{w32api_ver}-mingw32-dev.tar.xz
@@ -45,9 +45,8 @@ Patch2: %{name}-lfs.patch
Patch3: gcc-mingw32.patch
Patch4: gcc-build-libvtv.patch
Patch5: gcc-pthreads-w32.patch
-Patch6: gcc-types.patch
Patch100: gcc-branch.diff
-# Patch100-md5: 895a5bedb56e00ee3da9c7f619af0991
+# Patch100-md5: 3bbbef4fb482fbf6a1b34b179c9224cf
URL: https://gcc.gnu.org/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11.1
@@ -538,13 +537,12 @@ Win32.
%prep
%setup -q -n gcc-%{version}
-#patch -P100 -p1
+%patch -P100 -p1
%patch -P0 -p1
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
%patch -P5 -p1
-%patch -P6 -p1
%if %{with bootstrap}
# note: "winsup" dirs are special, handled by gcc's configure
@@ -744,6 +742,7 @@ rm -rf $RPM_BUILD_ROOT
%{gcclibdir}/include/avx512bf16intrin.h
%{gcclibdir}/include/avx512bf16vlintrin.h
%{gcclibdir}/include/avx512bitalgintrin.h
+%{gcclibdir}/include/avx512bitalgvlintrin.h
%{gcclibdir}/include/avx512bwintrin.h
%{gcclibdir}/include/avx512cdintrin.h
%{gcclibdir}/include/avx512dqintrin.h
@@ -771,6 +770,7 @@ rm -rf $RPM_BUILD_ROOT
%{gcclibdir}/include/avxintrin.h
%{gcclibdir}/include/avxneconvertintrin.h
%{gcclibdir}/include/avxvnniint8intrin.h
+%{gcclibdir}/include/avxvnniint16intrin.h
%{gcclibdir}/include/avxvnniintrin.h
%{gcclibdir}/include/bmi2intrin.h
%{gcclibdir}/include/bmiintrin.h
@@ -820,11 +820,15 @@ rm -rf $RPM_BUILD_ROOT
%{gcclibdir}/include/serializeintrin.h
%{gcclibdir}/include/sgxintrin.h
%{gcclibdir}/include/shaintrin.h
+%{gcclibdir}/include/sha512intrin.h
+%{gcclibdir}/include/sm3intrin.h
+%{gcclibdir}/include/sm4intrin.h
%{gcclibdir}/include/smmintrin.h
%{gcclibdir}/include/stdalign.h
%{gcclibdir}/include/stdarg.h
%{gcclibdir}/include/stdatomic.h
%{gcclibdir}/include/stdbool.h
+%{gcclibdir}/include/stdckdint.h
%{gcclibdir}/include/stddef.h
%{gcclibdir}/include/stdfix.h
%{gcclibdir}/include/stdint-gcc.h
@@ -836,6 +840,7 @@ rm -rf $RPM_BUILD_ROOT
%{gcclibdir}/include/tmmintrin.h
%{gcclibdir}/include/tsxldtrkintrin.h
%{gcclibdir}/include/uintrintrin.h
+%{gcclibdir}/include/usermsrintrin.h
%{gcclibdir}/include/unwind.h
%{gcclibdir}/include/vaesintrin.h
%{gcclibdir}/include/varargs.h
diff --git a/crossmingw32-gcc-lfs.patch b/crossmingw32-gcc-lfs.patch
index fa34c9a..1c9b106 100644
--- a/crossmingw32-gcc-lfs.patch
+++ b/crossmingw32-gcc-lfs.patch
@@ -1,40 +1,3 @@
---- gcc-13.4.0/libstdc++-v3/config/io/basic_file_stdio.cc.orig 2025-06-05 18:03:03.000000000 +0200
-+++ gcc-13.4.0/libstdc++-v3/config/io/basic_file_stdio.cc 2026-04-07 20:44:23.050840761 +0200
-@@ -251,7 +251,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- const char* __c_mode = fopen_mode(__mode);
- if (__c_mode && !this->is_open())
- {
--#ifdef _GLIBCXX_USE_LFS
-+#if defined(_GLIBCXX_USE_LFS) || defined(__MINGW32__)
- if ((_M_cfile = fopen64(__name, __c_mode)))
- #else
- if ((_M_cfile = fopen(__name, __c_mode)))
-@@ -417,7 +417,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- return -1;
- }
- return __way == ios_base::beg ? __off : std::get_file_offset(this);
--#elif defined(_GLIBCXX_USE_LFS)
-+#elif defined(_GLIBCXX_USE_LFS) || defined(__MINGW32__)
- return lseek64(this->fd(), __off, __way);
- #else
- if (__off > numeric_limits<off_t>::max()
-@@ -463,6 +463,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- const streamoff __off = __buffer.st_size - std::get_file_offset(this);
- return std::min(__off, streamoff(numeric_limits<streamsize>::max()));
- }
-+#elif defined(__MINGW32__)
-+ struct _stati64 __buffer;
-+ const int __err = _fstati64(this->fd(), &__buffer);
-+ if (!__err && _GLIBCXX_ISREG(__buffer.st_mode))
-+ {
-+ const streamoff __off = __buffer.st_size - lseek64(this->fd(), 0,
-+ ios_base::cur);
-+ return std::min(__off, streamoff(numeric_limits<streamsize>::max()));
-+ }
- #else
- struct stat __buffer;
- const int __err = fstat(this->fd(), &__buffer);
-diff -r faddb1a6e933 libstdc++-v3/include/ext/stdio_sync_filebuf.h
--- a/libstdc++-v3/include/ext/stdio_sync_filebuf.h Fri Jul 31 08:58:42 2009 -0600
+++ b/libstdc++-v3/include/ext/stdio_sync_filebuf.h Fri Jul 31 13:09:27 2009 -0600
@@ -163,7 +163,7 @@
diff --git a/gcc-mingw32.patch b/gcc-mingw32.patch
index 30bcc67..66782bc 100644
--- a/gcc-mingw32.patch
+++ b/gcc-mingw32.patch
@@ -233,3 +233,16 @@
#include <intrin.h>
#endif
+--- gcc-14.4.0/libstdc++-v3/src/c++23/print.cc.orig 2026-06-26 10:13:48.000000000 +0200
++++ gcc-14.4.0/libstdc++-v3/src/c++23/print.cc 2026-09-05 18:47:32.204164817 +0200
+@@ -38,6 +38,10 @@
+ # include <io.h> // _get_osfhandle, _open_osfhandle, _write
+ # include <fcntl.h> // _O_APPEND
+ # include <windows.h> // GetLastError, WriteConsoleW
++# ifdef _fileno
++ // ::_fileno is invalid when using macro
++# undef _fileno
++# endif
+ #elifdef _GLIBCXX_HAVE_UNISTD_H
+ # include <stdio.h> // fileno
+ # include <unistd.h> // isatty
diff --git a/gcc-types.patch b/gcc-types.patch
deleted file mode 100644
index 5c2ddf3..0000000
--- a/gcc-types.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc-13.4.0/gcc/m2/mc/mc.flex.orig 2025-06-05 18:02:59.000000000 +0200
-+++ gcc-13.4.0/gcc/m2/mc/mc.flex 2026-04-11 21:30:39.772934242 +0200
-@@ -326,7 +326,7 @@ handleColumn (void)
- static void
- handleDate (void)
- {
-- time_t clock = time ((long *)0);
-+ time_t clock = time (NULL);
- char *sdate = ctime (&clock);
- char *s = (char *)alloca (strlen (sdate)+2+1);
- char *p = index(sdate, '\n');
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-gcc.git/commitdiff/12a4f091288f15a7bce4dcb368a6489adfdfd19d
More information about the pld-cvs-commit
mailing list