From patchwork Tue Nov 25 08:40:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepesh Varatharajan X-Patchwork-Id: 75324 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 DC2F5CFD364 for ; Tue, 25 Nov 2025 08:40:27 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12844.1764060026423301165 for ; Tue, 25 Nov 2025 00:40:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=ZeNX5wjS; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=3424b42751=deepesh.varatharajan@windriver.com) Received: from pps.filterd (m0250809.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AP5onLl2878977 for ; Tue, 25 Nov 2025 00:40:24 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=cc:content-transfer-encoding:content-type:date:from :message-id:mime-version:subject:to; s=PPS06212021; bh=rXCLB4tDk DDl9edCluQjCqKRGLv1oPUByz/NdfhjzKE=; b=ZeNX5wjSsbnf0OiGu20AMnNiW eQtRZ7WJ3Lydj/C9DrNmzdC8/CtwBlWe0N3BCD6liDKuQue+HSybAIOKJv8YgoPL fpgw9C3/MhDZyUWDrsnA8lAdQbfqmo72KTKRgJnXoL7QHPKNSREBO8nGahMY+DGA W03vcO8sahe95FAy9tgAZtlCG2AiRFoOiS4bvMyxcoDz9Wo1agzILQ22QKQPJZvm sdk0ZBgY/YuOTf9FV4zL+waqKmBZbcsglHaDMUjmbjJe+9/IXJgop5VDbwqvgz1F iATojwnuKV+lR7d8qkpJtvQTtlES2S96Kz/gUakmhEWHXucBb62yQkFNfEJXw== Received: from sa9pr02cu001.outbound.protection.outlook.com (mail-southcentralusazon11013033.outbound.protection.outlook.com [40.93.196.33]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4akdjjahtm-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 25 Nov 2025 00:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bTog9FkyOwWtIYVgxHU+8dvI7PjQ21tPmeQHM6WD+YNRbASCvTiKj9zEF+PMureak896FaOkNcKjhVj1VHUD8AnWMd2eYMLa7Cfww6s4HPktjxi1b1qfjU12AaJ+MJeNYQYZ41a7wXDs0EicjHXi1CPuDs/z05SRUvuK5EWx5BvInyitLBriR+9qq27D69NEuLUhzxjefFCmcSAVbXKbCrhgcLANETp+SPy0cqh8BitUrta24hohhAjFCINYmAqRBqoAyJrOd9VFHXOqaFT6FkF7sEmTfS1kVextRY0ZmTrj4aXlOaUlLz2770yLkZrssg2CYNJKxfhk4oJFO9vMRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rXCLB4tDkDDl9edCluQjCqKRGLv1oPUByz/NdfhjzKE=; b=XpmdhrZPUiP9mg5kCf9FGZbhpc33uoPA+c1b91cMrkNWlgA42cgFrfWQ6LotemRvI9npWkNq3/L7/yFMuPLMk/PplzJtur+uOftWD/IZixjxGq+/Cr+CSHDg6sF3G8KZg8PDpD20lUPDyuREsz134bzb53rKETKJBuYVkFOrKsSg8ogMHaVKtbnLB361YrbQ6Qv3tw5ZuSNX87AXQ06IF0EHNckGwqkskUim2GYjsEsTjeMv5yYGec4Y6lJoE4Zi9aTXdc7NvxMlngIJohWaP+HV/NvhgReIExa/VrP31CiedDmA2UrPiRfhQ9uZMReFBAU9ARApD/Y3H58t9GnJ+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) by IA4PR11MB9249.namprd11.prod.outlook.com (2603:10b6:208:55f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.16; Tue, 25 Nov 2025 08:40:21 +0000 Received: from SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f]) by SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f%5]) with mapi id 15.20.9343.016; Tue, 25 Nov 2025 08:40:21 +0000 From: Deepesh.Varatharajan@windriver.com To: openembedded-core@lists.openembedded.org Cc: Sundeep.Kokkonda@windriver.com, Deepesh.Varatharajan@windriver.com Subject: [PATCH 1/2] glibc: Drop 0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch Date: Tue, 25 Nov 2025 00:40:04 -0800 Message-ID: <20251125084005.3939139-1-Deepesh.Varatharajan@windriver.com> X-Mailer: git-send-email 2.49.0 X-ClientProxiedBy: BYAPR01CA0072.prod.exchangelabs.com (2603:10b6:a03:94::49) To SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5648:EE_|IA4PR11MB9249:EE_ X-MS-Office365-Filtering-Correlation-Id: b9d792b6-d9bd-4ddd-62f0-08de2bfe44d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: HhKhqcJk7XPyZ922BnTI4yEBCzWc24hJLRyrJI8+lTJX/FipULb92xrjwZVOUi270xyEm4Eh604nRL0lkrBwHK1+nKx9krVijSP0faLrZ9Ufs6sW0PrmRt79IDjfV5FuIfNp7rP2LIpbCBxbYZTK98icSkWKm77uu/IPjqAUGIVUoPB5A1Oi6pfar4V5KA1NZhdS/IXyemW/zcEd5q13UcFSio2EdPNnVe/WO3R9MODIBS9FveCWgepy3smYNbawAFq9ccgXMqt4FFPYSjh3inaifdadS/pPkVVc027IX4V7P/W37c7/Rriu7Ak5Xwf1sUaFSpWmYxdradijmsb6SDlsXinyC+3XChSkPC+MJqD5qy9XdufUfJMNYEAnz2rIN1O4TQAvMHUc/ZuT/NULH2SQ0nQ8tztMV/myyHIqeO4CpcgqQ03yhPsUwSXzytxEIr00YPz1j2X27/iNs/YrsIeTAISYxCke2cMKet/sT8FNMZLyg3tLdFWyZGrYG2wy4FzMuM3St3YbFb2lRs81dy6rIEH8FWLqo2Ro8HUQEq8NrCw9qfdr0hdneMhbOlRBUYk3HXcMv1u4A7Qc0xhCf8pmDT8oKWuhR1iWo8B/I83xaPv9golWL4B7HtYkt8ul64YN8vu5YGUK7HbpkNB4d0AyA/ryozO/YFhR/GuyR/5wRDYPQkLyZ1vGJI/CBXpbtsMA49oxfb5zwwAcwWl3NUCGXgENkoaMdI5IT08ZXMtpwn3VfKprgQYSdbT4vdvxnrDBMOBMn3Ee3zWl3fwJhoiOSDCGSZu4MV0u17KBRCZhD3NCyxXM5A23EdvLMtz3fYDB9CemhukYSTAQIyn3Y4JXv7f2+lB838yqzcv5BwZzYAmzr8mYt81eGzERLrJQEHztP0cPtLg3HsawsXPyJ18yimpPto56cPzKD8UxFiybF6DpylEFjYKb87RNKXhoncrREOePGfd7U6TMGihnaoOxOhN4MffCCpCid10lEniIPR9pRVsrjEH1aUqtitg99igHcHZBvHBsMXrrRPu1WR6GoVs65hi3W4BPAv66F+FEHBdiFXrnGIyT1h0mwPyuBUB49TvEJz+qLwwfGgxlyNCnI3e6ZiLOqLHiQ9w47+Aw4lRY+wtc4zgnhrT7/7aqKeqV31ovw+QNOqBJxl4n7KSLF0DUpadrVxW8OMM9gJyHIVtRvYShiEFS/GS5HtJdZmbru8U7zbOV5IZL0ij7b7Qbm1DYK3de58IB/smp0a2ITKTowlf4uy6+sMdrqClKRmLofM0ayAMRsvufdTU/wH8oPDDXFVvqgEkjD4+awSzrpIwU+ztd4ZGh249acW5FbfqKmrh2H1gOio3Tbq7kvJoZpI91cDlx1NRv7smIc99H7LSx0iYP0i0wgDeLy16RpwVCI+SCHV2G1c8bUk66bWGsf9IT9r5MjsDVpRe81z27Hwu5WkqpTZ+werKET273BlFdRbD4N3+vfmnftkMgzk65XSK2HpPYj272LcpvGNHvmpPusLNwZpdJQh9wu9RD X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5648.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Vrut6aW00PJcDOSIRSI73z3iUtq/1SJYwMUu1TAfeQB604dTZVVDx9Rq7F1Wgya1J0dyYUthheVCF/MJLsvHQ2DG87d3UROhodUCr9HOp/jo49aatrAdMosf1ctoQduUWPf64u5N3Dl95khfm6zAfEAGMyJc4PcUt1aAPzaaGtvPi8hLzZdWjBlQcV3TBomLNYkOrppOh8FxC3JTmu4d+0xJ64QQMOE3eB+yUU/lNL3bcqxeDrbwzpEjwHvSrGLWR3/R66V62MMmB6xyEijRQYGl9gYsYWOiJQM9scKDMB2ScMxaSgDos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j/PYYsThdqKHVnU2iTcUjlYmAW0HJ+yt3RUSR3xagYOOTHQCRi8c4PzFZILJYsGJ/mqjW77X3kBYYq806ljKQCAamrWep+j1nV7LpM0VP3/+KVntpuTCNFFv0qNWXwZrpfd75A9w+3dduOIpSQTXrE8RhSUetsqFXVDS1+grFslBn0thcu8AhkERIGu83vbZMByru+tcGBemUvfA1eIvZYtFbIKt/8up0lhQl1ieoKnOByc= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9d792b6-d9bd-4ddd-62f0-08de2bfe44d0 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2025 08:40:21.1011 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 53wHVpgRij1kPrfdfYY1ENmq3lsT/1AoZ9RNf6EmTvLxXrN9EGz628JkWEoR3E1CIAoLantCBEnUzJtTTb81rn1mfflSKjD1QgTiAVL/E7J2p/qFpUy07IydMxKd1qCY X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA4PR11MB9249 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTI1MDA2OSBTYWx0ZWRfX7wgvHOV3EBfp XUouelroIh9ozSpgdVOYne/oZGKzD3GStW5iDXQeMmshKZAIcURPYhE8UJ7+pmLZa29PWhFd8L/ Ftt5toYdNFl9FJKu/w99NfFUw0XfyyAaLnNHfOOqtbrSkLfGnb54zEsHIK/qM80PPJIP4lNYkbE b03902SlkPfGbI0cAwaWITbXigvitisCwcyi46FttTzyiSAJ03X/cdsJW8GxV//T5P0Fn9OhY2r UqRzxy8WdX06FYFLeOnRR+xC43L4kYQC5k8oDKvXE6irjcHRIYlMTJZQqpAweBk+ad2ANEaWJVC 6dF+h9XaEfQwdmsW32Ghh+44OqAhNoxUsgaG5vmyf0xnsGrCMOQHQYFTiRQyrMJH4SWwV75J1B0 np7dzvQXXOE9FsSTfgwulDToaCJNkA== X-Proofpoint-ORIG-GUID: _bQFXOXYghsFcF4t-6UxiGn08oCTohVP X-Authority-Analysis: v=2.4 cv=Wq8m8Nfv c=1 sm=1 tr=0 ts=69256b78 cx=c_pps a=uZgmHucj+isDzLb5E5/Wlw==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=6UeiqGixMTsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Q4-j1AaZAAAA:8 a=t7CeM3EgAAAA:8 a=ag1SF4gXAAAA:8 a=pGLkceISAAAA:8 a=adCOz0Hf_mvQUfQZd30A:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 a=Yupwre4RP9_Eg_Bd0iYG:22 X-Proofpoint-GUID: _bQFXOXYghsFcF4t-6UxiGn08oCTohVP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-25_02,2025-11-24_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 malwarescore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511250069 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 ; Tue, 25 Nov 2025 08:40:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/226754 From: Deepesh Varatharajan This patch was originally added to replace pwd-derived paths in glibc test binaries with fixed Yocto paths (e.g., $(oe_srcdir), $(libdir)/glibc-tests/ptest/tests/glibc-ptest) to fix the repro issue with run-ptest script(no longer exists in master). In the current master: run-ptest script and the glibc-y2038-tests recipe were dropped via the following commit https://git.openembedded.org/openembedded-core/commit/meta?id=fbe3679ba3c12c52a502511f5dde91fb4de7a6b6 Glibc tests now run via check-test-wrapper, which dynamically configures environment, sysroot, and library paths. The hardcoded paths from this patch conflict with dynamic path resolution, causing some tests to fail like error: xdlmopen.c:28: error: dlmopen:/usr/lib/glibc-tests/ptest/tests/glibc-ptest/*: cannot open shared object file:No such file or directory Reproducibility is confirmed to remain intact without this patch. Since it no longer provides benefits and interferes with correct test execution, the patch is being dropped. Testing results: before after diff PASS 6937 6943 +6 XPASS 4 4 0 FAIL 72 66 -6 XFAIL 16 16 0 UNSUPPORTED 108 108 0 Signed-off-by: Deepesh Varatharajan --- ...build-time-paths-in-the-output-binar.patch | 32 ------------------- meta/recipes-core/glibc/glibc_2.42.bb | 1 - 2 files changed, 33 deletions(-) delete mode 100644 meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch diff --git a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch b/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch deleted file mode 100644 index 9fa5d471ad..0000000000 --- a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 662d544fbed823b9bf917058762ddb54bcee5f07 Mon Sep 17 00:00:00 2001 -From: Richard Purdie -Date: Sun, 24 Jul 2022 07:07:29 -0700 -Subject: [PATCH] Avoid hardcoded build time paths in the output binaries - -replace the compile definitions with the output locations. - -Upstream-Status: Inappropriate [would need reworking somehow to be acceptable upstream] - -Signed-off-by: Richard Purdie -Signed-off-by: Khem Raj ---- - support/Makefile | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/support/Makefile b/support/Makefile -index d41278eeab..657769418e 100644 ---- a/support/Makefile -+++ b/support/Makefile -@@ -238,9 +238,9 @@ libsupport-inhibit-o += .o - endif - - CFLAGS-support_paths.c = \ -- -DSRCDIR_PATH=\"`cd .. ; pwd`\" \ -- -DOBJDIR_PATH=\"`cd $(objpfx)/..; pwd`\" \ -- -DOBJDIR_ELF_LDSO_PATH=\"`cd $(objpfx)/..; pwd`/elf/$(rtld-installed-name)\" \ -+ -DSRCDIR_PATH=\"$(oe_srcdir)\" \ -+ -DOBJDIR_PATH=\"$(libdir)/glibc-tests/ptest/tests/glibc-ptest\" \ -+ -DOBJDIR_ELF_LDSO_PATH=\"$(slibdir)/$(rtld-installed-name)\" \ - -DINSTDIR_PATH=\"$(prefix)\" \ - -DLIBDIR_PATH=\"$(libdir)\" \ - -DBINDIR_PATH=\"$(bindir)\" \ diff --git a/meta/recipes-core/glibc/glibc_2.42.bb b/meta/recipes-core/glibc/glibc_2.42.bb index f9c1cdc2f1..b33d1b44ba 100644 --- a/meta/recipes-core/glibc/glibc_2.42.bb +++ b/meta/recipes-core/glibc/glibc_2.42.bb @@ -51,7 +51,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ file://0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \ file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ - file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ file://0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \ " From patchwork Tue Nov 25 08:40:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Deepesh Varatharajan X-Patchwork-Id: 75325 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 CF035CFD315 for ; Tue, 25 Nov 2025 08:40:47 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12847.1764060041886628033 for ; Tue, 25 Nov 2025 00:40:41 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@windriver.com header.s=PPS06212021 header.b=nXuuWAvq; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=3424b42751=deepesh.varatharajan@windriver.com) Received: from pps.filterd (m0250809.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AP5IZOj2825827 for ; Tue, 25 Nov 2025 00:40:41 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= PPS06212021; bh=1Ld23zU6vqc4oW8nG1YSeBO/PKJ321Bo06majjtxEig=; b= nXuuWAvqkHhG3OClQkMPh/tKcTtF1YVZVXYJT7JK6xiBjH0evDSkXYywvQGEqFKk r8dPU/Av68VnmcnyvgmpQBppvGGvP7MsItzq1h92QZFpb6vIcO3zpAb+NVHBMtK/ h/aveHRGrHfqO8axZkVob5YaaR+GlwdQ+4Q9T9zmKEvIGkOuhOwHhuGzOgaiBNIE Fle/PMa1nusF59dACB3Yv5Lp3337qzJa2dLb9pvqucFwS8fHgdHcW2yIB/D0gfYK oX3DuskO/kSW8EzkVgp0Wx1GYqrvQX8ZciWAASZqXSwWxmYjiZV4GAEDCC3vS3DU v5nd0GsGbNoluYipDz+/xg== Received: from sa9pr02cu001.outbound.protection.outlook.com (mail-southcentralusazon11013054.outbound.protection.outlook.com [40.93.196.54]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4akdjjahuj-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 25 Nov 2025 00:40:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=u6gRq9A0rjczqSR052IJ9MyMGfRPwzEtc031Wypxo1imm9QCZSsz+15xG8Mn47flUx/MxNPCCYVc31mVJ+iI3Ujo31pNeWFqCqLrEKZoM97W4zqkhFrGuAWjLkv8a9GWXQ/2A9f+hfcMuofVEN7l3nhYjG54J9WM276dqC/OM5PV2pBmMVXfjZ/LV+oxEI4zuTcljn6AF5wQsDDZCUpvrFeDaRHlJhxMriY330uN3X9WT4l0QgzEwqzoQ3yDnBgqJHcWh72uAYYj3Iv41YBG5oy76GEqFP1xnOMUAreCu30UnlrCY/IrN0L1nt/OnXDCYcElh3NWWxzv1LwpUWu0qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1Ld23zU6vqc4oW8nG1YSeBO/PKJ321Bo06majjtxEig=; b=P4xLSf1cdzNnSLcLusqupWSuktY+NQXVnVJIHslP8+LimHcatIVka5yPpX9UxrT6FEBs6sqZ0Sl2fmZTGPVV4D86Yqs9nb1E0v+mUcNc1WrgGz3LnKWsh9p+rpzem34eft6AkwtmhRe1uvAtCsWUEB4Iu18CmLutaV0AgswwwsvJVmxAP+2TOE8oXo4CTij8n3+s8j+cMiAgVKvHV68xPmvTbaUY1XA2nWvnBa6h1x87VeNwrPZ14BxrJ2J2Ubm9rQ48QxsyT50zVM/8DPoFxFxqmXH3ex+Qj+UpEhZdDwlXeg1Ua62n4TM22fQms0ddv1ZyXJYl5F81uq31izZeWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) by IA4PR11MB9249.namprd11.prod.outlook.com (2603:10b6:208:55f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.16; Tue, 25 Nov 2025 08:40:37 +0000 Received: from SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f]) by SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f%5]) with mapi id 15.20.9343.016; Tue, 25 Nov 2025 08:40:37 +0000 From: Deepesh.Varatharajan@windriver.com To: openembedded-core@lists.openembedded.org Cc: Sundeep.Kokkonda@windriver.com, Deepesh.Varatharajan@windriver.com Subject: [PATCH 2/2] glibc: Enable NFS local file locking for glibc tests Date: Tue, 25 Nov 2025 00:40:05 -0800 Message-ID: <20251125084005.3939139-2-Deepesh.Varatharajan@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251125084005.3939139-1-Deepesh.Varatharajan@windriver.com> References: <20251125084005.3939139-1-Deepesh.Varatharajan@windriver.com> X-ClientProxiedBy: BYAPR01CA0072.prod.exchangelabs.com (2603:10b6:a03:94::49) To SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5648:EE_|IA4PR11MB9249:EE_ X-MS-Office365-Filtering-Correlation-Id: 519dbc7b-7522-47f9-33c9-08de2bfe4e8e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?y1RmtkrimalPpBxqr8NcR/jUT8GhW7I?= =?utf-8?q?iWaB0+wZAAsc9NNlU07GUaFQ4v2O1p5DjLXp2hkfklwYrB5uXjHkehGcSjtn/yX8Z?= =?utf-8?q?pCx+7iy1C17NB2N9vB/+/t5hYiH1HdF0+e9BvSKJktbGtdo5aS/KJ1pEKKEi8IuTo?= =?utf-8?q?GHsfhlb1b7jSpoH+KzqbpP1ECkEjmeIE4W/Niahun1MUyyJhHAmLCYvPCi1zQEEXm?= =?utf-8?q?71+SermifKuJGTzP/f1wecuEpRTcM8ITI6abl258pAcbJRnyaPVngYa304udph+x7?= =?utf-8?q?q2Y8e7Id14+cnIFDnPQ7fMEipL2o0y0ML/xHxqwguFXwsb7uuneFqwMbiU5+rFSYN?= =?utf-8?q?hxwZ/n//8qckXIzj6ScslBHDBqCkk8NaNXRS3INqSxB4Q4+mbAndpgHsSjHB9QCHV?= =?utf-8?q?Ob/EverCuOVOXRoxV1KrqYEx8zAzvTMP5HQmaWbegt00CjtsSj7m6BabRdLASaVHt?= =?utf-8?q?Mf6W+v6nQBPV/XWlRVIIeQ58a40G50iDq+JBhA2SHPIyNbkeXvi5obIDftk2OCrDv?= =?utf-8?q?v0rEZ8sDOkD2V5beN/22zwzdbtRlh485e65T75JXlFO6PifZze8A2m84fN8zSh6iL?= =?utf-8?q?e8lJw8u6r+ermOuzWNAhZXP1QIVRemayEC8SDyGRcwjnFwOYczE1CQ2XcC8F7rkwo?= =?utf-8?q?vUf6mT7gG04al8YEsKAgX47FcbvitdGFL7PoR8Vy1c1W6rD4hGmtJoZyFWwIzo3CD?= =?utf-8?q?gVcqCKwhk8JD5KJTnr7TLsypx3EiefyBVAGPyBrZnzcD9xhtw+ljBpbuYpNGjFtpm?= =?utf-8?q?Uzo4kK1UbVGNmbq035GFGRfej7AU3tx5pQhD2BzUdF8PRW0qLUkgu9vR/TL+GWqqj?= =?utf-8?q?lr8XyPelN2tyC1HF8YrTQtmCpk6HnPfFpaLiGlH7AlP0Qjs3ruXKVzVK2AYm1SR3v?= =?utf-8?q?uCQOeEYjTKjJ91yQmhWvgXwNigVyMnNBKsm0dVxF3PFqLRWavFzaw6vq1dWdb+d2R?= =?utf-8?q?KpDlHb8lo2AikPIP+O7g2PjtcHTq19Q5rOI6K4Q0IVuuha/Ikh6YFf3JhQwo3vv8/?= =?utf-8?q?me7PXtNDiDb/DZvJl+4grgDec3TvYSL9NQr8N02rdzBbyOGQE+X7y3Myr0YJiO3At?= =?utf-8?q?SL6iABzbIrUY28mWL7rNSbJ87kPEzOrec9vNEztu0eI7NC1GwayuSudEMmZ2Ir7aF?= =?utf-8?q?9j5oq9Da6o359gflB+JGdP0bOYeorgVH1FZ7MGSKJEq8UDY7CY28q4M9nT9/jXWrj?= =?utf-8?q?aq3rQUs7DUPyvId/GmzDCNNzA+kwNMZtvSgZRY2/JZF5LW17QoEx8IJTZi7F5nRQP?= =?utf-8?q?1Z31u8BhE4Cc7Cphe8lS0FXk3jHF7ceDVe3rlme8X74CPRlNmRky6DZP0dgLv2uB2?= =?utf-8?q?KcpTN47+JrqrY9wkE/sWJ0Ilfrwdc/QkhaFfkIC3akUPFwPnskbam51nZITiZf/Jo?= =?utf-8?q?xqSLfmAlzuOl2aTjCfsNPO2KP2lzd1HkjiXBJ5DjuHVIh8YcP8s9iVCoS9LmBXv7G?= =?utf-8?q?L6A/H+B75E?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5648.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-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nSsRuM5znAkL4f?= =?utf-8?q?/yz/QsWa6E0roDEpIy0LUM/uHr4zZT5RiDO5PCUQVh1ICgVFXmHKpxw5kBklCbG97?= =?utf-8?q?50XXaZBrE8idCHEp9bZF0UqjcdTUE2LR1yhrBg9tW1mV25mA5WXDOrPZauuFkGFw6?= =?utf-8?q?oOg3r/7lrubWdFgorXaB3LvXaXaZfzU+nvnQoNGzu3bFFLIrnMa/BtNN5ZWEj9xiC?= =?utf-8?q?hiEEvoyj4WnqMhrWNOTbLJDcocm58AzmcV3LIq3jV2KIuy6vNUjctAa4KazG7sYBZ?= =?utf-8?q?9xtOzDcms48lFBhRAtuVx3jsKE1YZz/Ixns2OM3rr1lu1hACTuRhT3K+hiAn0/VOc?= =?utf-8?q?rUFm01QX4wSds5VPX2T82KPwufI9SRbmeL2UEZsKRojHkncZ6lS72OvYhnCdIEeiX?= =?utf-8?q?YkydnalhXxqiZkL+JEDQkBJe+zj8tDLmb2Hu+6K5Bw8ID6Jf7q89fmQ5NWm0JrEUX?= =?utf-8?q?Em/FCcCFhrDws1D7vNFVyWvAJyfAsRhljO6eCdEkEOH9ZkrUc2iH3U+X4haGvqC4n?= =?utf-8?q?Wjp52zbIyxiaA+F53jc1naXDtLwxXX7sqAqxvvP+wfiVLYJDPDHTuyOJdZpn+sx55?= =?utf-8?q?cin7/T45+LJdCJ2cK8siesZxXccDhTKyLYAwTLx0i/svaRYEHXiTawrdiHcT3oTFO?= =?utf-8?q?origQzPG24Ar6wj5XSNyHsmXCdOgiTGnEZAQ9yZyFz0xF1mptRUmMhJs1HDBuMdRq?= =?utf-8?q?Oztw68ivltJ4fT4GYqzgfHmyybiUJNztsgNMmurncDX6x1AlnZeGhjc=3D?= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 519dbc7b-7522-47f9-33c9-08de2bfe4e8e X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2025 08:40:37.3669 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UMNaavJgWphCjzmRk1xLClE+zRb+bseINnXf16y9HrkY7pw90AiS79SBmtJD1SEQfSjR9UbSi+C21+mPMvLHAJ05X8dT9py7BdlC26IkvUjQg8HE5Sx1CBZCZ0djdogG X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA4PR11MB9249 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTI1MDA2OSBTYWx0ZWRfXzAQWoV7GTW89 +AR1rNCLr9P23f5Yd8uqG0I8ToQyOOFG0mhDtzZqlQ5mSwW9CVi8gsnMulTJOR1pftSbVNt26Bs onFHXuPxuSjqytEHUn6QU9ObhWR6m4AJl5qACXI81+GlSaN7rYtPjFks7Ii5M89oXukOqT5SwT6 UH3vtZ6v0CGoedb7UUAxjmrYFD16dHSeQK5nSzcOpLdOnPXIvN/QjKHUq5r3lpe3QiaIC+xNwto y/BGXC3lSE97ZkGoop7ldZpTlJ0CYZ8iALGLcgw7TGkcT1t5QKAhbi+zLGQ2X69BUc4m3jxxB22 O58mGL1wzjLEQroggDfrLxLh/us5sH8VQ8R2bWkUtp+bDs/oDTpu5h7zuJDFe6Nk+YdrE5uRQs5 RIFjchfK9fkHIPrDDYuioNu57H9amg== X-Proofpoint-ORIG-GUID: C7p81epL_rR64I5jmqMkypvVZk0Dp6Cy X-Authority-Analysis: v=2.4 cv=Wq8m8Nfv c=1 sm=1 tr=0 ts=69256b89 cx=c_pps a=S/uo/C2bPHUhgLefKkPNaQ==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=t7CeM3EgAAAA:8 a=R3pyMazuGKP45Se3O5AA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: C7p81epL_rR64I5jmqMkypvVZk0Dp6Cy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-25_02,2025-11-24_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 malwarescore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511250069 X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 5AP5IZOj2825827 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 ; Tue, 25 Nov 2025 08:40:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/226755 From: Deepesh Varatharajan Some glibc tests in oe-selftest were failing with error: test-container.c:837: Cannot lock testroot The issue came from test-container.c, which creates testroot.pristine/lock.fd and uses flock() to coordinate test execution. The lock file itself was created successfully, but flock() failed only on the NFS-mounted test directory, while it worked everywhere else inside QEMU. The root cause is that the default NFS mount options used by oe-selftest implicitly set local_lock=none, which disables local file locking on NFSv3. With this setting in place, every flock() call on the mounted directory failed with ENOLCK (“No locks available”). Switching the mount to use local_lock=all restores local file locking on NFS and allows flock() to work as expected. With this change, the locking-dependent glibc tests run successfully. Testing results: before after diff PASS 6943 6968 +25 XPASS 4 4 0 FAIL 66 46 -20 XFAIL 16 16 0 UNSUPPORTED 108 103 -5 Signed-off-by: Deepesh Varatharajan --- meta/lib/oeqa/selftest/cases/glibc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py index bd56b2f6e7..0838e8ac33 100644 --- a/meta/lib/oeqa/selftest/cases/glibc.py +++ b/meta/lib/oeqa/selftest/cases/glibc.py @@ -79,7 +79,7 @@ class GlibcSelfTestBase(OESelftestTestCase, OEPTestResultTestCase): # setup nfs mount if qemu.run("mkdir -p \"{0}\"".format(tmpdir))[0] != 0: raise Exception("Failed to setup NFS mount directory on target") - mountcmd = "mount -o noac,nfsvers=3,port={0},mountport={1} \"{2}:{3}\" \"{3}\"".format(nfsport, mountport, qemu.server_ip, tmpdir) + mountcmd = "mount -o noac,nfsvers=3,local_lock=all,port={0},mountport={1} \"{2}:{3}\" \"{3}\"".format(nfsport, mountport, qemu.server_ip, tmpdir) status, output = qemu.run(mountcmd) if status != 0: raise Exception("Failed to setup NFS mount on target ({})".format(repr(output)))