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 <[email protected]>
---
meta/recipes-core/glibc/glibc-ld.inc | 1 -
meta/recipes-core/glibc/glibc_2.44.bb | 8 --------
2 files changed, 9 deletions(-)
diff --git a/meta/recipes-core/glibc/glibc-ld.inc
b/meta/recipes-core/glibc/glibc-ld.inc
index 0fb8d090bc2..3b984587dde 100644
--- a/meta/recipes-core/glibc/glibc-ld.inc
+++ b/meta/recipes-core/glibc/glibc-ld.inc
@@ -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"
diff --git a/meta/recipes-core/glibc/glibc_2.44.bb
b/meta/recipes-core/glibc/glibc_2.44.bb
index c629b308275..3734646eaeb 100644
--- a/meta/recipes-core/glibc/glibc_2.44.bb
+++ b/meta/recipes-core/glibc/glibc_2.44.bb
@@ -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
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242878):
https://lists.openembedded.org/g/openembedded-core/message/242878
Mute This Topic: https://lists.openembedded.org/mt/120612983/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-