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 - Misaligned symbol for s390-ccw image during qemu-kvm build
Summary: Misaligned symbol for s390-ccw image during qemu-kvm build
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.3
Hardware: s390x
OS: Unspecified
high
high
Target Milestone: rc
: 9.3
Assignee: Thomas Huth
QA Contact: bfu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-06 10:50 UTC by Nikita Popov
Modified: 2023-11-07 09:23 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-8.0.0-8.el9
Doc Type: No Doc Update
Doc Text:
Clone Of: 2216662
Environment:
Last Closed: 2023-11-07 08:28:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src qemu-kvm merge_requests 180 0 None opened Draft: Fix misaligned symbol error in the s390-ccw image during qemu-kvm build with binutils 2.40 2023-07-11 11:17:47 UTC
Red Hat Issue Tracker RHELPLAN-161678 0 None None None 2023-07-06 10:53:20 UTC
Red Hat Product Errata RHSA-2023:6368 0 None None None 2023-11-07 08:28:31 UTC

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


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