Erik van Pienbroek schreef op wo 24-04-2013 om 20:13 [+0200]:
For Fedora 20 (scheduled fall 2013) I'm considering to replace
the old
mingw-pthreads package with the winpthreads library and enabling C++11
features like std::thread in gcc
We could perform this migration in two separate steps:
1. replace the old pthreads-win32 implementation with winpthreads
and have all pthreads-using packages rebuilt against it
2. build mingw-gcc with --enable-threads=posix
Step 1 only affects packages which directly use pthreads.
Step 2 is needed to allow applications to use C++11 std::thread
Hi everybody,
It's been a while since this subject was first brought up. Upstream
mingw-w64 developers are about to release mingw-w64 v3 which includes
winpthreads (as optional library) any day now. In the last couple of
days I've been helping out upstream mingw-w64 developers with
identifying and resolving the last known build issues, including all
winpthreads related build issues.
Everything seems to be in a good shape now so that brings us to the
question what to do next.
Officially we're already past the Fedora 20 feature submission freeze,
so we won't be able to announce the introduction of mingw-w64 v3.0 and
winpthreads using the Fedora 20 features list any more:
https://fedoraproject.org/wiki/Releases/20/ChangeSet
Due to this we won't be able to give this change full media exposure,
but other than that it shouldn't do us any harm.
Here is what I would like to propose:
For Fedora 20 and rawhide (F21):
- Update to mingw-w64 v3.0 once it gets released
- Introduce winpthreads and retire pthreads-win32
- Rebuild all packages which depend on pthreads-win32
(so that they start using winpthreads)
For rawhide only (F21):
- Build mingw-gcc with --enable-threads=posix
If there's a demand to also enable std::thread support in Fedora 20's
mingw-gcc then it can be considered, but it may require a mass rebuild
which is harder to achieve given that Fedora 20 is already using the
regular Fedora updates infrastructure and updates have to be pushed
manually.
If no complaints are posted on this mailing list before this Monday
evening I'll apply the proposed changes to both rawhide and F20.
Regards,
Erik