With LD_TRACE_LOADED_OBJECTS=1, fake objects cause the new (default) dependency sorting algorithm to crash.
One way to reproduce this: dnf install java-17-openjdk ldd /usr/lib/jvm/java-17-openjdk-17*/lib/libnio.so With the bug present, ld.so crashes with: Inconsistency detected by ld.so: dl-sort-maps.c: 239: _dl_sort_maps_dfs: Assertion `rpo_head == rpo' failed! Or fails with exit status 1 (as seen on x86_64). With the bug fixed, the output contains two “=> not found” lines. Note that this reproducer is not completely reliable and may stop reproducing the bug due to OpenJDK changes etc. But ld.so is expected to produce some output for valid ELF objects (no crash).
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 (new packages: glibc), 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:3917