When installing a mingw-w64 toolchain (for example, via
`crossdev i686-w64-mingw32` or the like) one will end up with:
Using built-in specs.
Configured with: .....
Thread model: win32
gcc version 6.4.0 (Gentoo 6.4.0 p1.0)
One can manually use `EXTRA_ECONF="--enable-threads=posix" emerge -1 cross-i686-w64-mingw32/gcc` after rebuilding cross-i686-w64-mingw32/mingw64-runtime with USE=libraries (to get the pthread dlls) in order to obtain 'Thread model: posix'
It would be of use to either provide a USE flag for sys-devel/gcc to enable posix threads for mingw-w64 or just explicitly set the configure flag after the initial bootstrap.
*** Bug 760018 has been marked as a duplicate of this bug. ***
*** Bug 669856 has been marked as a duplicate of this bug. ***
*** Bug 766821 has been marked as a duplicate of this bug. ***
Is this still relevant?
(In reply to Andreas K. Hüttel from comment #4)
> Is this still relevant?
Yes it is, for instance if you want to build a mingw-toolchain to build dxvk libs. There is mingw64-toolchain as well, but if you were to use an old non-x86 server as a build-bot, you've still got to intervene manually.
Maybe a masked useflag for gcc can be helpfull?