]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
glibc: remove obsolete EGLIBC_KNOWN_INTERPRETER_NAMES
authorRoss Burton <ross.burton@arm.com>
Wed, 5 Aug 2026 16:23:46 +0000 (17:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Aug 2026 10:20:08 +0000 (11:20 +0100)
EGLIBC_KNOWN_INTERPRETER_NAMES is assigned in glibc-ld.inc, and then
in do_patch() the magic string OECORE_KNOWN_INTERPRETER_NAMES is replaced
with its value.

OECORE_KNOWN_INTERPRETER_NAMES was removed in the glibc 2.37 upgrade[1]
as the relevant code was removed from glibc[2], so this is now obsolete
and can be removed.

[1] oe-core 1bba40755c8 ("glibc: Upgrade to 2.37 release")
[2] glibc 8ee878592c ("Assume only FLAG_ELF_LIBC6 suport")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-ld.inc
meta/recipes-core/glibc/glibc_2.44.bb

index 0fb8d090bc2967082245458df4d067ec8e5a6b8e..3b984587dde61168323ac8f9b0c2f8578b508f55 100644 (file)
@@ -14,7 +14,6 @@ def glibc_dl_info(d):
     infos['lddrewrite'] = ' '.join(sorted(infos['lddrewrite']))
     return infos
 
-EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}"
 RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}"
 RTLDLIST:class-nativesdk = "${base_libdir}/${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', 'ld-linux.so.2', d)}"
 glibc_dl_info[vardepsexclude] = "OVERRIDES"
index c629b308275897fabd0c72d2e125619359b17b84..3734646eaebc13023362a7fa7cffb397ede6cdd3 100644 (file)
@@ -91,14 +91,6 @@ PACKAGECONFIG ??= ""
 
 PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd"
 
-do_patch:append() {
-    bb.build.exec_func('do_fix_readlib_c', d)
-}
-
-do_fix_readlib_c () {
-       sed -i -e 's#OECORE_KNOWN_INTERPRETER_NAMES#${EGLIBC_KNOWN_INTERPRETER_NAMES}#' ${S}/elf/readlib.c
-}
-
 do_configure () {
 # override this function to avoid the autoconf/automake/aclocal/autoheader
 # calls for now