Summary: | =cross-i686-w64-mingw32/mingw64-runtime-8.0.0 fails to build: configure failed for mingw-w64-crt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bob Wya <bob.mt.wya> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cross, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
cross-i686-w64-mingw32-binutils.log cross-i686-w64-mingw32-mingw64-runtime-headers.log cross-i686-w64-mingw32-gcc-stage1.log cross-i686-w64-mingw32-mingw64-runtime.log cross-i686-w64-mingw32-gcc-stage2.log |
Description
Bob Wya
2020-12-14 19:40:42 UTC
Created attachment 678292 [details]
emerge --info
Created attachment 678295 [details]
cross-i686-w64-mingw32-binutils.log
Created attachment 678298 [details]
cross-i686-w64-mingw32-mingw64-runtime-headers.log
Created attachment 678301 [details]
cross-i686-w64-mingw32-gcc-stage1.log
Created attachment 678304 [details]
cross-i686-w64-mingw32-mingw64-runtime.log
Created attachment 678307 [details]
cross-i686-w64-mingw32-gcc-stage2.log
> * EXTRA_ECONF='--enable-threads=posix'
Where does it come from?
gcc's pthreads can only be enable after mingw64-runtime provides pthread stubs. But it can't be enabled until gcc-stage2 is built.
(In reply to Sergei Trofimovich from comment #7) > > * EXTRA_ECONF='--enable-threads=posix' > > Where does it come from? Typically added because it's needed build dxvk, some wikis/overlays/ebuilds will ask users to set it. e.g. https://wiki.gentoo.org/wiki/DXVK I use =posix as well but haven't run crossdev script in a long time (portage been keeping my mingw toolchain updated without issues, formerly was with gcc 9.2.x but now upgraded to 10.2.0-r3), so won't confirm any issues. (on a side-note, =posix is _not_ needed for USE=mingw on wine, and there's many convenient ways to get dxvk prebuilt dlls) (In reply to Sergei Trofimovich from comment #7) > gcc's pthreads can only be enable after mingw64-runtime provides pthread > stubs. But it can't be enabled until gcc-stage2 is built. And right, this makes sense. I did not add this until I had the toolchain working myself. (In reply to Ionen Wolkens from comment #8) > (on a side-note, =posix is _not_ needed for USE=mingw on wine, and there's > many convenient ways to get dxvk prebuilt dlls) Useful to know... But I do like to be able to build dxvk as well. ;-) I think slyfox has a better handle on this than I do. I'll just watch from the sidelines. Let's dupe against older bug to provide some reasonable way to enable pthreads. *** This bug has been marked as a duplicate of bug 631460 *** |