Bug 2127185 - mingw dlltool fails in (Wine) parallel build
Summary: mingw dlltool fails in (Wine) parallel build
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-binutils
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-15 15:12 UTC by eric.pouech
Modified: 2022-09-20 00:16 UTC (History)
7 users (show)

Fixed In Version: mingw-binutils-2.38-4.fc37
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-20 00:16:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Wine HQ 52770 0 None None None 2022-09-15 15:12:02 UTC

Description eric.pouech 2022-09-15 15:12:03 UTC
Description of problem:
just upgraded from fed36 to fed37 beta and parallel compilation of Wine broke

Version-Release number of selected component (if applicable):


How reproducible:
make -j in Wine fails

Steps to Reproduce:
1. get a wine source tree
2. ./configure
3. make -j

Actual results:
lots of errors steming out of *.cross.a files (generated by mingw-dlltool)

Expected results:
successful compilation

Additional info:
This has been analyzed (in Wine's BZ) and is actually fixed upstream in binutils (2.38 and 2.39)
Package in Fed37Beta still suffers from the issue.
In details:
- Wine compilation can call in // dlltool on the same DLL in the same directory (for example building import library and delay load library).
Regression was introduced in binutils by diversifying temp files based on input (== DLL name)

Requirement: backport binutils commit 99852365513266afdd793289813e8e565186c9e6 in fedora packaged.

Comment 1 Fedora Update System 2022-09-15 17:30:33 UTC
FEDORA-2022-c23d9530a2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c23d9530a2

Comment 2 Fedora Update System 2022-09-16 02:01:07 UTC
FEDORA-2022-c23d9530a2 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-c23d9530a2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c23d9530a2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 eric.pouech 2022-09-16 14:42:44 UTC
I can confirm that after upgrading to mingw-binutils-2.38-4.fc37 (with command from #2), the parallel compilation now works again as expected

thanks for your quick response

Comment 4 Fedora Update System 2022-09-20 00:16:45 UTC
FEDORA-2022-c23d9530a2 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


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