From patchwork Thu Aug 6 16:27:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94705 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C669C56208 for ; Thu, 6 Aug 2026 16:27:40 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.23853.1786033656921063685 for ; Thu, 06 Aug 2026 09:27:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=rgAP2PhI; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D42E9153B for ; Thu, 6 Aug 2026 09:27:31 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7B6E33F9A2 for ; Thu, 6 Aug 2026 09:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786033655; bh=ouf3suhtMX1ktXxC+M5zoJvFHpuY1EsqfJQ64/9nLuU=; h=From:To:Subject:Date:From; b=rgAP2PhI5BTGQB3oHOflIrctTbEvyPYhDZav69DZ+7H3hj2vjGM6TF43dSSgc+ICk SL3lSyYOqyQ5nuD5+Ly7szBjtDz4YmIIv64+66ydr/6XD8wBHnDpeg7W3/dEIKiUt4 D93vCPOI33vWNFIeo10XjzDSzz8PBb5ox2HiesyY= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/3] cross-localedef-native: prune patch list Date: Thu, 6 Aug 2026 17:27:28 +0100 Message-ID: <20260806162730.352060-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 06 Aug 2026 16:27:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242957 The cross-localedef-native recipe builds on top of glibc and drops in an autoconf tree to build just localedef. For some reason we're applying a partial subset of glibc patches that do not impact the localedef build at all, for example adding documentation or fixing nscd. Remove patches and other assignments that don't impact the build of localedef. Signed-off-by: Ross Burton --- meta/recipes-core/glibc/cross-localedef-native_2.44.bb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.44.bb b/meta/recipes-core/glibc/cross-localedef-native_2.44.bb index cf48b9c83bf..47018ff23b4 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.44.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.44.bb @@ -25,13 +25,8 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \ file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \ \ - file://0009-eglibc-Cross-building-and-testing-instructions.patch \ - file://0010-eglibc-Help-bootstrap-cross-toolchain.patch \ - file://0011-eglibc-Resolve-__fpscr_values-on-SH4.patch \ file://0012-eglibc-Forward-port-cross-locale-generation-support.patch \ file://0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ - file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \ - file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ " # Makes for a rather long rev (22 characters), but... # @@ -39,10 +34,6 @@ SRCREV_FORMAT = "glibc_localedef" EXTRA_OECONF = "--with-glibc=${S}" -# We do not need bash to run tzselect script, the default is to use -# bash but it can be configured by setting KSHELL Makefile variable -EXTRA_OEMAKE += "KSHELL=/bin/sh" - CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" do_install() { From patchwork Thu Aug 6 16:27:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94704 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DC11C56205 for ; Thu, 6 Aug 2026 16:27:40 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.23335.1786033657231887198 for ; Thu, 06 Aug 2026 09:27:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=jpV2sRkH; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8FB0016F2 for ; Thu, 6 Aug 2026 09:27:32 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 350343F9A2 for ; Thu, 6 Aug 2026 09:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786033656; bh=GUV8VeeJCLG2XktGR8POLqEKiShYTyl4OZ99lzEh+YM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jpV2sRkH0H7x0IJSPTHIVG+GZDZZQ6JFE/lpOAMIU3KvLY6Jtx0fNiM7vULcC9dmJ n071Yq76TIn9fPdyqC14hG2jH+lgw/QHweLSWPXmDRV3AKPt3YNQrOunnACSL1oMA8 7bRBr8aEhMbjmsZp/dBSZsBRYMQKHAO3S0017bQ0= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/3] glibc: update patch status Date: Thu, 6 Aug 2026 17:27:29 +0100 Message-ID: <20260806162730.352060-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260806162730.352060-1-ross.burton@arm.com> References: <20260806162730.352060-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 06 Aug 2026 16:27:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242958 Update the patch status of some submitted patches. Signed-off-by: Ross Burton --- .../0008-yes-within-the-path-sets-wrong-config-variables.patch | 2 +- ...6-Replace-echo-with-printf-builtin-in-nscd-init-script.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch index 91968abb8ce..bc6228ee7fd 100644 --- a/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch +++ b/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch @@ -9,7 +9,7 @@ false-positive matches with the path it is configured into. The change is to use a more elaborated string to grep for. -Upstream-Status: Submitted [libc-alpha@sourceware.org] +Upstream-Status: Submitted [https://inbox.sourceware.org/libc-alpha/1425394379-41448-1-git-send-email-benjamin.esquivel@linux.intel.com/] Signed-off-by: Benjamin Esquivel Signed-off-by: Khem Raj diff --git a/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch index fafcb74d68a..4b468a4633d 100644 --- a/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch +++ b/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch @@ -8,7 +8,7 @@ since it uses bash specific extentions namely (translated strings) and echo -n command, replace echo with printf and switch the shell interpreter to #!/bin/sh. -Upstream-Status: Pending +Upstream-Status: Submitted [https://inbox.sourceware.org/libc-alpha/20260806135239.1656089-1-ross.burton@arm.com/T/#u] Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- From patchwork Thu Aug 6 16:27:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94703 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DC55C5AC7C for ; Thu, 6 Aug 2026 16:27:40 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.23336.1786033657770567603 for ; Thu, 06 Aug 2026 09:27:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=QZIgubyd; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 476A01A25 for ; Thu, 6 Aug 2026 09:27:33 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E29833F9A2 for ; Thu, 6 Aug 2026 09:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786033657; bh=i5FHbChuYm0uvaXMUqONFT3dEtie9XrWM0f7GocQBK8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QZIgubydGVRGLrKiRItGgpWEi41284jbjdOpKJ5QPhDzGejWFJNLcAojQVd27wsMG il3OvQWZqNFuTf58ZjsFmihcqXQuLZC71Ma6dEA75FMtGxpubED9UfQ/SQY+/eoe3E wDUUuK+3ENzwMsXiJDwBWLGJF9nZxOkV6AMJFtA8= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/3] glibc: remove redundant tzselect interpreter option patch Date: Thu, 6 Aug 2026 17:27:30 +0100 Message-ID: <20260806162730.352060-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260806162730.352060-1-ross.burton@arm.com> References: <20260806162730.352060-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 06 Aug 2026 16:27:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242959 Patch 18 adds an option to replace the interpreter in the tzselect script from /bin/bash to whatever KSHELL is set to. However, patch 19 directly changes the interpreter to /bin/sh so this functionality never works. This is further cleanup based on a previous commit removing the KSHELL assignment[1]. [1] oe-core a9ffb0db9e7 ("glibc: remove obsolete KSHELL assignment") Signed-off-by: Ross Burton --- ...ell-interpreter-overridable-in-tzsel.patch | 47 ------------------- meta/recipes-core/glibc/glibc_2.44.bb | 1 - 2 files changed, 48 deletions(-) delete mode 100644 meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch diff --git a/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch deleted file mode 100644 index 46cca501001..00000000000 --- a/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch +++ /dev/null @@ -1,47 +0,0 @@ -From cd372730f78fd39949b1a0c119f7b2450a6706a8 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 9 Dec 2021 15:14:42 -0800 -Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh - -define new macro called KSHELL which can be used to define default shell -use Bash by default - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - Makeconfig | 9 +++++++++ - timezone/Makefile | 1 + - 2 files changed, 10 insertions(+) - -diff --git a/Makeconfig b/Makeconfig -index e7dbd9fb9e..fd62fdf49b 100644 ---- a/Makeconfig -+++ b/Makeconfig -@@ -309,6 +309,15 @@ ifndef sysincludedir - sysincludedir = /usr/include - endif - -+# The full path name of a Posix-compliant shell, preferably one that supports -+# the Korn shell's 'select' statement as an extension. -+# These days, Bash is the most popular. -+# It should be OK to set this to /bin/sh, on platforms where /bin/sh -+# lacks 'select' or doesn't completely conform to Posix, but /bin/bash -+# is typically nicer if it works. -+ifndef KSHELL -+KSHELL = /bin/bash -+endif - - # Commands to install files. - ifndef INSTALL_DATA -diff --git a/timezone/Makefile b/timezone/Makefile -index ce9abe6cb2..721fb70be4 100644 ---- a/timezone/Makefile -+++ b/timezone/Makefile -@@ -140,6 +140,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make - -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ - -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ - -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \ -+ -e 's|#!/bin/bash|#!$(KSHELL)|g' \ - < $< > $@.new - chmod 555 $@.new - mv -f $@.new $@ diff --git a/meta/recipes-core/glibc/glibc_2.44.bb b/meta/recipes-core/glibc/glibc_2.44.bb index 42ec8701e6b..b4a5fbf8c31 100644 --- a/meta/recipes-core/glibc/glibc_2.44.bb +++ b/meta/recipes-core/glibc/glibc_2.44.bb @@ -53,7 +53,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \ file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \ file://0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \ - file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ file://0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \ file://0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ file://0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \