From b17792c52cd6ddc1600bd10f7df5e2c74056f19f Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 17 May 2022 20:17:45 +1200 Subject: glibc: Reinstate support for the bundled ports Commit 6d5227b6 ("Remove obsolete glibc 2.12.1") removed supports for the separate glibc-ports but also removed GLIBC_USE_PORTS_ADDON. Glibc versions up to 2.20 bundled support from some architectures in the ports directory so GLIBC_USE_PORTS_ADDON is required to support these older glibc versions. Fixes #1736 Signed-off-by: Chris Packham --- config/libc/glibc.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config') diff --git a/config/libc/glibc.in b/config/libc/glibc.in index e7cfe0a2..0658a154 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -113,6 +113,15 @@ config GLIBC_HAS_PORTS_ADDON_EXTERNAL config GLIBC_HAS_LIBIDN_ADDON def_bool y +# Some architectures require the ports addon. List them one by one here: +# This list must be carefully in sync with the architectures names +# we can find in config/arch/* +config GLIBC_USE_PORTS_ADDON + def_bool y + depends on ARCH_ALPHA || ARCH_ARM || ARCH_M68K || ARCH_MIPS || ARCH_POWERPC + depends on GLIBC_HAS_PORTS_ADDON + depends on !GLIBC_USE_ORACLE + config GLIBC_USE_NPTL_ADDON def_bool y depends on THREADS_NATIVE && GLIBC_HAS_NPTL_ADDON -- cgit v1.2.3