diff -U 3 a/dl-cache.h b/dl-cache.h --- a/dl-cache.h Thu May 14 01:13:16 2020 +++ b/dl-cache.h Thu May 14 01:19:49 2020 @@ -27,6 +27,9 @@ size_t len = strlen (dir); \ char path[len + 4]; \ memcpy (path, dir, len + 1); \ +add_dir (path); \ +} while (0) +#define unused_var \ if (len >= 6 && ! memcmp (path + len - 6, "/lib64", 6)) \ { \ len -= 2; \ diff -U 3 a/ldconfig.h b/ldconfig.h --- a/ldconfig.h Thu May 14 01:13:16 2020 +++ b/ldconfig.h Thu May 14 01:20:00 2020 @@ -18,9 +18,7 @@ #include #define SYSDEP_KNOWN_INTERPRETER_NAMES \ - { "/lib/ld-linux.so.2", FLAG_ELF_LIBC6 }, \ - { "/libx32/ld-linux-x32.so.2", FLAG_ELF_LIBC6 }, \ - { "/lib64/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 }, + { "/lib/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 }, #define SYSDEP_KNOWN_LIBRARY_NAMES \ { "libc.so.6", FLAG_ELF_LIBC6 }, \ { "libm.so.6", FLAG_ELF_LIBC6 },