From patchwork Wed Aug 5 16:03:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94623 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 B90A7C56203 for ; Wed, 5 Aug 2026 16:03:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.43651.1785945820398347781 for ; Wed, 05 Aug 2026 09:03:41 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=N30e0Ivw; 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 571D91476 for ; Wed, 5 Aug 2026 09:03:35 -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 E98953F632 for ; Wed, 5 Aug 2026 09:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1785945819; bh=yrNnpREIOYhM014D57OQ6tmkxj5r4Dq9j0WeKFIzmjg=; h=From:To:Subject:Date:From; b=N30e0IvwGuIogu9LxV0Da25tB8ubXGqOKRUHEuldi08aVkt8m0ROnixzD+lcWx3OD D0Ymqn0zJvMFGeOIaBA4YWBYhUPl/DsfdlXPoB9n8GP3IxatOL2R74oUyaj9XThzLg zwfWZQv6btWW5a0UzSxm3O0wEfw6t85DIyj9UlgM= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/4] oeqa/selftest/glibc: remove obsolete parallel make assignment Date: Wed, 5 Aug 2026 17:03:17 +0100 Message-ID: <20260805160320.41908-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 ; Wed, 05 Aug 2026 16:03:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242872 glibc doesn't use EGLIBCPARALLELISM so this didn't do anything. The glibc check target serialises timing-sensitive tests (nptl and rt) so this wouldn't have done anything meaningful anyway. Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/glibc.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py index a65afb1367e..b8efa22fdac 100644 --- a/meta/lib/oeqa/selftest/cases/glibc.py +++ b/meta/lib/oeqa/selftest/cases/glibc.py @@ -58,8 +58,6 @@ class GlibcSelfTestBase(OESelftestTestCase, OEPTestResultTestCase): features.append('TOOLCHAIN_TEST_HOST = "{0}"'.format(ssh)) features.append('TOOLCHAIN_TEST_HOST_USER = "root"') features.append('TOOLCHAIN_TEST_HOST_PORT = "22"') - # force single threaded test execution - features.append('EGLIBCPARALLELISM:task-check:pn-glibc-testsuite = "PARALLELMFLAGS="-j1""') self.write_config("\n".join(features)) start_time = time.time() From patchwork Wed Aug 5 16:03:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94621 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 8579BC55174 for ; Wed, 5 Aug 2026 16:03:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.43622.1785945820617489107 for ; Wed, 05 Aug 2026 09:03:41 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=lP0Qeb6N; 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 0FF8616F2 for ; Wed, 5 Aug 2026 09:03:36 -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 AC63A3F632 for ; Wed, 5 Aug 2026 09:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1785945820; bh=8C0fTEhWc8dZtsoIciskMMxNFGaq6JhncnuEpU4Uw+A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lP0Qeb6NMX2oGbgx6E/lyWok6JoGJ4sbOe+7OoAmh4MUEZdT8jLLOCqrdaSDmC8r4 1pkgirH3vQzxZc6adevITE+rD0N2V1GuNBurYnzTyCkU0o57jayWSi6xhvxNEjqYQ6 T6S4165S6fsYgZPDKVcYeb5pCDKDSDdMVTjPM0ss= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/4] glibc: remove obsolete parallelism flag handling Date: Wed, 5 Aug 2026 17:03:18 +0100 Message-ID: <20260805160320.41908-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260805160320.41908-1-ross.burton@arm.com> References: <20260805160320.41908-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 ; Wed, 05 Aug 2026 16:03:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242873 Several problems here: the comment refers to PARALLELMFLAGS (which is a variable in glibc's Makefile) but the actual assignment is to EGLIBCPARALLELISM, which is an eglibc-ism and thus not respected by glibc. Thus we were emptying PARALLEL_MAKE and so not actually doing the build in parallel. The Makefiles as of glibc 2.44[1] actually build in parallel well using the standard way to pass flags, so drop all of this logic. On my machine this has noticable improvements to walltime: do_compile: 86s -> 44s do_install: 55s -> 40s Note that there is a PARALLELMFLAGS variable in the Makefiles, but using it has marginal gains over not and upstream are looking at removing it entirely. [1] glibc 7cac99621e ("Makefile: Run the subdirectory recursion in parallel") Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc.inc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 560ebef677c..27a911dd8ff 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -29,13 +29,6 @@ CACHED_CONFIGUREVARS:append:mipsarch = " libc_cv_ld_gnu_indirect_function=no" GLIBC_EXTRA_OECONF ?= "" GLIBC_EXTRA_OECONF:class-nativesdk = "" -# glibc uses PARALLELMFLAGS variable to pass parallel build info so transfer -# PARALLEL_MAKE into PARALLELMFLAGS and empty out PARALLEL_MAKE -EGLIBCPARALLELISM := "PARALLELMFLAGS="${PARALLEL_MAKE}"" -EXTRA_OEMAKE[vardepsexclude] += "EGLIBCPARALLELISM" -EXTRA_OEMAKE += "${EGLIBCPARALLELISM}" -PARALLEL_MAKE = "" - # glibc make-syscalls.sh has a number of issues with /bin/dash and # it's output which make calls via the SHELL also has issues, so # ensure make uses /bin/bash From patchwork Wed Aug 5 16:03:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94624 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 91D0EC561E6 for ; Wed, 5 Aug 2026 16:03:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.43652.1785945821390548990 for ; Wed, 05 Aug 2026 09:03:41 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=CfmOTiGN; 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 C75BC1713 for ; Wed, 5 Aug 2026 09:03:36 -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 665DA3F632 for ; Wed, 5 Aug 2026 09:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1785945820; bh=Q+H4YxqYRr0F2HJZSP6kyR5qAJH5Wb6XaQoR/V7vfj4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CfmOTiGNraaL7HC/ybBNS3nNGuKppEw5mi0kNcyezm7de/BF/QA2Za0WBG4Evya3e Iiz7gttSPc/gr15IdEQRB3S/QmjZaninsg8f261uEYNzH5qIBUvhFXyhei4tAl6Ngm gux8C5uKoIDGBR8hud6ALvLFhkCDCWvPY5ZQS/K8= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/4] glibc: remove obsolete shell override for make-syscalls.sh Date: Wed, 5 Aug 2026 17:03:19 +0100 Message-ID: <20260805160320.41908-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260805160320.41908-1-ross.burton@arm.com> References: <20260805160320.41908-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 ; Wed, 05 Aug 2026 16:03:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242874 SHELL was set to /bin/bash back in 2012[1] because of non-portable use of echo in eglibc. As this non-portable use was fixed upstream in glibc in 2015[1] we can remove this override. [1] oe-core 9d002f7cdc5 ("eglibc: force make to use /bin/bash") [2] glibc 95b07fbcc7 ("Fix non-portable echo usage in sysdeps/unix/make-syscalls.sh") Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 27a911dd8ff..47c15c116d8 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -29,11 +29,6 @@ CACHED_CONFIGUREVARS:append:mipsarch = " libc_cv_ld_gnu_indirect_function=no" GLIBC_EXTRA_OECONF ?= "" GLIBC_EXTRA_OECONF:class-nativesdk = "" -# glibc make-syscalls.sh has a number of issues with /bin/dash and -# it's output which make calls via the SHELL also has issues, so -# ensure make uses /bin/bash -EXTRA_OEMAKE += "SHELL=/bin/bash" - # 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" From patchwork Wed Aug 5 16:03:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94622 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 71734C55ABA for ; Wed, 5 Aug 2026 16:03:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.43624.1785945822004248887 for ; Wed, 05 Aug 2026 09:03:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=pSzZ86Ry; 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 86B0D1476 for ; Wed, 5 Aug 2026 09:03:37 -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 298213F632 for ; Wed, 5 Aug 2026 09:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1785945821; bh=q36Rod5bwf3XMpzYp3snHGqunFVnxp/dET629kT4ClM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pSzZ86RyKSuGdhl60Jd85MNSC97028CUiRUvwyXW3GzSCqjyAu0V5RsfIHa3l4lJK tVLfEU3eMTUue4KQmCLTjEx2d6dlGVXVjNSUlZwDfnXFrTe0NEchVLZK1qFKplXVFq 3UYH5KmNVqsX+vIUPnhbgP+r/axL6oyPIC+6rlIU= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/4] glibc: remove obsolete KSHELL assignment Date: Wed, 5 Aug 2026 17:03:20 +0100 Message-ID: <20260805160320.41908-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260805160320.41908-1-ross.burton@arm.com> References: <20260805160320.41908-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 ; Wed, 05 Aug 2026 16:03:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242875 KSHELL was set so that tzselect uses /bin/sh instead of /bin/bash. This variable doesn't exist in glibc and instead we patch the script in 0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch, so we can remove this assignment. Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 47c15c116d8..16c18bd4b6c 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -29,10 +29,6 @@ CACHED_CONFIGUREVARS:append:mipsarch = " libc_cv_ld_gnu_indirect_function=no" GLIBC_EXTRA_OECONF ?= "" GLIBC_EXTRA_OECONF:class-nativesdk = "" -# 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" - TARGET_CC_ARCH:append:toolchain-gcc = " -fno-link-libatomic" SDK_CC_ARCH:append:toolchain-gcc = " -fno-link-libatomic"