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.
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
Tested on glibc-2.28-179.el8.
Verified on: glibc-2.28-179.el8 RHEL-8.6.0-20211213.3 See test results in the attachments for details.
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