Subject: bug#78417: closed (Re: [PATCH 0/2] MinGW: Use winpthreads by default.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 23 May 2025 07:41:02 +0000

Your bug report

#78417: [PATCH 0/2] MinGW: Use winpthreads by default.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
78417: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78417
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH 0/2] MinGW: Use winpthreads by default.
From: Janneke Nieuwenhuizen <[email-masked]>
To: [email-masked]
Date: Fri, 23 May 2025 09:40:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Janneke Nieuwenhuizen writes:

> 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.

Pushed to master as 99ba2814d13331231f2b79603c91987d5976de3e

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <[email-masked]>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com

Subject: [PATCH 0/2] MinGW: Use winpthreads by default.
From: Janneke Nieuwenhuizen <[email-masked]>
To: [email-masked]
Cc: Carl Dong <[email-masked]>
Date: Wed, 14 May 2025 08:41:19 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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