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 2064530 - Rebuild qemu-kvm with clang-14
Summary: Rebuild qemu-kvm with clang-14
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Rezanina
QA Contact: zhenchao
URL:
Whiteboard:
Depends On: 2061041
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-16 05:37 UTC by Tom Stellard
Modified: 2022-11-15 10:18 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-7.0.0-4.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 09:54:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:
zhencliu: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src qemu-kvm merge_requests 92 0 None opened Fix build using clang 14 2022-05-19 08:32:13 UTC
Red Hat Issue Tracker RHELPLAN-115699 0 None None None 2022-03-16 05:40:43 UTC
Red Hat Product Errata RHSA-2022:7967 0 None None None 2022-11-15 09:55:46 UTC

Description Tom Stellard 2022-03-16 05:37:07 UTC
We will be updating clang to version 14 for RHEL9.1.  qemu-kvm should plan to rebuild with this new version for the RHEL9.1 release.  Let me know if you have any concerns about this.

Comment 1 Miroslav Rezanina 2022-03-16 13:55:20 UTC
As we are doing regular update this should be done natural way with first build after clang update.

Comment 2 Daniel Berrangé 2022-05-17 09:02:18 UTC
Looks like new compiler exposed a logic bug in migration code that needs this upstream fix:

commit f912ec5b2d65644116ff496b58d7c9145c19e4c0
Author: Dr. David Alan Gilbert <dgilbert>
Date:   Wed Apr 6 11:25:15 2022 +0100

    migration: Fix operator type
    
    Clang spotted an & that should have been an &&; fix it.
    
    Reported by: David Binderman / https://gitlab.com/dcb
    Fixes: 65dacaa04fa ("migration: introduce save_normal_page()")
    Resolves: https://gitlab.com/qemu-project/qemu/-/issues/963
    Signed-off-by: Dr. David Alan Gilbert <dgilbert>
    Message-Id: <20220406102515.96320-1-dgilbert>
    Reviewed-by: Peter Maydell <peter.maydell>
    Reviewed-by: Peter Xu <peterx>
    Signed-off-by: Dr. David Alan Gilbert <dgilbert>

Comment 6 Yanan Fu 2022-05-23 05:43:17 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 13 errata-xmlrpc 2022-11-15 09:54:33 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-2022:7967


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