From patchwork Wed Dec 10 10:17:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76156 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 DD7ECD3C52B for ; Wed, 10 Dec 2025 10:18:31 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12531.1765361907826841888 for ; Wed, 10 Dec 2025 02:18:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=qxnxIPAi; 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.178.238, mailfrom: prvs=4439ea1cec=yash.shinde@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BA6A2AZ128616 for ; Wed, 10 Dec 2025 10:18:26 GMT 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=Z5I0CGjhc ehZdyFJfOV1doSSLH/BbgOHb6nhd2WTbU0=; b=qxnxIPAi0qDQKwPWmGfwpIgAQ 13n/vcguEBRyR8neT46tvHj2ojTBMxhLoqPtWlOaOsREZZZHb4spfTL2t+mcY8jT TYP+hIhf/oUap+7qOZZrjUdJDl+CDhqcpc3C2JoFxt22Az5eYMT2zIzlqrNyJn7A SVq6t/C5PNdn2F4Yo5dJY8ahXtrOPFIHepYbMNhjHltucg1mcfeqbIZ++M1PDPSy YDY6OhWHOX0egYyeESFnYnBm1dqE29cc7zKtEaNQuZgF65PayClNZ2gI7+qtBq2x 9z4C0+ZhFaa8oBMmB6ozIHWkk3YW+p15vUvRKWfKCCgrqRPpVJXhvLMgjpB3g== Received: from mw6pr02cu001.outbound.protection.outlook.com (mail-westus2azon11012024.outbound.protection.outlook.com [52.101.48.24]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay07hrd2b-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 10 Dec 2025 10:18:26 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=W2UgMTouEaqh2cl+yyPVy89aViNBbE1XYG9Pr0Ua1X9Dby1BJa8n37kfF4Jgsno2Reh9S5RjkAw9GfxVcm3b/ftjrxcoFzZOhf8RAkSd2M4vuiIDlxfuzRFeU2oB4wkcGy313sPbBFaXsEDASSHfWHORvR3fEQ4uigHBGKM/WwVOUHR6kgMdLHPw0hmSNtG+BKLuDrmI/3x7v7/78Q8tkARoGTMEFNgLrjEmfRYs4QTg5lVR13klLleenJ5VflSx0eIF/fo7M8a1+0gEXmc1txmJWKbLQirE1VATfBxjDn2arD6d30xSYcJ/KP/r2YHyC39iq607CNWtRRTZyQc7tw== 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=Z5I0CGjhcehZdyFJfOV1doSSLH/BbgOHb6nhd2WTbU0=; b=P0fndKcSm7ORf1U9Ajzdgp/svR3ItZlNzzr4GV7AuuqpcwfSY2H2IWEO06XZmKLIVg10rrmFfXJZKEci02EJv6VFuwcgHGrYtC6D+K6Pbx6i5vsUP+e7aL72b24wHj3AcqomOxFDGtyyBk0S/fgZ+YdbwGIvwEAJDaYSiITZBsQrLKHalz1qjCb/rxmQyIj4AiMGKXdSSmBVO1ZVhHooQxg3XIqa33SLYalapgPHYZX1xVmFhsU+Q7GuGvJE1pxOCdA76BGQFvmpbYwx1Bhlnc2+jgWtWypRvK5Falww3dkbh9rKTgDY9ty/6rrdmWDzxXKGMBDPhR5Dpa2YOyrFPA== 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 PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) by PH0PR11MB7562.namprd11.prod.outlook.com (2603:10b6:510:287::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.8; Wed, 10 Dec 2025 10:18:23 +0000 Received: from PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc]) by PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc%5]) with mapi id 15.20.9412.005; Wed, 10 Dec 2025 10:18:23 +0000 From: Yash.Shinde@windriver.com To: openembedded-core@lists.openembedded.org Cc: Randy.MacLeod@windriver.com, Sundeep.Kokkonda@windriver.com, sunilkumar.dora@windriver.com, Yash.Shinde@windriver.com Subject: [PATCH 1/5] rust: add missing zlib and zstd dependencies Date: Wed, 10 Dec 2025 02:17:59 -0800 Message-ID: <20251210101803.1120711-1-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 X-ClientProxiedBy: SJ0PR05CA0185.namprd05.prod.outlook.com (2603:10b6:a03:330::10) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|PH0PR11MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: e6627887-156b-49ad-6446-08de37d5731d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: 8Yo3hNlqcAv4ze3jTWFgOsmD6FHTaTPzIXDmnxfGzc96/KjNFkPu04EyVwRbdUWMZNq72Bkih034lzM0QIqxfwTjTeYdyUidZvemgvrN83H2zf53ANYdL/cpluG6of1O35D6ddhG+f7x/DPYf0R/yPAy0o2FDXSh1a/YHC9h4l4Tv0ILpfU1MeWzLaAYiUtupM5hd/oWIhi9KXfquHTWCaHNXsl8ikEmalu4W6M3vfO0107CBtV0oQS5xQqMIuwgh2ISdBfAYh83K+TzOn2ixc6TwnYcbcUMli97uHxy43YRi6XK9j4CcGBsnpfz7zYnjQHJm5npdjRZSPX3rDwlXtU2me5W5BODfz9UKbLSOkBJBAlEPQUvbKDA4E0x0jFj5jVPgFcqf3iwmOL978VvTvL3WxDuN/Eed4MeKnrZmGAJIp7++NJhRt9U90GmQGgP+wk9cNmYiMtHlchYnx3LWcmmlyqDJEAIHFxJfAF8OZJ2EnbPfaM+AEzJS8Wd5wEOrlqjL3lyr0egLr8t2kruGPrdrRqaXF4e1wzGRjzAkg7mP1703HF9cLtbSnI6yffLDeElCejLqhqBy6LNYSesX6h3gxGAfs/CYMuVeuhh0F1ufJU05b8fDNb1NlEc1RWjX0xy2g5jASsW8xH/p3ROLL4nJMv/OMO+aSeUZgKQQNdZjFkTWwwenadXwcvO1tHl4Nz/q9bieoIPac6OQ6/lnulIxXssa/n4jLGHBcTV9pdEn+UyslAX/Ujpu9y5PTpYRPnv2P3CgQ380PzGfUHKFiyWiV279qZGOGj6YVCfwSSHcDiKyB64hVOjcVzQlW6zBUnm4MpAKQpZE7UhpXvwYBQBSUfZ7ShedHSfwFy2tKs0a52fljDGOoCtA80Onl0LjVKBrxkSUPRIbLXN21mvsMko4vWYNk7a+crJLlstwkC1K7UjHcD+1ujCqd9LnRfE92o+T4lVZH+QYv/hlvW5OMJ3bPa4bBWCjeC3eKS6KidojshvdLN/t+icrzSfFKe+rm+curK/Jq5GEr+iSNB69TtSmFXN7tTQPS52teFdOfrDxR85gKGzGczAp9mfwqgG0hfYCC5qCF62FbNnbRgBAI/oA2NSfsoJDRe2aOOS2oJl91kKUniU1+tsVNneZfiAyGRfK983amJkHy4BIeYrL6LDgS3v/anwo9P66dyeX9EELrum7k9m0AOPNhtuwp+cQJTOvlvCQp82S4PhSAnNqcHHq3zTb+xwLFlmjEu2qutaRqKEjuBEWErHxdqGohnGbF+ddSVpCnIN69KiHi8W/15ccuUs6r/6hsAsMUTIpWi3TQ24/IPABjBOajXsSYrUp4DxmNnQT2FOHyImqAhYUbPrd9NRtxa/wCwXPOtqFosGIPApu4Qg/+ozDEVPLQX4cScmcOAjQUzoRn8j679BJagbRVFmIHX98Y7HGLlaFRiV/NsC+1mQXCoPX+90wtEZJ86n4kOdq9eeFjgXby/Mmk8fgq5+CnRYl/iatJ8sxlJ/wwsVtxNtmxYIzwvn8zbx X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB7593.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lBtOYwLSHL9OAyHsAgJ6rKVJFziXWpm26saQQ3kWf6hLYaITMUrxYoH9KaOg78s3dp9XWSJsV32HwxW+pQaWBg8olfRwRBMWZuwz95Xx16aXq/GS6ZJGDlO0TYRn4D8cCTmvfc8DXjcYSSXxOnLr4HhufE0ybU+GQWt9lKq2G2FQ8rjlpgB/BoSf3jISqiQVQPmBdqZda97mm+dKHZvfqO2OE15yBYDbfEVt/rz0JL7x+0A+HJt0YOA4rBqhTk7HqlfpQet8q1QAURu9ixSH2N41uyEh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TgLm8R1PLdjvu6vmgm/w1Q9issxhwp0X/V7iENV7x+GcSWs+ml9LZtCUdy7SnHxLzkjjmH3AybNTGf9PGMkxEXtY37oEZi9VNbK3/poP61l0gJzGfiAgOfk4JWwrESb9XZWc8n6j4Tclg0DClWYEGGD0bjlT4F33+tDok3oTjLpE2er9f8uW/pzdLVRCSPiiXZQNZRhDvQBMTojrJSGQ7Yum8HAhJ4r/cW6yAP1vemqq0Cm9f86JAPfv0S5f1rAI4yv3tqdKr5qUIw1366VnuwU7nC5S0g== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6627887-156b-49ad-6446-08de37d5731d X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2025 10:18:23.3626 (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: 3yMP9VNv49MbJWF3fExhOALWbhIQ+QJC8URwHn6BiyOWFvAgBqNsb7B5fDFaJGJ9jbhZlaMbmasCMCl14grkjcbpE8OIYugO9g6mb6G8dN8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7562 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjEwMDA4NSBTYWx0ZWRfX0rcxjWey7VQ2 Z5QkzKfI5LVFLb3Gac8xI10r/K7fJoDLwrku+bhwxXH65ICo/HEDURtolF4vHZ1ofASnv9ZnAO9 nEBAxoxbdVwXjAfoAicrPjw0oZPnMc+Rm7VRQVbCCY2HXIQlVRnU7yjtqHuFTQm6xtwsbyVvaCZ ueI9k5Ij83yWhQHZDnHkPDfbkJ6rTzxMZqcq+ZrirlqvBk7w+Feku9spa+v4Yl9pDyqUttPnPsu dl1HkwdR1Q139KfcBFuyFRMK1m/QtOIdbCGgfwJA2FUi6BWoIMJ7Pbj9V6D4FaXVKKLHfltfUWu bXieGIVspf6rm8aaLd3fW+YO9lhVYHSrUqtSBSVC2Ta/0b9XR0rb03iMBK4jsnVZNRb/kYKKVSV NgQPIZcODSt2zGonM4binCcS6wlZNw== X-Proofpoint-ORIG-GUID: i0S25OlXpxkKpPCmhDxHYibnE05ydtmk X-Proofpoint-GUID: i0S25OlXpxkKpPCmhDxHYibnE05ydtmk X-Authority-Analysis: v=2.4 cv=dbyNHHXe c=1 sm=1 tr=0 ts=693948f2 cx=c_pps a=0dUMnQhOFwHl/g2jU5Tm3A==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=a_U1oVfrAAAA:8 a=t7CeM3EgAAAA:8 a=nfL57PFk8sWjUCby0-EA:9 a=FdTzh2GWekK77mhwV6Dw:22 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-12-09_05,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512100085 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, 10 Dec 2025 10:18:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227461 From: Peter Tatrai Rust's internal LLVM requires zlib and zstd compression libraries when building rustc_codegen_llvm and other compiler components. Without these dependencies, building Rust for target fails with linker errors: error: linking with `target-rust-ccld` failed: exit status: 1 = note: undefined reference to `compress2' = note: undefined reference to `uncompress' = note: undefined reference to `ZSTD_decompress' = note: undefined reference to `ZSTD_isError' = note: undefined reference to `ZSTD_compress2' = note: undefined reference to `crc32' This manifested in oe-selftest failure on qemuppc: oe-selftest -r rust.RustSelfTestSystemEmulated.test_rust Additionally, this was observed while testing with other targets as well. Signed-off-by: Peter Tatrai Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/rust.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index 31222e2456..01a98339a6 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py @@ -47,7 +47,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): bitbake("{} -c test_compile".format(recipe)) builddir = get_bb_var("RUSTSRC", "rust") # build core-image-minimal with required packages - default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"] + default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp", "libzstd"] features = [] features.append('IMAGE_FEATURES += "ssh-server-dropbear"') features.append('CORE_IMAGE_EXTRA_INSTALL += "{0}"'.format(" ".join(default_installed_packages))) @@ -124,7 +124,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): cmd = cmd + " export RUST_TARGET_PATH=%s/rust-targets;" % rustlibpath # Strip debug symbols from test binaries to reduce size (300+ MB -> ~140 MB) # PowerPC mac99 QEMU has 768MB RAM limit, so we need to minimize test binary sizes - cmd = cmd + " export RUSTFLAGS='-C strip=debuginfo';" + cmd = cmd + " export RUSTFLAGS='-C strip=debuginfo -Clink-arg=-lz -Clink-arg=-lzstd';" # Trigger testing. cmd = cmd + " export TEST_DEVICE_ADDR=\"%s:12345\";" % qemu.ip cmd = cmd + " cd %s; python3 src/bootstrap/bootstrap.py test %s --target %s" % (builddir, testargs, targetsys) From patchwork Wed Dec 10 10:18:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76157 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 DD575D3C529 for ; Wed, 10 Dec 2025 10:18:31 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.12324.1765361908273440096 for ; Wed, 10 Dec 2025 02:18:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=BOCI7IzU; 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.178.238, mailfrom: prvs=4439ea1cec=yash.shinde@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BA6A2Aa128616 for ; Wed, 10 Dec 2025 10:18:27 GMT 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=uEzm/WtXxnAQpQF3SnKJHZ9pCrGtOyeBI3F56JS2lmg=; b= BOCI7IzUX+kQ2sTTZ/Db75uIYG3IIdeYlnMg7u4Y3cQmrAkeoDNPNKnid06eamAf ai4WcThQiH7XoQR+9l9QcCUV+kO5doh+GKT6oDIADdYbao+5q4GEBP/atDuQtRdw 9LQHF43nejAlg0tq5wdR0G1qeIXEHuxQnK4y9T69lSTke5LFZLOTynF0ni/x8qm9 bqEJsfUUrGJI3TMcyWZtNeSyQ7GjgdQNyH20O7KHJjFmdDis2VjIIRqSlszqGUtp maS3e5UU0A+dOieOfoU7CmsjdLbv6W8vw8j2GWL2JRLNQZDOwEOr75kMzi8JcLEZ 0u5bEER5zyBiB2ELGpU/XA== Received: from mw6pr02cu001.outbound.protection.outlook.com (mail-westus2azon11012024.outbound.protection.outlook.com [52.101.48.24]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay07hrd2b-2 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 10 Dec 2025 10:18:27 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=D4zQSfuU9uuKMqK7ltB9BqaZw1y5Tv8e1GXIKOu1r6Bun24qoCdX58980S2UZnnQLkzLE0NY6KqOB1HvUHVvN73gk3RA6j7s3zv087fgggdn84XMCe0cW5u1uV9Rk/kTPTrIGTgSbIn14y4uaP762IofXL0xN605wYHGPbk1fXuDYV+L3QThgI2zU6pH8xNdFmyvjjw4CCr8jAf3BVwnvsotJsUTWCVNEURQEgrxqUNBahdDgDr6D43eSuumbQuygb0Fzmsk/cc7XeJN8V/SppJDW8z6vrUTLBwLCo/V5lULOKRONi6jQsRemjUyPo3WSYnDWhA7VmIathFjMjs9XA== 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=uEzm/WtXxnAQpQF3SnKJHZ9pCrGtOyeBI3F56JS2lmg=; b=ikaEbw6izY9nzwu5FwH3Rh5WGoEcNN6I+QtZ3g/3k65QzrGHxCJz/fjlio/pYKXYee9qsHVDLnCdIKpL9QokNNJ8fP4oRo4qPMQkIqYyU5m9BwrqvFZJTuROFMxnkfu+3xzB5qoFUyHxy3ZzcgiXiQtCG4NI6coRmgTdRcFG42dCGLae5yDvExo4NSkEqWU7vR30c5tWI6J3uf2ZTt9vk3/IkyQm0mIqN6JcQ6ON20zhszstbZPWLqU56quvy48cQf6Dkh6bspJZGEhHJLv739/SmMw88zkcQlfYMZc+lX9PDm9D+060v1ClDAAdm0FOu4jgbQD2cyI7mtFzPdqWog== 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 PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) by PH0PR11MB7562.namprd11.prod.outlook.com (2603:10b6:510:287::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.8; Wed, 10 Dec 2025 10:18:24 +0000 Received: from PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc]) by PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc%5]) with mapi id 15.20.9412.005; Wed, 10 Dec 2025 10:18:24 +0000 From: Yash.Shinde@windriver.com To: openembedded-core@lists.openembedded.org Cc: Randy.MacLeod@windriver.com, Sundeep.Kokkonda@windriver.com, sunilkumar.dora@windriver.com, Yash.Shinde@windriver.com Subject: [PATCH 2/5] rust: Exclude tier-check and fix openssl-sys build error Date: Wed, 10 Dec 2025 02:18:00 -0800 Message-ID: <20251210101803.1120711-2-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251210101803.1120711-1-Yash.Shinde@windriver.com> References: <20251210101803.1120711-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: SJ0PR05CA0185.namprd05.prod.outlook.com (2603:10b6:a03:330::10) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|PH0PR11MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c2f836b-ca33-466e-74a8-08de37d57365 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: 7+vmh9u3Ho8kktbMPy4bJU+FzWegHlKGMmXxiqz1OafSlfLvILUQNJlLO4OappR5fGwlSNdcH5ghCtyZMrLcai8I0UHi960i2Hkr1BfGrVA5JuXu8r5HHk+GqQcdlWOqbX90ZMfX3Wvw+afnflq31mg16IlPXrKWkzx+b+vSk+6MdEETBCF/3DK1f4KWAWU26X/Biom14AWoBmzkfFSwJ5wTSSKKSAIkzOFGMeq7B9zL/HLHcX+ojO1chTdSvA4tw4c54pathS4XWBMPIYMhqygILDNq5DGTnJOOXID3crlHZbNkXnS/leA8ur9EDCmjIqClJn+VifUKZHWsQes3LsAxuhtG1rZLosd/bH5wQor5WDQMZoO2zbHAzLu6NzxO9QXLPKg84yFlwSK6eeNqTofO5wMiZOF/dZ8lMTVbleDDc8xRNoN9nqPwC3pqjYumKtZdjSZ24qh0PQV/l6x65VJ9KIAXHM4gRsKa/9YN106n2Taxp2IqDARXNnczFMzu6GYO0xgtPjEcZ1KIV08+frA0UFOOhu4n1CDRSJAtdjSCDgBDq1nsqvwM0ShSp5Zn5GqaV0b8nR2gXmGPAW6hGb2Axicriz7PPYV5hNSjnZmPwcA5TnQuCs/mY8NIh+F9f28TtSIxh24bFnMM3YfvbBw0VDbK2/jCCBdstjCRV2V512iYAwzXHJ9H3Kwwe22CACh543lkosigO0Hl8wLr5eqZFgaqSWo+sQbjL99mYoLzDL+DJKazaB0Fokz4FNIDa90szoA3p27YI2bocaOute3FIoKOU3ZHP1BQi4E+RwZZNuZIRmtgRHD7Me4n+WzpjSAdzaUa9DNWqM4jlOqCyXVUoby4kDrE1QhPM6BrhzU3eB7V63UM1j63qgRPvQlmsV3r/hkV0YZ5og9a+B0TbtwBQlUvx4BzfXw3pydriqUOxO79eKijN5lANbJlnIGE6ZVB3ukCm3i8nQXoL9cCTpj8gE8sT3FYUCff7On698y9Lbj9Vwbh90Kp9ebqAR0netwB3dJqjjxAw95ptPOLaiaW9GALt27+r8MVMeXzgMIYBikjg+3br0cncjptiOfaeRVJuQlJDGxLrXvc5ubU29pRQ1F4paMi79EtAWCpMOpERqizEJHFzsnvMZH7dqula64ltZiTdxtqj+0mVVLF3whEON8fv+L0B6y7Ai2NrSkqVR9EMSSzsJLwPzMuQa2+FcD6Ek88Azi+LS/7X1zKP10tbVUUwI+LT25xXQai8cdb1p34/iSeK12gtCSIYjvQMce2uxa2GbQQJ5rudI0fIXgxETRQJAWlXAiLly5j2Mh3NQgKoHQcdGwQA0yTKWWgd6h8epZwpkkKjT5LVfbUpx51AinKbfJ+p8U6F0l3M8njLCQl1gvUIT5SYrGPraxKUUL00gAnBPqq+OsDVdVG+g0sbw87E2LOcFdBJZBZnsejR9OL7hRotMhIOgIjfFBdw2zGXo8OlnndCmg3JFmgiNMVIJL7V/4lrc863AwQ00HuV2MCUP5KFAEcqqTfMppO X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB7593.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mnswB4uoslwIHCq7mT0HUdzaHRtBiSsjPSylYn+n1RZWZsW4/EKCS1apWYIlG5ZAxkANN/2yxNnP2jSPp7n9+HCuacYONOcy9QioITtYJKUwICkuCnqJ9VlXbCYBojh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1Q261BPFgaOxKFOSMUy8VykJlejNrfdXp0xBcTks5OYF5ePRVGDFQV/Z6GffHRphv5XdiPNn/3d7OM3LiK+Yr3i8hGSoYWF1vJVzDCvZsJq3Ze3E/TKVQLpI4XWhB+Tr9slhGCrg3CJ4Y8/++u9VvEAsvDRrnQi0ZOS+71MFNvVdktFPKrAhT2dNHmNi1KnaGX+3hw+NgEHmXPVjuFr9r1/zloazqpj0kKBw02IYYQWlIxL/n8xLS1q5fGN6OW0fdCuTiL4xqaHlsk10wqzV1DRoCH6J5tnT4SCBF5XKfljYC5PjxSNBg5cjZbz+Sb9jwZ0VPFxJzi1RD93kDZtgNl2FFkiJUa3echpmwbY82xj99l95FirV5MijgUMWLfll91hQ4udJn2YGrpNLystuLiw== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c2f836b-ca33-466e-74a8-08de37d57365 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2025 10:18:23.7582 (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: qWjJbEWWuqfGTE9Tf581sII+rD8n9wDoYficbHAVfe/FwNr6Rdub8hNY1tgg71y50esRPRFt4LyV/HWL5ykRbAD6Z1c7wFKvVI0a2PSs/RA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7562 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjEwMDA4NSBTYWx0ZWRfX/e7KOjm/bo6g s/K8lxofilew2/MJ/TDnBYXgXHGDSHBVQKD3ovdYABA8mX2jRt6zxG9WxmWJzsFHWRqfg9Yg8qZ jAbsCnGwYM7ulTOZ6pZo04houcw/g2kJ29X2+b9fRCMa8XlCNcw4TKfM8VPt4kPh+aandWw3w7L SQR4vttvgWgWolgoY5b7FMLwBwO3tmBe7UkgH/5CFOdOE1nNlUyGAmQ8deQFYjxt3709pzELWOv Hp6FABm8CrLvN7eGUSu6dPagjm8zldtZylfE0B6mFoK6CxRb1DJtxDo/SpcjWdY8uwyA3p0g8C9 5oyeU+RyzXj/vG7h1uYR5xvpxwD+0fOy8lR0CDPkjQNyLnCX3MiEqkcr6GQPAXhb21RySZWiXFQ 6A/xFTXXlA3ployVzrDxyi5zuiepnw== X-Proofpoint-ORIG-GUID: l-IbRrDhkuKxCd2xk-hSIaevlos7iqF6 X-Proofpoint-GUID: l-IbRrDhkuKxCd2xk-hSIaevlos7iqF6 X-Authority-Analysis: v=2.4 cv=dbyNHHXe c=1 sm=1 tr=0 ts=693948f3 cx=c_pps a=0dUMnQhOFwHl/g2jU5Tm3A==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=NEAV23lmAAAA:8 a=t7CeM3EgAAAA:8 a=5O6Eb5gfv2Nn_D_gLL4A:9 a=FdTzh2GWekK77mhwV6Dw:22 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-12-09_05,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512100085 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, 10 Dec 2025 10:18:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227462 From: Yash Shinde - Exclude tier-check which fails due to file not found error. Testing stage2 platform support check (x86_64-poky-linux-gnu) Compiling tier-check v0.1.0 (/srv/pokybuild/yocto-worker/qemux86-64-tc/build/build-st-1400964/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/sources/rustc-1.91.1-src/src/tools/tier-check) thread 'main' (163263) panicked at src/tools/tier-check/src/main.rs:16:10: rustc should run: Os { code: 2, kind: NotFound, message: "No such file or directory" } Reported: https://github.com/rust-lang/rust/issues/149171 - Fix following error by providing openssl in the image: error: failed to run custom build command for `openssl-sys v0.9.109` Failed to find OpenSSL development headers. You can try fixing this setting the `OPENSSL_DIR` environment variable pointing to your OpenSSL installation or installing OpenSSL headers package specific to your distribution. - Exclude "tests/assembly-llvm/c-variadic-arm.rs" failing on arm32. Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/rust.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index 01a98339a6..355d690a59 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py @@ -47,7 +47,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): bitbake("{} -c test_compile".format(recipe)) builddir = get_bb_var("RUSTSRC", "rust") # build core-image-minimal with required packages - default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp", "libzstd"] + default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp", "libzstd", "openssl"] features = [] features.append('IMAGE_FEATURES += "ssh-server-dropbear"') features.append('CORE_IMAGE_EXTRA_INSTALL += "{0}"'.format(" ".join(default_installed_packages))) @@ -75,9 +75,11 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): 'src/tools/rustdoc-themes', 'src/tools/rust-installer', 'src/tools/test-float-parse', + 'src/tools/tier-check', 'src/tools/suggest-tests', 'src/tools/tidy', 'tests/assembly-llvm/asm/aarch64-outline-atomics.rs', + 'tests/assembly-llvm/c-variadic-arm.rs', 'tests/codegen-llvm/issues/issue-122805.rs', 'tests/codegen-llvm/thread-local.rs', 'tests/mir-opt/', @@ -117,9 +119,11 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): targetsys = get_bb_var("RUST_TARGET_SYS", "rust") rustlibpath = get_bb_var("WORKDIR", "rust") tmpdir = get_bb_var("TMPDIR", "rust") + staging_dir_native = get_bb_var("STAGING_DIR_NATIVE", "core-image-minimal") # Set path for target-poky-linux-gcc, RUST_TARGET_PATH and hosttools. cmd = "export TARGET_VENDOR=\"-poky\";" + cmd = cmd + " export OPENSSL_DIR=%s/usr;" %(staging_dir_native) cmd = cmd + " export PATH=%s/recipe-sysroot-native/usr/bin/python3-native:%s/recipe-sysroot-native/usr/bin:%s/recipe-sysroot-native/usr/bin/%s:%s/hosttools:$PATH;" % (rustlibpath, rustlibpath, rustlibpath, tcpath, tmpdir) cmd = cmd + " export RUST_TARGET_PATH=%s/rust-targets;" % rustlibpath # Strip debug symbols from test binaries to reduce size (300+ MB -> ~140 MB) From patchwork Wed Dec 10 10:18:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76158 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 C9DADD3B9A9 for ; Wed, 10 Dec 2025 10:18:31 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.12325.1765361909086039139 for ; Wed, 10 Dec 2025 02:18:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=dT1Zyku8; 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.178.238, mailfrom: prvs=4439ea1cec=yash.shinde@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BA6A2Ab128616 for ; Wed, 10 Dec 2025 10:18:28 GMT 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=CO2S+naWfNQ2bcyMn4L/dd0eyjGRIouuBonHDSOT2sw=; b= dT1Zyku8VTGEpYUSNxvpWvHiG497S3z6Gq2EKNeGi4B7V/hVZFVAwx/7NJS6ZLOC OVDzmZ7Qc3nh+XIBij5AkLZV9TkHXA2T0V52SKQnotJqR9DLOt8WjFxhAqBggkOy DcTDi4OrTcJHSr9PyjQRLR3nrZfnKlRiPvgT53H0Ari1j+wjOIZQ0YtLxKRGLVkK MMLae/OZtFwwQUD3MH0XUmRBvm6bPlFHnp5BQzuS1MB9GwcCuZPfJAP1p/6k6ZUd +MtPfZCJZOpTVCjFv+o3x4fZ3jpAz94+OjYdOfNFousXo+oeRHpbANA2m5FFC4xA 4o3i30VwBUYCnHkRBQiCcg== Received: from mw6pr02cu001.outbound.protection.outlook.com (mail-westus2azon11012024.outbound.protection.outlook.com [52.101.48.24]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay07hrd2b-3 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 10 Dec 2025 10:18:27 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WqAIK3sveBbRM/u33GFkV4312FThVgUxUAhm2IckLeK/d5mn+jZ/jc6UMVty/QMKWZXQCVgc71OVh8BqxrNmLkSmVrHDMhAvPL2Aa5xhAAPx5l4Vih0AjFcMPuAlhJdkN2pqeAvOsx8TEBecvRUBdrq2Mu9EkXa6WDaMwxGZ1ygrfeeNUynBxLuktYUKNkX4oT9uNqFXSiTCgrAWBoEoZUzV+Yvxv64lebp/Ooga37Q70h5MtoyPFit9UYrU17RJfTM5gCn678AAwFDT494eaemHsctJ/ikHFfS3UXJXnXQbDTt/TfP6zB5bWSennLcgVuabtiyHNz/QruIs4rhQdQ== 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=CO2S+naWfNQ2bcyMn4L/dd0eyjGRIouuBonHDSOT2sw=; b=PEiADkzVr3v3Z2j0i/KUj/G2zKBJMK/gf9uBJS5xOPZ5ZbqjsuOqwoUWvz3Xq25fJS4EuRlixFcyNR/WzYQzdbKBiCLoyIcR57N7l+6/T+9g8nj+SNQ6GE3J48CsWACkYuakr+khEmX3rd+LLszvsJI4S7cdQzadMs2EOeK9LYd1tLuAKOBIvXOp6+cJS+f3jQ0WRejayPCpo/wuyl6dN6fEdkVSyrzpmD7lN55hbqspTJiY56ULAOY7INhTREZpkBelWvIg9+oZAfnwy6hedw0Gbk2IxTL5L+6HB1NuoniM3Mufn2q3/pkeBWkU+7lyi91iSEpvmU2lx9joode9Jg== 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 PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) by PH0PR11MB7562.namprd11.prod.outlook.com (2603:10b6:510:287::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.8; Wed, 10 Dec 2025 10:18:24 +0000 Received: from PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc]) by PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc%5]) with mapi id 15.20.9412.005; Wed, 10 Dec 2025 10:18:24 +0000 From: Yash.Shinde@windriver.com To: openembedded-core@lists.openembedded.org Cc: Randy.MacLeod@windriver.com, Sundeep.Kokkonda@windriver.com, sunilkumar.dora@windriver.com, Yash.Shinde@windriver.com Subject: [PATCH 3/5] rust: Upgrade 1.90.0 -> 1.91.0 Date: Wed, 10 Dec 2025 02:18:01 -0800 Message-ID: <20251210101803.1120711-3-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251210101803.1120711-1-Yash.Shinde@windriver.com> References: <20251210101803.1120711-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: SJ0PR05CA0185.namprd05.prod.outlook.com (2603:10b6:a03:330::10) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|PH0PR11MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: c50970a6-f9e6-466b-c461-08de37d573db X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: RUJ4d6HCmyvKTpeIWQ2GFA7nVXocC31niYFXYonztud1NBXl1Pbf5shQJ8yGvd8/KbGNA0fzZsy6wG6s+7FKK6W1JePFUvJLsgjqn5Q3jS2kC9i0P/wL+fPr/oZviiT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4smhxs+WWXj7SICyM29OIdSo8reZb4/8COjgmWY/4ZF7HLOeGQz40ICJerR+lZ8cVDis4+W7fUtdf+drUnx1XeZ15szgqqt4baihJErjNnI4FMulOanfTaIoLNSyUHXBhQf+kEhv1PPjY32rTWFRH8BlSLAEQLiE2aFIA5D30h8enc1O9UsOk1QYYNB+xdQtOJLNj9HrLV/YIc0OI4WqePU+IHfaM5EptRxf1K5T8ip7DGMYVCPYfusBrogWCj1BBzjRhVLxvfZvys6QtILHgcnA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB7593.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pbMdUKqLpLA7SFBhZPOxdx0UCFdjhTZqUkG1vMPX+kKBTFUG1WN9cppj7zc3ArlMkN5fuk935hIuTQxmyB4aRoAZWabi3Pb573upCHiW2yXboaXLRmiQ2pIyRU06BDJ63altKvM4PXFlWAFAmA51WZHyAO7TlTGzC1KnWlYgRqMY71DQGHZxzZv77ByIPpwy65oPwAEtoQAm77R2fwmhr4j80FMayfL3JsqxMrBQ5e+wwNnu01oc9uRNkeD4o34J15HnDogZ5z7JahcWtd5ZFSKHTbQIJpoOD3K3ekc8JVCa1E73efrxrseOgDBc0zUktB6RMfPtSF8MTGpOijv/pZ0SENAy106Aydwr1dk8CZpJ6UnyG0TMl65KdPodCwfSJjzcTsQlJHbMJhHzmuP7Q5drRTLjj3Ni8mkeUqXe3emCiC0Ap19kwPG+hFGYHY3QmIU8iDL7D9DjrlP1rXkYRlWNz2TNM1gTQMmML6TZF/EIdJ6rx/waNIWTMmdVj907KcEF8pzk6BvRUNIASr5mtk5lfv/sf1rlwzI6SNkFG0AoPirIDzJ/dS6Q8YdLxX/gZxnehqd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-Message-Id: c50970a6-f9e6-466b-c461-08de37d573db X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2025 10:18:24.6011 (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: uW7jcqoNhE8pAEgcKqwyGZo4cQ/LWjN+YFquFLFyxvnkywf9EZQl0jf2micJVhpAFskCvL89dMDHUDjOncOI2DLq0wrdNxwUYvmWyCXpuWw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7562 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjEwMDA4NSBTYWx0ZWRfXy+vbbDZ66vh8 zg2E32b2WHmTHI3GlBMjpHufw6pYCzdddXLsDFC81ZmGHuh4v1quXEJLEToDUg+5wPcTQUidNE6 paQPg813EGgKXDtKn8vbCNC1nzwtXTNkiBMYmq18UUra6/6qqWXjp9ioVRxMj11qSin6mYv4Ts+ FOv80rWcJXL0LojrsbNwTfOPRYSZno29DoNqaghEp42dmZCwqGn1HpwYys/IDT7tEZh4bZwzfst 91uIM6BBDLvH91wihRjMniM6Nlzc2GLfxVNb8NyKU6XADWCirVuQPX04oEygI/FXmkb/xKj3Rdp D3rQ+LjcdBeH8X/ETl7ccvzuMqZ1jOKDv7owASgevwYugwxInjUAbAB6LnLCqXuhH0/fSrvW8GD aiqkJIdW/cHxvXuhTOAZ9sbldfOaEA== X-Proofpoint-ORIG-GUID: mlRQIz7m0Xi9-AFVjQfBBz23_zWU-DrG X-Proofpoint-GUID: mlRQIz7m0Xi9-AFVjQfBBz23_zWU-DrG X-Authority-Analysis: v=2.4 cv=dbyNHHXe c=1 sm=1 tr=0 ts=693948f3 cx=c_pps a=0dUMnQhOFwHl/g2jU5Tm3A==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=ei4SEBeUAAAA:8 a=NEAV23lmAAAA:8 a=mDV3o1hIAAAA:8 a=t7CeM3EgAAAA:8 a=pGLkceISAAAA:8 a=a_U1oVfrAAAA:8 a=_0udxOufDwQLnbEsdQQA:9 a=wUfXnonp_FejyDEq:21 a=8zIOOLb7Ym0NljyPXbuS:22 a=FdTzh2GWekK77mhwV6Dw:22 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-12-09_05,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512100085 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, 10 Dec 2025 10:18:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227463 From: Yash Shinde https://blog.rust-lang.org/2025/10/30/Rust-1.91.0/ * Recent updates to rustc now require 'target_pointer_width' to be specified as an integer. Cast it to 'int' in rust target configuration to resolve the type consistency error. https://github.com/rust-lang/rust/pull/144443 * The "remote-test-server" bin is now generated in stage2-tools-bin dir rather than stage1. Update the test suite and recipe accordingly. * Rebase existing patches with v1.91.0. * Drop merged patches with rust v1.91.0. - 0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch https://github.com/llvm/llvm-project/pull/138077/commits/bcc31a9384d2df1c0f27ef140e1f0f9ee493034f Signed-off-by: Yash Shinde Signed-off-by: Deepesh Varatharajan --- .../classes-recipe/rust-target-config.bbclass | 2 +- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/lib/oeqa/selftest/cases/rust.py | 2 +- .../rust/{cargo_1.90.0.bb => cargo_1.91.0.bb} | 0 ...-gcs-instead-of-gcs-target-attribute.patch | 66 ---------------- ...teps-tool.rs-switch-off-lto-for-rust.patch | 20 ++--- .../rust/files/rust-oe-selftest.patch | 59 +++++--------- ...ibstd-rs_1.90.0.bb => libstd-rs_1.91.0.bb} | 0 ....90.0.bb => rust-cross-canadian_1.91.0.bb} | 0 meta/recipes-devtools/rust/rust-snapshot.inc | 78 +++++++++---------- meta/recipes-devtools/rust/rust-source.inc | 3 +- .../rust/{rust_1.90.0.bb => rust_1.91.0.bb} | 4 +- 12 files changed, 74 insertions(+), 162 deletions(-) rename meta/recipes-devtools/rust/{cargo_1.90.0.bb => cargo_1.91.0.bb} (100%) delete mode 100644 meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch rename meta/recipes-devtools/rust/{libstd-rs_1.90.0.bb => libstd-rs_1.91.0.bb} (100%) rename meta/recipes-devtools/rust/{rust-cross-canadian_1.90.0.bb => rust-cross-canadian_1.91.0.bb} (100%) rename meta/recipes-devtools/rust/{rust_1.90.0.bb => rust_1.91.0.bb} (99%) diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 9ce57843cf..33a290412e 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass @@ -385,7 +385,7 @@ def rust_gen_target(d, thing, wd, arch): if tspec['data-layout'] is None: bb.fatal("No rust target defined for %s" % arch_abi) tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi)) - tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi) + tspec['target-pointer-width'] = int(d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi)) tspec['target-c-int-width'] = int(d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi)) tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi) tspec['arch'] = arch_to_rust_target_arch(rust_arch) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index ff10f14a6b..01e4c7812b 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -12,7 +12,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "15.%" SDKGCCVERSION ?= "${GCCVERSION}" GLIBCVERSION ?= "2.42%" -RUSTVERSION ?= "1.90.0%" +RUSTVERSION ?= "1.91.0%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index 355d690a59..ebc9204420 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py @@ -110,7 +110,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): # Copy remote-test-server to image through scp host_sys = get_bb_var("RUST_BUILD_SYS", "rust") ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user="root") - ssh.copy_to(builddir + "/build/" + host_sys + "/stage1-tools-bin/remote-test-server","~/") + ssh.copy_to(builddir + "/build/" + host_sys + "/stage2-tools-bin/remote-test-server","~/") # Execute remote-test-server on image through background ssh command = '~/remote-test-server --bind 0.0.0.0:12345 -v' sshrun=subprocess.Popen(("ssh", '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-f', "root@%s" % qemu.ip, command), shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) diff --git a/meta/recipes-devtools/rust/cargo_1.90.0.bb b/meta/recipes-devtools/rust/cargo_1.91.0.bb similarity index 100% rename from meta/recipes-devtools/rust/cargo_1.90.0.bb rename to meta/recipes-devtools/rust/cargo_1.91.0.bb diff --git a/meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch b/meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch deleted file mode 100644 index a704671fb9..0000000000 --- a/meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch +++ /dev/null @@ -1,66 +0,0 @@ -From e4f4094de8ddcbe6d5ff1cdf782d2b89e0563903 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 30 Apr 2025 19:51:19 -0700 -Subject: [PATCH] libunwind: Use +gcs instead of gcs target attribute - -__attribute__((target("gcs"))) does not work with gcc - -GCC-15 has added gcs intrinsics [1] but the syntax for enabling it is -slightly different. This syntax works with clang too. - -With gcc15 compiler libunwind's check for this macros is succeeding and it -ends up enabling 'gcs' by using function attribute, this works with clang -but not with gcc but '+gcs' works with both - -We can see this in rust compiler bootstrap for aarch64/musl when system -uses gcc15, it ends up with these errors - -Building libunwind.a for aarch64-poky-linux-musl -cargo:warning=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/rust/1.85.1/rustc-1.85.1-src/src/llvm-project/libunwind/src/UnwindLevel1.c:191:1: error: arch extension 'gcs' should be prefixed by '+' -cargo:warning= 191 | unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { -cargo:warning= | ^~~~~~~~~~~~~ -cargo:warning=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/rust/1.85.1/rustc-1.85.1-src/src/llvm-project/libunwind/src/UnwindLevel1.c:337:22: error: arch extension 'gcs' should be prefixed by '+' -cargo:warning= 337 | _Unwind_Stop_Fn stop, void *stop_parameter) { -cargo:warning= | ^~~~~~~~~~~~~~~ - -[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5a6af707f0af - -Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/138077] - -Signed-off-by: Khem Raj ---- - src/llvm-project/libunwind/src/UnwindLevel1.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/src/llvm-project/libunwind/src/UnwindLevel1.c -+++ b/src/llvm-project/libunwind/src/UnwindLevel1.c -@@ -185,7 +185,7 @@ extern int __unw_step_stage2(unw_cursor_ - - #if defined(_LIBUNWIND_USE_GCS) - // Enable the GCS target feature to permit gcspop instructions to be used. --__attribute__((target("gcs"))) -+__attribute__((target("+gcs"))) - #endif - static _Unwind_Reason_Code - unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { -@@ -329,7 +329,7 @@ unwind_phase2(unw_context_t *uc, unw_cur - - #if defined(_LIBUNWIND_USE_GCS) - // Enable the GCS target feature to permit gcspop instructions to be used. --__attribute__((target("gcs"))) -+__attribute__((target("+gcs"))) - #endif - static _Unwind_Reason_Code - unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor, ---- a/src/llvm-project/libunwind/src/cet_unwind.h -+++ b/src/llvm-project/libunwind/src/cet_unwind.h -@@ -42,7 +42,8 @@ - #include - - // We can only use GCS if arm_acle.h defines the GCS intrinsics. --#ifdef _CHKFEAT_GCS -+// Enable gcs with clang for now, gcc does not build unwindlevel1.c correctly -+#if defined(_CHKFEAT_GCS) && defined(__clang__) - #define _LIBUNWIND_USE_GCS 1 - #endif - diff --git a/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch b/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch index 7f25ba95ed..a8232b928a 100644 --- a/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch +++ b/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch @@ -24,9 +24,9 @@ diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core index 087df2f8a..00790affb 100644 --- a/src/bootstrap/src/core/build_steps/tool.rs +++ b/src/bootstrap/src/core/build_steps/tool.rs -@@ -16,14 +16,12 @@ use std::{env, fs}; - #[cfg(feature = "tracing")] - use tracing::instrument; +@@ -13,14 +13,12 @@ use std::ffi::OsStr; + use std::path::PathBuf; + use std::{env, fs}; -use crate::core::build_steps::compile::is_lto_stage; use crate::core::build_steps::toolstate::ToolState; @@ -41,14 +41,16 @@ index 087df2f8a..00790affb 100644 +use crate::core::config::{DebuginfoLevel, TargetSelection}; use crate::utils::exec::{BootstrapCommand, command}; use crate::utils::helpers::{add_dylib_path, exe, t}; - use crate::{Compiler, FileType, Kind, Mode, gha}; -@@ -160,20 +158,7 @@ impl Step for ToolBuild { + use crate::{Compiler, FileType, Kind, Mode}; +@@ -121,22 +119,7 @@ impl Step for ToolBuild { cargo.env("RUSTC_WRAPPER", ccache); } -- // Rustc tools (miri, clippy, cargo, rustfmt, rust-analyzer) +- // RustcPrivate tools (miri, clippy, rustfmt, rust-analyzer) and cargo - // could use the additional optimizations. -- if self.mode == Mode::ToolRustc && is_lto_stage(&self.build_compiler) { +- if is_lto_stage(&self.build_compiler) +- && (self.mode == Mode::ToolRustcPrivate || self.path == "src/tools/cargo") +- { - let lto = match builder.config.rust_lto { - RustcLto::Off => Some("off"), - RustcLto::Thin => Some("thin"), @@ -67,7 +69,7 @@ index 087df2f8a..00790affb 100644 diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs --- a/src/bootstrap/src/core/builder/mod.rs +++ b/src/bootstrap/src/core/builder/mod.rs -@@ -13,7 +13,7 @@ +@@ -13,7 +13,7 @@ use clap::ValueEnum; #[cfg(feature = "tracing")] use tracing::instrument; @@ -75,4 +77,4 @@ diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/buil +pub use self::cargo::Cargo; pub use crate::Compiler; use crate::core::build_steps::compile::{Std, StdLink}; - use crate::core::build_steps::{ + use crate::core::build_steps::tool::RustcPrivateCompilers; diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch index fe683e9dd9..7d26d75820 100644 --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch @@ -10,7 +10,7 @@ Signed-off-by: Peter Tatrai diff --git a/compiler/rustc_errors/src/markdown/tests/term.rs b/compiler/rustc_errors/src/markdown/tests/term.rs --- a/compiler/rustc_errors/src/markdown/tests/term.rs +++ b/compiler/rustc_errors/src/markdown/tests/term.rs -@@ -61,6 +61,7 @@ fn test_wrapping_write() { +@@ -62,6 +62,7 @@ fn test_wrapping_write() { } #[test] @@ -21,7 +21,7 @@ diff --git a/compiler/rustc_errors/src/markdown/tests/term.rs b/compiler/rustc_e diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs -@@ -137,6 +137,7 @@ fn assert_non_crate_hash_different(x: &Options, y: &Options) { +@@ -147,6 +147,7 @@ fn assert_non_crate_hash_different(x: &Options, y: &Options) { // When the user supplies --test we should implicitly supply --cfg test #[test] @@ -29,7 +29,7 @@ diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/sr fn test_switch_implies_cfg_test() { sess_and_cfg(&["--test"], |_sess, cfg| { assert!(cfg.contains(&(sym::test, None))); -@@ -145,6 +146,7 @@ fn test_switch_implies_cfg_test() { +@@ -155,6 +156,7 @@ fn test_switch_implies_cfg_test() { // When the user supplies --test and --cfg test, don't implicitly add another --cfg test #[test] @@ -37,7 +37,7 @@ diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/sr fn test_switch_implies_cfg_test_unless_cfg_test() { sess_and_cfg(&["--test", "--cfg=test"], |_sess, cfg| { let mut test_items = cfg.iter().filter(|&&(name, _)| name == sym::test); -@@ -154,6 +156,7 @@ fn test_switch_implies_cfg_test_unless_cfg_test() { +@@ -164,6 +166,7 @@ fn test_switch_implies_cfg_test_unless_cfg_test() { } #[test] @@ -49,7 +49,7 @@ diff --git a/library/std/tests/sync/rwlock.rs b/library/std/tests/sync/rwlock.rs index 1a9d3d3f12f..0a9cfc48806 100644 --- a/library/std/tests/sync/rwlock.rs +++ b/library/std/tests/sync/rwlock.rs -@@ -74,6 +74,7 @@ +@@ -605,6 +605,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -57,7 +57,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 fn test_rw_arc_poison_wr() { let arc = Arc::new(RwLock::new(1)); let arc2 = arc.clone(); -@@ -87,6 +88,7 @@ +@@ -618,6 +619,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -65,7 +65,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 fn test_rw_arc_poison_mapped_w_r() { let arc = Arc::new(RwLock::new(1)); let arc2 = arc.clone(); -@@ -101,6 +103,7 @@ +@@ -632,6 +634,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -73,7 +73,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 fn test_rw_arc_poison_ww() { let arc = Arc::new(RwLock::new(1)); assert!(!arc.is_poisoned()); -@@ -115,6 +118,7 @@ +@@ -646,6 +649,7 @@ } #[test] @@ -81,7 +81,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] fn test_rw_arc_poison_mapped_w_w() { let arc = Arc::new(RwLock::new(1)); -@@ -131,6 +135,7 @@ +@@ -662,6 +666,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -89,7 +89,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 fn test_rw_arc_no_poison_rr() { let arc = Arc::new(RwLock::new(1)); let arc2 = arc.clone(); -@@ -160,6 +165,7 @@ +@@ -691,6 +696,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -97,38 +97,14 @@ index 1a9d3d3f12f..0a9cfc48806 100644 fn test_rw_arc_no_poison_rw() { let arc = Arc::new(RwLock::new(1)); let arc2 = arc.clone(); -@@ -227,6 +233,7 @@ - - #[test] - #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] -+#[ignore] - fn test_rw_arc_access_in_unwind() { - let arc = Arc::new(RwLock::new(1)); - let arc2 = arc.clone(); -@@ -326,6 +333,7 @@ - - #[test] - #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] -+#[ignore] - fn test_into_inner_poison() { - let m = new_poisoned_rwlock(NonCopy(10)); - -@@ -362,6 +370,7 @@ - - #[test] - #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] -+#[ignore] - fn test_get_mut_poison() { - let mut m = new_poisoned_rwlock(NonCopy(10)); - -@@ -571,6 +571,7 @@ +@@ -794,6 +800,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] +#[ignore] fn panic_while_mapping_write_unlocked_poison() { let lock = RwLock::new(()); - + diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs --- a/library/test/src/tests.rs +++ b/library/test/src/tests.rs @@ -143,7 +119,7 @@ diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs diff --git a/library/std/tests/sync/mutex.rs b/library/std/tests/sync/mutex.rs --- a/library/std/tests/sync/mutex.rs +++ b/library/std/tests/sync/mutex.rs -@@ -312,6 +312,7 @@ +@@ -472,6 +472,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -151,7 +127,7 @@ diff --git a/library/std/tests/sync/mutex.rs b/library/std/tests/sync/mutex.rs fn test_mutex_arc_poison_mapped() { let arc = Arc::new(Mutex::new(1)); assert!(!arc.is_poisoned()); -@@ -391,6 +392,7 @@ +@@ -388,6 +389,7 @@ #[test] #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] @@ -308,13 +284,14 @@ diff --git a/tests/codegen-llvm/transmute-scalar.rs b/tests/codegen-llvm/transmu index ce1b0558b2e..e8fda2cd566 100644 --- a/tests/codegen-llvm/transmute-scalar.rs +++ b/tests/codegen-llvm/transmute-scalar.rs -@@ -1,5 +1,6 @@ +@@ -1,6 +1,7 @@ //@ add-core-stubs - //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes + //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes --target=x86_64-unknown-linux-gnu + //@ needs-llvm-components: x86 +//@ ignore-riscv64 #![crate_type = "lib"] - #![feature(no_core, repr_simd, arm_target_feature, mips_target_feature, s390x_target_feature)] + #![feature(no_core, repr_simd)] diff --git a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs index face1577c3f..09e0846bad0 100644 --- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs diff --git a/meta/recipes-devtools/rust/libstd-rs_1.90.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.91.0.bb similarity index 100% rename from meta/recipes-devtools/rust/libstd-rs_1.90.0.bb rename to meta/recipes-devtools/rust/libstd-rs_1.91.0.bb diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.90.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.91.0.bb similarity index 100% rename from meta/recipes-devtools/rust/rust-cross-canadian_1.90.0.bb rename to meta/recipes-devtools/rust/rust-cross-canadian_1.91.0.bb diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc index 6a8802c3fe..c6f9031e65 100644 --- a/meta/recipes-devtools/rust/rust-snapshot.inc +++ b/meta/recipes-devtools/rust/rust-snapshot.inc @@ -4,56 +4,56 @@ ## The exact (previous) version that has been used is specified in the source tarball. ## The version is replicated here. -SNAPSHOT_VERSION = "1.89.0" +SNAPSHOT_VERSION = "1.90.0" -SRC_URI[rustc-snapshot-aarch64.sha256sum] = "16ed8d8c7628a481c8501e7cd1022a123269b297bdedbb7f211f37a15e937e0e" -SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "abea0955dded88c68d731524ab9d29b162fae23bf5805b9f1dec063cba37c2aa" -SRC_URI[cargo-snapshot-aarch64.sha256sum] = "f9df3ee6d55a2387459b843477743fa386c3c0f126bd0be01691ee49309681b8" -SRC_URI[clippy-snapshot-aarch64.sha256sum] = "46512c61e217e613dc4d329fda8c6dde0d0ea94c4ae59c1ca2af9cf480458ff0" +SRC_URI[rustc-snapshot-aarch64.sha256sum] = "4e1a9987a11d7d91f0d5afbf5333feb62f44172e4a31f33ce7246549003217f2" +SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "4952abb7d9d3ed7cea4f7ea44dcb23dc67631fae4ac44a5f059b90a4b5e9223f" +SRC_URI[cargo-snapshot-aarch64.sha256sum] = "bd8d1da6fe88ea7e29338f24277c22156267447adbfc47d690467ad32d02c2a7" +SRC_URI[clippy-snapshot-aarch64.sha256sum] = "1a7f969c5712c17d960d6fba8235b33f264a9484b369dc388766a540f1ba464f" -SRC_URI[rustc-snapshot-i686.sha256sum] = "a5ca58ab1b419ddbf5e4ea9b206a3d1feb0cfc4e0879a96c2c2f809ee9ca00b0" -SRC_URI[rust-std-snapshot-i686.sha256sum] = "853605815e8267baf8fdc6e4594514d2e0afb46fb29f478ebec871a3424430f3" -SRC_URI[cargo-snapshot-i686.sha256sum] = "1b3edcf590af9b9abdfa95f34b90a4258560627464a2a25d4e4503bb5834e291" -SRC_URI[clippy-snapshot-i686.sha256sum] = "2c47960ee78d804ce679b06c9c759e777ac7f39cae48bd8ffaf7ff706f951520" +SRC_URI[rustc-snapshot-i686.sha256sum] = "3b33cef77f9a57d592beb5117d933134bc76258006e6d4f9aed2969d20c75742" +SRC_URI[rust-std-snapshot-i686.sha256sum] = "dc4bffa768326e0cc47d6b129bcb891af6e7b7bf09ec92bca45e49420b9837bd" +SRC_URI[cargo-snapshot-i686.sha256sum] = "c1e9b24bbfa95550b5dba9de2045a4c906bea108625781758692b2a407428391" +SRC_URI[clippy-snapshot-i686.sha256sum] = "3e902971ef6b44ccb804af73aba5dc8c6199ed09a76f178b0eed6f53f7f56eab" -SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "c090c2ab6b54a8d84129de4ef53bd4df35358191092d3217bf6fa99c20c860c6" -SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "2c5aa2cad944499c5b64947dcfeb12f3d5c91ced330a0982e000f22ec3dea27f" -SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "d22678ae984535464cd9aff3515e9ec5145ecb8db489ef4cce5c697e0538b500" -SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "0392c4fc97dc72b0d7d518129428c928b887e63b47f3d931fab7e54e2332ca9c" +SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "aca7ee7f0d98e34dafa367cef9c35626d37cf8334f356498aa2bda2fc02206b3" +SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "cb779575cec151223c3c144bc9ca957530fa510e36b32bc9f35bbb1b7dde9e2f" +SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "6ae37dc8eb3ff4655053a39d5f973613a82a8a8e2fff42c423ca33d8cf19e6c1" +SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "847b3d4bd3d2be23bafbb90cd2ed5e1bf1aacb2e7152e7d2f99bee1078aa0eaa" -SRC_URI[rustc-snapshot-powerpc.sha256sum] = "08de18310e7750796261b45d5faccc31ff94ff64148bb5d9fa65e9727a432010" -SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "a03b3c3facf4701b6c7e8f379f2aac445a582227b881e3268dee3752a84a89eb" -SRC_URI[cargo-snapshot-powerpc.sha256sum] = "ebdb0c8c9fad2d07dc702c9bfaee5dd140f6b0f9493bdd0c0d33f1449b7d97c2" -SRC_URI[clippy-snapshot-powerpc.sha256sum] = "f93cb4327943f30b3da8e671eab6a78cdc3110c6612ad2a5eeaa9d8597fbd452" +SRC_URI[rustc-snapshot-powerpc.sha256sum] = "c5d898ca92063d634011525557f2acabc65d4ea268022e7005f99b6ba917357b" +SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "756d1bbd66ebb0d4d575b650a8a94d52546f6892bd2f864410411f6027ed879f" +SRC_URI[cargo-snapshot-powerpc.sha256sum] = "5b160a2bf0e6f470b83c5988db5b6f02b6d65d3d97a9b965acbfe940b4143b34" +SRC_URI[clippy-snapshot-powerpc.sha256sum] = "42ac7480dcac12a843803f5ee398d2a42389359178774cab20c66eda4f6927a5" -SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "6c66c8a3d698bb338d20453c88d768e87a5af8970af4f4082d18dec26c10da2c" -SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "29338a9b067fe1adfd4d5ad681577c2333b3ca266a631822f23fad0984dcca39" -SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "f23184532c1e2eef6df49358fdfb867e99e84db7c814ce667744a36bc2fd8d37" -SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "695228193ff41ac32ec562140294d87b1988311dfe685acc72b725429e2651d9" +SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "7adbc3c317a73b7d504e171d65a2b0e93953e3e572dab99acabe91140101f81d" +SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "16daac5dc6994c03ab3b8c4e6e5e52c41f5fc5846acea08f4fdf0759cc273aa2" +SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "fdf90d22476c88d5b9cf8a3ac0937d0b9c6b7dafbf6b3afde369c2f5b8faec88" +SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "071e06a50d5b2975905bb2d6211f2d2372ab0dbd50b7b0097168cb64e77a4bb0" -SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "14b7a8b7b3951a59a765804e1dd2ad454d3412000e7166ad8f2f621e29a88941" -SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "40123b87f0b909376d7f0bd291553b7e10aa637dd710f4bc698bcdcd0b08d21b" -SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "764eb5f54c2b0779f9e84c6fb0763e45316d5a51fbd187b56f9f6d7a646272d4" -SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "682d112649355a637a871347d41317e361eb555bbfd4a4e48b26b0978449184b" +SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "e87b8eb926a65211a99f6712ff376c5950b4b11c67ed7f92019da27a34ae7085" +SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "eac29f92ccd335c51553c362c7a6d3de2eb7071b5ae3839470e351a6a3ebdb77" +SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "f029151dfeed6570b8b347e04a5bb7dcb9c59d8e5454c535c05bb5069c216354" +SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "12d19dbec34c5a35cd285fe74dcd0226563c0b25be5d041479744060e9374c98" -SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "2a2a00288faa8a55b16a3135c979bbd9c823f1e9ff376ea452ef0700ccc20d48" -SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "ee83276bb2d456116517638b8ff379c24ceffe1c0e381103739cb1db8e4c20da" -SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "ec9a8f609f23b196d09e6537dbaec7c6fd947e3b8266406c6654b2c112530de2" -SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "6bba0817c70b4dfae08238beb38003c623404d26b9ec00a297d08c9bf81c6d76" +SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "11ae522969c6b18ad4b5a1ae229473de59406af7ab2e831acb43ee247a16b58d" +SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "675dc5556d9d879101d2401b693fcf79edac8f00a49249e2e0f19cecd172ce51" +SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "8a09de014f7cec749b338c6636d190a1b73fd377bab6a223eb715d3c76c49e79" +SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "02338e25b3d2b61d9dbee7bee4c9ed148f18e2d010c6297ffd36df98042f41a2" -SRC_URI[rustc-snapshot-s390x.sha256sum] = "b2b811644d26d10195be0272b81bd28ed55aa998300c52b0d3b74bb40c162c42" -SRC_URI[rust-std-snapshot-s390x.sha256sum] = "2a7ed11535aac5b298a21799292ad8393b14a16acbac6358416406a0d2639746" -SRC_URI[cargo-snapshot-s390x.sha256sum] = "92534c38ffe3a6b17964f37ca812c5d00f079011acb060ec036945d2f568a772" -SRC_URI[clippy-snapshot-s390x.sha256sum] = "a4a050854353325c1710440a5f727e4280f1758fad5c0da6ba336ed57156fb48" +SRC_URI[rustc-snapshot-s390x.sha256sum] = "274daef5a69c8812411248a4afea4f58a096c978dffba6b1198da8e3b5a02de7" +SRC_URI[rust-std-snapshot-s390x.sha256sum] = "e3e7e3dbc65616eebc69e642d9042363ec38d7f50393ef816cc5238ec475f3f5" +SRC_URI[cargo-snapshot-s390x.sha256sum] = "468ace270ee4edac0a10185ea876ea555e41bacc0137ff08985d2155fe8cc777" +SRC_URI[clippy-snapshot-s390x.sha256sum] = "bb0a9483a36fdbdab08b433613b374c036779d247a8d508e31265193c3759a8d" -SRC_URI[rustc-snapshot-x86_64.sha256sum] = "b42c254e1349df86bd40bc28fdf386172a1a46f2eeabe3c7a08a75cf1fb60e27" -SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "2719470dcd78b3f97d78b978c8f85a1a58d84ff11b62558294621c01bca34d49" -SRC_URI[cargo-snapshot-x86_64.sha256sum] = "99fc10be2aeedf2c23a484f217bfa76458494495a0eee33e280d3616bb08282d" -SRC_URI[clippy-snapshot-x86_64.sha256sum] = "c6c362c6cd74567022e9ba0c16f6676f8c2b73d955adcf1f6f4c51cf15e57ce8" +SRC_URI[rustc-snapshot-x86_64.sha256sum] = "48c2a42de9e92fcae8c24568f5fe40d5734696a6f80e83cc6d46eef1a78f13c9" +SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "663f4ab7945b392d5e5294dec1b050a66820a20e86f084ec37eeb0f2f7ff5569" +SRC_URI[cargo-snapshot-x86_64.sha256sum] = "9853db03d68578a30972e2755c89c66aec035fec641cf8f3a7117c81eec2578d" +SRC_URI[clippy-snapshot-x86_64.sha256sum] = "5b6466419693a05365827378145014a37ae74fb2948fab390d5210a524792ed8" -SRC_URI[rust-std-snapshot-i586.sha256sum] = "7909e4bff0a971286958f2a88c3bbf231d6ba4ac1add0b2aa3669adb9f869836" +SRC_URI[rust-std-snapshot-i586.sha256sum] = "46eab5c41bf9160a31a53560ff5fc43308c0998cde952533e76fadef66799553" -SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "a23126912b494dc2fcad495f78f920e43c2b1f06159e45477664aa37c03d80fa" +SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "c204ecb424090cc6c0100cef3013f8636d29f288db99c037578aee7d2672a711" SRC_URI += " \ ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \ diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index cf8274b443..562bcbf4c5 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc @@ -7,10 +7,9 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ - file://0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch;patchdir=${RUSTSRC} \ file://0001-riscv32-Define-plain-syscalls-as-their-time64-varian.patch;patchdir=${RUSTSRC} \ " -SRC_URI[rust.sha256sum] = "6bfeaddd90ffda2f063492b092bfed925c4b8c701579baf4b1316e021470daac" +SRC_URI[rust.sha256sum] = "9b94161dba3aa32192e0e75f7891912d98095ffb86087b07a05af35a0265a938" RUSTSRC = "${UNPACKDIR}/rustc-${RUST_VERSION}-src" diff --git a/meta/recipes-devtools/rust/rust_1.90.0.bb b/meta/recipes-devtools/rust/rust_1.91.0.bb similarity index 99% rename from meta/recipes-devtools/rust/rust_1.90.0.bb rename to meta/recipes-devtools/rust/rust_1.91.0.bb index e7f3985332..a25f65f674 100644 --- a/meta/recipes-devtools/rust/rust_1.90.0.bb +++ b/meta/recipes-devtools/rust/rust_1.91.0.bb @@ -293,7 +293,7 @@ rust_do_install:class-nativesdk() { install -d ${D}${bindir} for i in cargo-clippy clippy-driver rustfmt; do - cp build/${RUST_BUILD_SYS}/stage1-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} + cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} patchelf --set-rpath "\$ORIGIN/../lib" ${D}${bindir}/$i done @@ -328,7 +328,7 @@ rust_do_install:class-target() { install -d ${D}${bindir} for i in ${EXTRA_TOOLS}; do - cp build/${RUST_BUILD_SYS}/stage1-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} + cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} patchelf --set-rpath "\$ORIGIN/../lib" ${D}${bindir}/$i done From patchwork Wed Dec 10 10:18:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76154 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 D6518D2CE17 for ; Wed, 10 Dec 2025 10:18:31 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12532.1765361909615582055 for ; Wed, 10 Dec 2025 02:18:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=TNfjh3rZ; 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.178.238, mailfrom: prvs=4439ea1cec=yash.shinde@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BA6A2Ac128616 for ; Wed, 10 Dec 2025 10:18:28 GMT 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=+05lUAE2p1cn7izaxHAqXAaYM9XUHWy8phNjK7YxfHc=; b= TNfjh3rZ8X9nk7hhfYGHMmN/Kq3EdC3f1t05pgw8VAJ6Od7kWcZuRXczjGtftLcD cnhLz7f3jtX5ZQQ/rNgDprQ+1klRvHDk8HAMqbB2VJPlWjefAeSwo52axLig1gxl wqpjnWDBcazU5MvhQN79uo9QmObPAHX6NvVJtQNX4awamjWKx1TfkO95gkMxDiTv CdKfh9FWHnETXdM5dEq7xYLmA6QZu7x+Y+GODo07qE8boeGi7kf2cbzQq0Kh8K+W DxytIuaI+mWXi2qxxFde46Eu//fAIMZ4KrnVOJTOufyxDW2ak+TgHKbkc1U4wUXQ m6L72Ylat60aGBbfiKLQHg== Received: from mw6pr02cu001.outbound.protection.outlook.com (mail-westus2azon11012024.outbound.protection.outlook.com [52.101.48.24]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay07hrd2b-4 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 10 Dec 2025 10:18:28 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QyNaSlhUSbE5lgJI5p/+LgcDIXHcy1fYQPO1IbZkRQpzw/QsFBdiBjHAApWNykJhz5RCCLGJnwbE70Kpo4rwr2k8+qRFScO76BGU2RYZrdAvGaHSUMCMoh3XIDAUS8Or1Sw51WR1AWxaEpbP4fUnDN+Mq4hVdc2M0RWeGJPODYt+/aDt+6VqzVCE7K+xZAOUmpMLv6o1zFS8IqePv9rO+SASnHp0WcF4Vkv0Kso7uSS+6IwSxugtmaAdf1sCLxbdU8hd5i/jC6z5qATraw0lVvw+nt9Ieyda6r0gIZXAUkAKz8NM252ggELXTL3gpqVVLEkJslrZyC2Mlu7a+wgW3w== 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=+05lUAE2p1cn7izaxHAqXAaYM9XUHWy8phNjK7YxfHc=; b=P0BVtHXmwhrz/aPZJ8PbL21hdPdyKgwjigwib576oIRMm1OiwF3c+Z+fShgnx+zOqgggUl/HB5RM9bM4Dz3sJtO/LxB9/Bn/lb8rTkt54lGaakiM01PXR+RcsIM8R8sSYycW3V7VNtIZeF4OVvSccIaq7iCcxfwPQNkJpbumCJpNURboAIu6mAk1u7oHr/sIMNocxZ/Is7G1LZKygKTRLe7B7CqJxxukDHr90QP+TJa3/yD8szc47pobiNkkjSA1vF0jUwM2G8OTCQTTCph8KTSfyI5+vwVIgNxcPBT5yeYGweYp4QmOWLBNXh+E6oXLQVFGFynsGbYN09GuqQiCTw== 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 PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) by PH0PR11MB7562.namprd11.prod.outlook.com (2603:10b6:510:287::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.8; Wed, 10 Dec 2025 10:18:25 +0000 Received: from PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc]) by PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc%5]) with mapi id 15.20.9412.005; Wed, 10 Dec 2025 10:18:24 +0000 From: Yash.Shinde@windriver.com To: openembedded-core@lists.openembedded.org Cc: Randy.MacLeod@windriver.com, Sundeep.Kokkonda@windriver.com, sunilkumar.dora@windriver.com, Yash.Shinde@windriver.com Subject: [PATCH 4/5] rust: remove passing tests from excluded and ignored list. Date: Wed, 10 Dec 2025 02:18:02 -0800 Message-ID: <20251210101803.1120711-4-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251210101803.1120711-1-Yash.Shinde@windriver.com> References: <20251210101803.1120711-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: SJ0PR05CA0185.namprd05.prod.outlook.com (2603:10b6:a03:330::10) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|PH0PR11MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: 015653b9-bebb-4e72-5153-08de37d5741b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: o5rc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aPy9JniTWidwtncfOtT4lXi+VsKjGi0frJvKK/l7tlipd3szUGDmYLHgYtiHZjzoMNyUSYe+OHH0PRmL98hjGjNdvRcUy2P+rMPC/JeU+VaojM3MQi/qXJt0X+DPdq/hfFxCmEIeqhrHAyrfkjHUS4qpmQeBjFY9sA7IMsWF+yVOs5KXKPthQBVAO41j9hmL2Ot0bGpAma0/HbLdaUoymSWi9P7AKCrWWj+Z/UVCMjWhbTJdqnzJOaJyr1UzN01c2UcA1GUmU+KOvWtDE/oP1b6HXZCz2FUoOgJ41DmIk8FxJjQ47/L6e7IaBUPXzqhPaVEJdq5n3PgBqcAdLfFxdypAdLFm5o5nnLMF7hS5hHYY7kNJLjn2hKCRD8c8yG6DrcW5PgVjy1pIZHbunMNtPB2ZXeF6q7c6RxIdSjdqHD0DCe4S8N2USHEZnuTyNRF X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB7593.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3FBRzcgO1OL3zBdm/m9KOVtlBiYdk2D+PBVKo9dRiRROBllSUuvSXEukgY68J8wg9IsRPrgas34ju9jAc29HFY9C6sPvyIIdMCZy/dvBXLrV1Oy/Z2n8hi8eog9KWo47Cim7hD5RZNO/EOMrgH8g4pJ6kSSf+QtZYIBfc+KB47rHhqFUwRy5vB6enw4rOkUtWoanIRn4kVzLjVz83itydQIi/ECdDmwrY67/C8yz/NC7NwsET6dIk7fTDFVK5X/w9vIWRGrnrYZhauw3cqcrPe+Kb5MGPUyknAgc1WOoZcGFiJEY+7z3LpHOrpLz3ZyCeSjR9WMEUTR966khH1px8RoaYlT+hKat+WlQxh0xG1FIA77+eBNA319AmgUrv/MBCRL+yksryOAHSsovNE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vSxK9vAmXld0ayqQQYm3NPB4Lc/VKBNLqTp0U3AUlpdHkgchge8BAJHm4sKH4VsWv5SnmJQzNJJeK6VuPySWC3d49f0K4Yuu7mZ+EHoupZa8ElHyfnnaXTw69XhdDwH0w== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 015653b9-bebb-4e72-5153-08de37d5741b X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2025 10:18:24.9592 (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: VEAbJBFBsi4QjQ9kbLc8qM+3ElJDeHYdLEtyfcdjv0uFtCvvHjoPv1jry137FVFvcibCd7aMaJ2oEvN1z1ItAU50K/hXs8o4/LsQ9ygTzpA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7562 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjEwMDA4NSBTYWx0ZWRfXwqOioi6Mi/GF zv8Ts8T1Gs+4JhcRavf8WdiXNRJGuYP8d3K19Lzh3HhBsMoFd1OuEYIqD5pJXxM45hArOo3qZ+7 SK8Rsp0vYzvJiK/Wm5VsvgPeURWBNOR/yuzhw6qc+0jRTPO9quWtgBeEvKQvCRpH+RlWKvJkVF8 F60RdaFKY/f2xBsJm/43/ja9Nt58PIUEwFeDSdLHEMXl8SVJtN6Hy4PlaT0AV2k4W+pZNlWiMm8 bOyxSgXFtS/ILxgNRyiqpR6m4e1coUElR2LUU02XDMaQLR51icMOxw7CRMZn+OGhhk5hceWVM0A C/YgBIrdLujBsiKlwjOtU4bzdiezWuUatTCuyRm67yJBP605GaV5rsYIPigTW892Lt9GHvE5WhE XTJS86pnnxQGCn0GZxMNVowvjPz1Gg== X-Proofpoint-ORIG-GUID: v9Er9-2Tcgw57XI3osVFY53J4EY1gCs8 X-Proofpoint-GUID: v9Er9-2Tcgw57XI3osVFY53J4EY1gCs8 X-Authority-Analysis: v=2.4 cv=dbyNHHXe c=1 sm=1 tr=0 ts=693948f4 cx=c_pps a=0dUMnQhOFwHl/g2jU5Tm3A==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=NEAV23lmAAAA:8 a=t7CeM3EgAAAA:8 a=aBlMQnakSdQ6o4E7Hb8A:9 a=FdTzh2GWekK77mhwV6Dw:22 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-12-09_05,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512100085 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, 10 Dec 2025 10:18:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227464 From: Yash Shinde Remove the ignore tags for passing riscv64 tests and drop obsolete "tests/codegen-llvm/issues/issue-122805.rs" from exclude test list. Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/rust.py | 1 - .../rust/files/rust-oe-selftest.patch | 100 ------------------ 2 files changed, 101 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index ebc9204420..3a41391101 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py @@ -80,7 +80,6 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): 'src/tools/tidy', 'tests/assembly-llvm/asm/aarch64-outline-atomics.rs', 'tests/assembly-llvm/c-variadic-arm.rs', - 'tests/codegen-llvm/issues/issue-122805.rs', 'tests/codegen-llvm/thread-local.rs', 'tests/mir-opt/', 'tests/run-make', diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch index 7d26d75820..b39b326455 100644 --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch @@ -202,106 +202,6 @@ index a05f274136..0e69b4cb98 100644 fn sparse_inserts() { let cache: VecCache = VecCache::default(); let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") { -diff --git a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs -index 828328df843..30753c56c76 100644 ---- a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs -+++ b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs -@@ -8,6 +8,7 @@ - //@ compile-flags: -C lto -g -Cdwarf-version=5 - //@ assembly-output: emit-asm - //@ no-prefer-dynamic -+//@ ignore-riscv64 - - extern crate dwarf_mixed_versions_lto_aux; - -diff --git a/tests/codegen-llvm/const-vector.rs b/tests/codegen-llvm/const-vector.rs -index f4307492341..617e31140e9 100644 ---- a/tests/codegen-llvm/const-vector.rs -+++ b/tests/codegen-llvm/const-vector.rs -@@ -3,6 +3,7 @@ - //@ [OPT0_S390X] only-s390x - //@ [OPT0] compile-flags: -C no-prepopulate-passes -Copt-level=0 - //@ [OPT0_S390X] compile-flags: -C no-prepopulate-passes -Copt-level=0 -C target-cpu=z13 -+//@ ignore-riscv64 - - // This test checks that constants of SIMD type are passed as immediate vectors. - // We ensure that both vector representations (struct with fields and struct wrapping array) work. -diff --git a/tests/codegen-llvm/enum/enum-aggregate.rs b/tests/codegen-llvm/enum/enum-aggregate.rs -index 0161e5f3fa1..773a06fabb4 100644 ---- a/tests/codegen-llvm/enum/enum-aggregate.rs -+++ b/tests/codegen-llvm/enum/enum-aggregate.rs -@@ -1,6 +1,7 @@ - //@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes - //@ min-llvm-version: 19 - //@ only-64bit -+//@ ignore-riscv64 - - #![crate_type = "lib"] - -diff --git a/tests/codegen-llvm/enum/enum-match.rs b/tests/codegen-llvm/enum/enum-match.rs -index 57db44ec74e..1e2507f7c90 100644 ---- a/tests/codegen-llvm/enum/enum-match.rs -+++ b/tests/codegen-llvm/enum/enum-match.rs -@@ -1,5 +1,6 @@ - //@ compile-flags: -Copt-level=1 - //@ only-64bit -+//@ ignore-riscv64 - - #![crate_type = "lib"] - #![feature(core_intrinsics)] -diff --git a/tests/codegen-llvm/enum/enum-transparent-extract.rs b/tests/codegen-llvm/enum/enum-transparent-extract.rs -index c5efb8d472b..e79b8916fc1 100644 ---- a/tests/codegen-llvm/enum/enum-transparent-extract.rs -+++ b/tests/codegen-llvm/enum/enum-transparent-extract.rs -@@ -1,5 +1,6 @@ - //@ compile-flags: -Copt-level=0 - //@ only-64bit -+//@ ignore-riscv64 - - #![crate_type = "lib"] - -diff --git a/tests/codegen-llvm/repeat-operand-zero-len.rs b/tests/codegen-llvm/repeat-operand-zero-len.rs -index b4cec42a07c..d450fead9a4 100644 ---- a/tests/codegen-llvm/repeat-operand-zero-len.rs -+++ b/tests/codegen-llvm/repeat-operand-zero-len.rs -@@ -1,4 +1,5 @@ - //@ compile-flags: -Copt-level=1 -Cno-prepopulate-passes -+//@ ignore-riscv64 - - // This test is here to hit the `Rvalue::Repeat` case in `codegen_rvalue_operand`. - // It only applies when the resulting array is a ZST, so the test is written in -diff --git a/tests/codegen-llvm/simd/extract-insert-dyn.rs b/tests/codegen-llvm/simd/extract-insert-dyn.rs -index 729f0145314..2b1d1beb86a 100644 ---- a/tests/codegen-llvm/simd/extract-insert-dyn.rs -+++ b/tests/codegen-llvm/simd/extract-insert-dyn.rs -@@ -1,4 +1,5 @@ - //@compile-flags: -C opt-level=3 -C no-prepopulate-passes -+//@ ignore-riscv64 - - #![feature( - core_intrinsics, -diff --git a/tests/codegen-llvm/transmute-scalar.rs b/tests/codegen-llvm/transmute-scalar.rs -index ce1b0558b2e..e8fda2cd566 100644 ---- a/tests/codegen-llvm/transmute-scalar.rs -+++ b/tests/codegen-llvm/transmute-scalar.rs -@@ -1,6 +1,7 @@ - //@ add-core-stubs - //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes --target=x86_64-unknown-linux-gnu - //@ needs-llvm-components: x86 -+//@ ignore-riscv64 - - #![crate_type = "lib"] - #![feature(no_core, repr_simd)] -diff --git a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs -index face1577c3f..09e0846bad0 100644 ---- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs -+++ b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs -@@ -1,4 +1,5 @@ - //@ compile-flags: -Copt-level=3 -+//@ ignore-riscv64 - - // See https://github.com/rust-lang/rust/issues/135802 - diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs b/tests/ui/abi/rust-cold-works-with-rustic-args.rs index 551485469d3..575db924968 100644 --- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs From patchwork Wed Dec 10 10:18:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76155 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 CBF19D3B9BE for ; Wed, 10 Dec 2025 10:18:31 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12533.1765361910275784324 for ; Wed, 10 Dec 2025 02:18:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=KFijeWXh; 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.178.238, mailfrom: prvs=4439ea1cec=yash.shinde@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BA6A2Ad128616 for ; Wed, 10 Dec 2025 10:18:29 GMT 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=Rwc5IkDtnEJyG/ljeEDzm9p0mkFiASBD4yOdFWaRqjM=; b= KFijeWXh7yGfDcx7Si79Odjz2z505dNTFnOhHD7o/wzmrijrYwSst7Exc8Hk3AUw /AkDWkyoEYjqMKes1oS77U5mPtAFhgb/a1v8U3cB2RzqrHgDquwr3Qov3cQOTUjG d+16EqhzugjEvl/Jm1FYw5Rb8y9vvGGOUw/p2JPlrrXEOC8FWibCC2o2RF3Kujrc mcP8a0LVLrZv5LnGVTGGpt92GH2WKKyjzTYzlpAzaULwm73Sgu2LiHCuaSqHU6a+ DytUlUOcZjT6o7tzDc/eau59cuDIQ7NPBwIudFsVReN6EV3+fqFTWaHlsONH4YAW UyeXv9NMX+SYgM8RFyG41g== Received: from mw6pr02cu001.outbound.protection.outlook.com (mail-westus2azon11012024.outbound.protection.outlook.com [52.101.48.24]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay07hrd2b-5 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 10 Dec 2025 10:18:29 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B7/9YDR4e13+P3n2o3M0wBD33yAm6ddKflNkRniWlC0oQ1CCgOJ9x9ARgFqZezmHpMSMOYn06pCrWcYul2Lr/xt6WXx4L7pVIoPrrNmw041d25p2PofsFE49qOUO620QucniZpwdEmRIyZ2Y1PIs1GyNKS0rgg1TLHbcuMDfgRf7Mp5WqGZ1LxD+PdOxyPSVbBXKfyMNNQaw/mURzl9J8epGEg75y9k7ZgD7soHGYWz/sE+9SvBY7c+kqdTNgMB4Ax28YM0HNu9pNNsAwHjrNTuK2LwJQWEybxDXvf1Zut+9oePZY9Vbajv83Wy/0GUzn2JjfWVuo114GcoRvs6UUg== 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=Rwc5IkDtnEJyG/ljeEDzm9p0mkFiASBD4yOdFWaRqjM=; b=DGikGZzb/eqO4fiU/Bj1GA47WxJaOFMm3QCe62k5sZhLDL/guXHzVcgZg8GKhcQu6m98WX3NMDSdPd1BWCcYK5TgCeJ6Q69NCtpuGWJo7y9pSWjokyyGEMRjgsKWmkDXdx2a42xtOtrVw9HbfiF6QNM/8GndQ4eVgPVuysdVUeGNEsTFPkVCOqGsdj6cA+Y/wGEOJ3fwGsPOSsB59D86R5emCoeJnmp/Y2QW/+L+jqiCXiG7VO8FSe7/p1R1qvhRmqbHdzcSQhen2MG9Sn1jh1RAyOm9Aa5c4kxjoIX5mwwI6MdLxEpq9b1HXPgH8sNFjTE5SRL8PX3SmhAMJLT/Dg== 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 PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) by PH0PR11MB7562.namprd11.prod.outlook.com (2603:10b6:510:287::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.8; Wed, 10 Dec 2025 10:18:25 +0000 Received: from PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc]) by PH7PR11MB7593.namprd11.prod.outlook.com ([fe80::2688:e731:421b:5ebc%5]) with mapi id 15.20.9412.005; Wed, 10 Dec 2025 10:18:25 +0000 From: Yash.Shinde@windriver.com To: openembedded-core@lists.openembedded.org Cc: Randy.MacLeod@windriver.com, Sundeep.Kokkonda@windriver.com, sunilkumar.dora@windriver.com, Yash.Shinde@windriver.com Subject: [PATCH 5/5] rust: Upgrade 1.91.0 -> 1.91.1 Date: Wed, 10 Dec 2025 02:18:03 -0800 Message-ID: <20251210101803.1120711-5-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251210101803.1120711-1-Yash.Shinde@windriver.com> References: <20251210101803.1120711-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: SJ0PR05CA0185.namprd05.prod.outlook.com (2603:10b6:a03:330::10) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|PH0PR11MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ecdb985-9a82-4d03-c327-08de37d57453 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA: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TgK/CsHxKrzAlYXSqapL/eYE+BWUQBNtcECiRiZi2rq09TgRHA17+P2T9fEtQfqidwc1OvrVvjZs3DEWtoIhRQDZQ3MGCwkWbPzwU5YtljU9KTwuXo/FfgnbdIvBQpH6po9YBjXE+/Dnagfe8XAYmjc2X+C2tnVNbMpEsthOQ/pH/5rSdXnRs3N0NXxy/DxnCRZ6YMebeQNXcbwVXZ1mNq3WsTSsSH65jhMC+kPqrgnpjG5rmWt45sz+VfR5lWBDkzkHuUxrQCgY/kehBHS4/cVKIOCwfS0KQBQJK2bscwpxYGe4hxaQj86otd+DjHl4Dx/8+LjdYo9jHKQ72fgUnOmD8/nwK8gdg4tpq7QYyfvYCGxtbYgTP3tiqy10GHvhD4sWvPXK/8+Ywv8r1mU4Rf7Av0bzXvuKwxFgS71yXUfIrodZZUpWiOrAbmc4qa19WqERCHa+3J384NaM+tAqGkv59TxqFJ7Z0z8OkTLi4HIHV0d2WGamOw0WVF6 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB7593.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pVXLxWzY7AxMIaLlsWVyHePazbd+/mmjdD37igflQKkeBfuMPXnaU90SGYTZmoDYugf3keIPuGqBXwZXDP87tD3zAXykLQeP1npsNgUwd25pTD1xEtqOw4W98StONqSo+BGLO0iOJP3YP/YUor7qv+241Uo6dR3xuXi/mDxhKKr+C1Dash8/J7EgH5sENkNiKAsOT+u+syAfZYial0kZ/onf+6cAoBO+mztDgEOymmclM8y0XzhTuAJ8BuwOH/tTDERTiT87O1nOiVKbV7+UdfmsnmRGmEAlauPiKT7AEnUU8lIOaBlQqDtYXDtriYfucAr5TDRe33XaaBy3xe4xqshZ05u8sl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T7EO9Xs3GJni3nwjUNryYXFF1TZUpWN/R5P66ueekOsDcvod43924tc0Gi8OgX0diFw920t5HSTFfAMglAW1j5M17M/xve8SSh1cG9NWbun+KKkepatQl29ipZ5/rpkKz50qrbw8/rVENogMvBpmtDRi5cpndhMW0/21sVuO1+lEhiLssaYx/Xg93JfCjOII9LfQTAdDg== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ecdb985-9a82-4d03-c327-08de37d57453 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2025 10:18:25.3143 (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: Iusgj9QetMaHjigGp8HU8/nSljSZFac37ychAlLoBuXfxAO4lQyjxrVko6L7y2kpRKsFi2HdhfFzowA101QyM1wvyp95YpzOWOzjLi+eZYg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7562 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjEwMDA4NSBTYWx0ZWRfX5pFYo5G6T/Io 1kx/d5G0nstHfuMhPhgPOtDao9bInLhupa8plPuHTxsX8npAyHqjIT2L4eP41qCpY7qksHVEwsX aQQHWAyE/jJy+euToYeOPsqR2lBe96CcVMT+uh8YI0tEyzbmg7tt5Hy6w1QSlRf4t5DR55Lm7w9 szdnelb+8tLNVWjEpRG4J1MA2xDwb2ulBmRHwonPqDPl4V/UuVKrSOYlA274+wC8txmoiGcyEeR BI7ZVPffe92SCpZa3zf5aReSsS67z6F3KlCOXSTLyevt54wYRhAAasRJKfC519VXC75Yjd8uyz+ ACA6gB9DH5OJAtXFfLu1M60x1a7n7qOVat7xbz3HWBBb6sH0aS4EcH4UA8R+EF7nv19JzlDUlfS S2RvIfKhgHhz/qbPmfgtmE6nLJYutA== X-Proofpoint-ORIG-GUID: OlRHqJbWHOLAZS5hfjWnxykFzeRQV5sU X-Proofpoint-GUID: OlRHqJbWHOLAZS5hfjWnxykFzeRQV5sU X-Authority-Analysis: v=2.4 cv=dbyNHHXe c=1 sm=1 tr=0 ts=693948f5 cx=c_pps a=0dUMnQhOFwHl/g2jU5Tm3A==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=ei4SEBeUAAAA:8 a=t7CeM3EgAAAA:8 a=T_XE1fNAp8Y85a0F2esA:9 a=t0EB5k7lhMAKNYPM:21 a=8zIOOLb7Ym0NljyPXbuS:22 a=FdTzh2GWekK77mhwV6Dw:22 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-12-09_05,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512100085 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, 10 Dec 2025 10:18:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227465 From: Yash Shinde https://blog.rust-lang.org/2025/11/10/Rust-1.91.1/ Test results summary: rust v1.91.1 +-----------+--------+---------+ | Machine | Passed | Ignored | +-----------+--------+---------+ | arm-32 | 29,968 | 1,510 | | arm-64 | 30,071 | 1,447 | | x86-32 | 29,985 | 1,489 | | x86-64 | 30,229 | 1,247 | | riscv-64 | 30,045 | 1,472 | +-----------+--------+---------+ Test results difference (1.91.1 - 1.90): +-----------+--------+---------+ | Machine | Passed | Ignored | +-----------+--------+---------+ | arm-32 | +451 | -19 | | arm-64 | +463 | -24 | | x86-32 | +477 | -18 | | x86-64 | +326 | -28 | | riscv-64 | +461 | -22 | +-----------+--------+---------+ Signed-off-by: Yash Shinde --- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/rust/{cargo_1.91.0.bb => cargo_1.91.1.bb} | 0 .../rust/{libstd-rs_1.91.0.bb => libstd-rs_1.91.1.bb} | 0 ...t-cross-canadian_1.91.0.bb => rust-cross-canadian_1.91.1.bb} | 0 meta/recipes-devtools/rust/rust-source.inc | 2 +- meta/recipes-devtools/rust/{rust_1.91.0.bb => rust_1.91.1.bb} | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/rust/{cargo_1.91.0.bb => cargo_1.91.1.bb} (100%) rename meta/recipes-devtools/rust/{libstd-rs_1.91.0.bb => libstd-rs_1.91.1.bb} (100%) rename meta/recipes-devtools/rust/{rust-cross-canadian_1.91.0.bb => rust-cross-canadian_1.91.1.bb} (100%) rename meta/recipes-devtools/rust/{rust_1.91.0.bb => rust_1.91.1.bb} (100%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 01e4c7812b..20acf3524f 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -12,7 +12,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "15.%" SDKGCCVERSION ?= "${GCCVERSION}" GLIBCVERSION ?= "2.42%" -RUSTVERSION ?= "1.91.0%" +RUSTVERSION ?= "1.91.1%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" diff --git a/meta/recipes-devtools/rust/cargo_1.91.0.bb b/meta/recipes-devtools/rust/cargo_1.91.1.bb similarity index 100% rename from meta/recipes-devtools/rust/cargo_1.91.0.bb rename to meta/recipes-devtools/rust/cargo_1.91.1.bb diff --git a/meta/recipes-devtools/rust/libstd-rs_1.91.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.91.1.bb similarity index 100% rename from meta/recipes-devtools/rust/libstd-rs_1.91.0.bb rename to meta/recipes-devtools/rust/libstd-rs_1.91.1.bb diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.91.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.91.1.bb similarity index 100% rename from meta/recipes-devtools/rust/rust-cross-canadian_1.91.0.bb rename to meta/recipes-devtools/rust/rust-cross-canadian_1.91.1.bb diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 562bcbf4c5..f714487428 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc @@ -9,7 +9,7 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ file://0001-riscv32-Define-plain-syscalls-as-their-time64-varian.patch;patchdir=${RUSTSRC} \ " -SRC_URI[rust.sha256sum] = "9b94161dba3aa32192e0e75f7891912d98095ffb86087b07a05af35a0265a938" +SRC_URI[rust.sha256sum] = "66401bb815e236cc6b2aacbbe23b61b286c1fe27a67902e7c0222cfe77b3dbab" RUSTSRC = "${UNPACKDIR}/rustc-${RUST_VERSION}-src" diff --git a/meta/recipes-devtools/rust/rust_1.91.0.bb b/meta/recipes-devtools/rust/rust_1.91.1.bb similarity index 100% rename from meta/recipes-devtools/rust/rust_1.91.0.bb rename to meta/recipes-devtools/rust/rust_1.91.1.bb