Overview
Request 879716 accepted
- Update to new upstream release 8.0.0
* winpthreads: Always define `__USE_MINGW_ANSI_STDIO` to zero
* winpthreads: remove unused dwFlags variable in sched.c
* winpthreads: don't call SetThreadContext in winstore builds
* winpthreads: do not call GetHandleInformation in winstore build
* winpthreads: simplify the handle validity in pthread_check()
* winpthreads: always return 0 in pthread_check() if the thread ended is 0
* winpthreads: do not use the XXXExceptionHandler API in winstore builds
* winpthreads: simplify the USE_VEH_FOR_MSC_SETTHREADNAME check
Request History
jfkw created request
- Update to new upstream release 8.0.0
* winpthreads: Always define `__USE_MINGW_ANSI_STDIO` to zero
* winpthreads: remove unused dwFlags variable in sched.c
* winpthreads: don't call SetThreadContext in winstore builds
* winpthreads: do not call GetHandleInformation in winstore build
* winpthreads: simplify the handle validity in pthread_check()
* winpthreads: always return 0 in pthread_check() if the thread ended is 0
* winpthreads: do not use the XXXExceptionHandler API in winstore builds
* winpthreads: simplify the USE_VEH_FOR_MSC_SETTHREADNAME check
jengelh accepted request
I'll do the win32 part, then.
Submitting as part of mitigation effort for WSLDistroLauncher build failure in Factory (only):
mingw-w64-v8.0.0/mingw-w64-crt/misc/wcrtomb.c:35: undefined reference to `__imp_WideCharToMultiByte'
Additional steps to fix WSLDistroLauncher build may involve ensuring -lmsvcrt followed by -lkernel32 in gcc10+, and the motivation for this SR is to sync v8.0.0 of mingw64-winpthreads with mingw64 as a starting point.
If there are no impacted mingw64 dependent projects after review, please accept and forward to Factory.
Building WSLDistroLauncher with mingw64-libwinpthread1-8.0.0 and mingw64-winpthreads-devel-8.0.0 from this branch fixes the WSLDistroLauncher build failure on Tumbleweed.
This needs a complete update not just winpthreads, also needs to include win32.
The build failure(s) is (are) already resolved, without touching winpthreads or WSL. (Fixing mingw*-gcc was apprently enough.)