Bug 1889044 - MinGW Threading Support
Summary: MinGW Threading Support
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-w64-tools
Version: 33
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-17 06:53 UTC by Seth
Modified: 2020-10-17 09:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-17 09:08:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Seth 2020-10-17 06:53:42 UTC
Description of problem:

MinGW cannot compile with threading support.


How reproducible:

Try to compile DXVK. https://github.com/doitsujin/dxvk/issues/1795


Additional info:

For non debian based distros, make sure that your mingw-w64-gcc cross compiler 
does have `--enable-threads=posix` enabled during configure. If your distro does
ship its mingw-w64-gcc binary with `--enable-threads=win32` you might have to
recompile locally or open a bug at your distro's bugtracker to ask for it.

Comment 1 Sandro Mani 2020-10-17 09:08:39 UTC
You just need to install mingw64-winpthreads

Comment 2 Seth 2020-10-17 09:29:14 UTC
Last metadata expiration check: 0:40:33 ago on Sat 17 Oct 2020 04:48:21 AM EDT.
Package mingw64-winpthreads-7.0.0-2.fc33.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Comment 3 Sandro Mani 2020-10-17 09:32:09 UTC
Looks like you are linking statically, also install mingw64-winpthreads-static in that case.

Comment 4 Seth 2020-10-17 09:44:00 UTC
Thanks that worked.


Note You need to log in before you can comment on or make changes to this bug.