RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2057638 - [el9] binutils on s390x provides non-working windres binary
Summary: [el9] binutils on s390x provides non-working windres binary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: binutils
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-23 18:56 UTC by Davide Cavalca
Modified: 2023-07-18 14:25 UTC (History)
6 users (show)

Fixed In Version: binutils-2.35.2-19.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:12:58 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-113341 0 None None None 2022-02-23 22:09:38 UTC
Red Hat Product Errata RHBA-2022:8281 0 None None None 2022-11-15 11:13:08 UTC

Description Davide Cavalca 2022-02-23 18:56:52 UTC
On s390x, the binutils package ships a windres binary, which is not included in for other architectures (e.g. compare the file list for binutils-2.35.2-17.el9.s390x vs binutils-2.35.2-17.el9.x86_64).

Unfortunately, this binary doesn't actually work, failing with

windres: Can't detect architecture.

This is problematic because windres is sometimes detected by autotools, leading then to failed builds like https://koji.fedoraproject.org/koji/taskinfo?taskID=83236147

Comment 1 Davide Cavalca 2022-02-23 18:57:13 UTC
This also applies to Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2057636

Comment 2 Nick Clifton 2022-02-28 11:05:41 UTC
Need to update the binutils.spec file so that the windres binary is not shipped.

Comment 3 Nick Clifton 2022-03-07 14:27:59 UTC
Fixed in binutils-2.35.2-18.el9

Comment 4 Miloš Prchlík 2022-04-11 07:19:59 UTC
Bumping ITM by one week to gain more time for testing. I got distracted by the fallout of the recent PSI outage.

Comment 8 Miloš Prchlík 2022-04-14 14:10:38 UTC
Verified with binutils-2.35.2-19.el9.

Comment 12 errata-xmlrpc 2022-11-15 11:12:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (binutils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8281


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