Proposal: winpthreads support for Fedora 20

Erik van Pienbroek erik at vanpienbroek.nl
Sun May 12 17:03:28 UTC 2013


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

The package review for mingw-winpthreads has just completed so we can
introduce winpthreads in Fedora now. However, the test mass rebuild
which was completed earlier today has shown that 5 packages failed to
build against winpthreads. Therefore I want to resolve these first
(together with upstream) and once all issues are resolved we can
continue with the real introduction of winpthreads in Fedora.

The current plan for the introduction of winpthreads is:
1. Perform a test mass rebuild using winpthreads (done)
2. Identify and resolve FTBFS packages
3. Import and build mingw-winpthreads in Fedora rawhide
4. Build mingw-headers with the flag bundle_dummy_pthread_headers
   set to 0 (to prevent a file conflict with pthread_time.h and
   pthread_unistd.h
5. Rebuild mingw-gcc
6. Rebuild all packages which depend on the old mingw-pthreads package
7. Deprecate mingw-pthreads
8. Block mingw-pthreads from the distribution (Fedora rel-eng)

The question whether to enable support for posix threads in mingw-gcc
(for C++11 std::thread support) can be discussed after the above steps
are completed.

Regards,

Erik van Pienbroek




More information about the mingw mailing list