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 2023420 - glibc: Backport ld.so --list-diagnostics [rhel-8.6]
Summary: glibc: Backport ld.so --list-diagnostics [rhel-8.6]
Keywords:
Status: CLOSED ERRATA
Alias: None
Deadline: 2021-12-27
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.6
Assignee: Florian Weimer
QA Contact: Martin Coufal
mtimar
URL:
Whiteboard:
Depends On: 2023422
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-15 16:46 UTC by Florian Weimer
Modified: 2023-07-18 14:30 UTC (History)
11 users (show)

Fixed In Version: glibc-2.28-179.el8
Doc Type: Enhancement
Doc Text:
.New command for capturing `glibc` optimization data The new `ld.so --list-diagnostics` command captures data that influences `glibc` optimization decisions, such as IFUNC selection and `glibc-hwcaps` configuration, in a single machine-readable file.
Clone Of:
: 2023422 (view as bug list)
Environment:
Last Closed: 2022-05-10 15:17:47 UTC
Type: Enhancement
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-102822 0 None None None 2021-11-15 16:47:15 UTC
Red Hat Product Errata RHBA-2022:2005 0 None None None 2022-05-10 15:18:05 UTC

Description Florian Weimer 2021-11-15 16:46:53 UTC
In order to transition to x86-64-v2 in Red Hat Enterprise Linux 9, better diagnostics for missing CPU support are desirable. We should backport these commits:

commit 851f32cf7bf7067f73b991610778915edd57d7b4
Author: Florian Weimer <fweimer>
Date:   Tue Mar 2 14:38:42 2021 +0100

    ld.so: Implement the --list-diagnostics option

commit 01a5746b6c8a44dc29d33e056b63485075a6a3cc
Author: Florian Weimer <fweimer>
Date:   Wed Feb 24 13:12:04 2021 +0100

    x86: Add CPU-specific diagnostics to ld.so --list-diagnostics

And we should consider installing a symbolic link /usr/bin/ld.so that points to the architecture dynamic loader, so that users can just run ld.so --help (or use other ld.so features) without worrying about the precise hardware/ABI supported by the system.

Comment 1 Florian Weimer 2021-11-15 18:28:20 UTC
Upstream patch posted for the creation of /usr/bin/ld.so:

[PATCH] elf: Install a symbolic link to ld.so as /usr/bin/ld.so
https://sourceware.org/pipermail/libc-alpha/2021-November/133078.html

Comment 5 Martin Coufal 2021-12-15 10:11:28 UTC
Tested on glibc-2.28-179.el8.

Comment 9 Martin Coufal 2021-12-15 10:39:01 UTC
Verified on:
glibc-2.28-179.el8
RHEL-8.6.0-20211213.3

See test results in the attachments for details.

Comment 14 errata-xmlrpc 2022-05-10 15:17:47 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 (glibc 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:2005


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