Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2220866

Summary: Misaligned symbol for s390-ccw image during qemu-kvm build
Product: Red Hat Enterprise Linux 9 Reporter: Nikita Popov <npopov>
Component: qemu-kvmAssignee: Thomas Huth <thuth>
qemu-kvm sub component: General QA Contact: bfu <bfu>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: bfu, clegoate, emachado, jchecahi, lijin, smitterl, thuth, tstellar, virt-maint
Version: 9.3Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 9.3   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-8.0.0-8.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2216662 Environment:
Last Closed: 2023-11-07 08:28:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikita Popov 2023-07-06 10:50:52 UTC
This bug was initially created as a copy of Bug #2216662

I am copying this bug because: This also affects RHEL 9.3, which also has Clang 16 using Binutils 2.40 via gcc-toolset-13. The Clang update is currently failing the qemu rebuild validation gating test due to this issue.

I believe a backport of https://gitlab.com/qemu-project/qemu/-/commit/7cd50cbe4ca3e2860b31b06ec92c17c54bd82d48 for RHEL 9 would fix this.

-----

When trying to build qemu-kvm package for ELN, build for s390x is failing with following error:

/usr/bin/ld: warning: start.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/usr/bin/ld: start.o(.text+0x8): misaligned symbol `__bss_start' (0xc1e5) for relocation R_390_PC32DBL
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:61: s390-ccw.elf] Error 1

This problem is happening with rawhide version (binutils-2.40-9.fc39, clang-16.0.5-3.fc39). When using F38 version (binutils-2.39-9.fc39, clang-16.0.5-1.fc38), build is successful. In addition, build is successful using gcc too (both rawhide and f38).

Reproducible: Always

Steps to Reproduce:
1. Prepare srpm from CentOS 9 stream qemu-kvm (https://gitlab.com/redhat/centos-stream/rpms/qemu-kvm)

2. Try to build this srpm
Actual Results:  
Build is failing on s930-ccw rom image build.

Expected Results:  
Build pass

Comment 9 bfu 2023-07-27 05:57:54 UTC
since already did the verification by using official package for pre-verified, set this bug as verified

Comment 11 errata-xmlrpc 2023-11-07 08:28:05 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 (Moderate: qemu-kvm security, 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/RHSA-2023:6368