--- glibc-2.36/elf/dl-version.c.orig 2022-07-30 00:03:09.000000000 +0200 +++ glibc-2.36/elf/dl-version.c 2023-01-05 00:26:06.757658528 +0100 @@ -362,7 +362,7 @@ /* When there is a DT_VERNEED entry with libc.so on DT_NEEDED, issue an error if there is a DT_RELR entry without GLIBC_ABI_DT_RELR dependency. */ - if (dyn != NULL + if (0 && dyn != NULL && map->l_info[DT_NEEDED] != NULL && map->l_info[DT_RELR] != NULL && __glibc_unlikely (!map->l_dt_relr_ref))