GNU bug report logs - #78417
[PATCH 0/2] MinGW: Use winpthreads by default.

Previous Next

Package: guix-patches;

Reported by: Janneke Nieuwenhuizen <janneke <at> gnu.org>

Date: Wed, 14 May 2025 06:42:01 UTC

Severity: normal

Tags: patch

Done: Janneke Nieuwenhuizen <janneke <at> gnu.org>

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Janneke Nieuwenhuizen <janneke <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Carl Dong <contact <at> carldong.me>
Subject: [PATCH 0/2] MinGW: Use winpthreads by default.
Date: Wed, 14 May 2025 08:41:19 +0200
Using a version of mingw-64 with winpthreads, packages that support posix
threads, such as Guile, can be (cross-)built for MinGW with thread support.

Also, since gcc-13, a MinGW (cross-)compiler provides g++ with std::mutex when
built with a version of mingw-w64 that has winpthreads enabled.

Now that we are using gcc-14 for cross-builds, switching to MingGW packages
and a MinGW cross-build toolchain that uses winpthreads is probably helpful.

Greetings,
Janneke

Janneke Nieuwenhuizen (2):
  gnu: mingw-w64-i686, mingw-w64-x86_64: Use winpthreads.
  gnu: cross-base: mingw: Use winpthreads by default.

 gnu/packages/cross-base.scm | 16 ++++++++++------
 gnu/packages/mingw.scm      |  8 +++++---
 2 files changed, 15 insertions(+), 9 deletions(-)


base-commit: 5f5d84beccc180f1b51474c0e47eb6e0d0c9175f
-- 
2.49.0





This bug report was last modified 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.