Cache information in x86_64 ld.so --list-diagnostics output (RHEL-21997)
Scratch build is clean, except for the kernel bug that misreports z16 as z900 in AT_PLATFORM.
Resolves: RHEL-21997
Merge request reports
Activity
Starting check jobs. Status at https://centos.softwarefactory-project.io/zuul/t/centos/status
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
- Resolved by Carlos O'Donell (Red Hat)
While this is a custom downstream-only backport it does the minimal required to get
ld.so --list-diagnostics
working on RHEL8. It is very minimal and reuses the existing static functions incacheinfo.h
to a very good purpose; we recompute early in ld.so the values we are going to compute in libc.so.6 but only for the purposes of printing diagnostic information and the code is safely shared between both built objects. It also doesn't add the L1/L2/L3 values to the output because they aren't there in RHEL8 today and that's a future enhancement that belongs only in RHEL9.Reviewed-by: Carlos O'Donell carlos@redhat.com
requested review from @codonell-rh
Build succeeded. https://centos.softwarefactory-project.io/zuul/t/centos/buildset/a18b24c605fb419a821f7d6e72f9d72c
- mock-build https://centos.softwarefactory-project.io/zuul/t/centos/build/fbad300a784b47f8b0d2e9f951036ead : SUCCESS in 36m 48s
- rpm-rpminspect https://centos.softwarefactory-project.io/zuul/t/centos/build/7fde4a00a75146b783dd55071867eae9 : FAILURE in 33m 05s (non-voting)
- check-for-sti-tests https://centos.softwarefactory-project.io/zuul/t/centos/build/94e158c3d118431b9a629f0e8bdce097 : SUCCESS in 22s (non-voting)
- check-for-tmt-tests https://centos.softwarefactory-project.io/zuul/t/centos/build/57eff1db479d4bc3abdb8596afd5f5d6 : SUCCESS in 21s (non-voting) Skipped 2 jobs