From patchwork Thu Dec 11 14:08:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76287 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 13225D41D41 for ; Thu, 11 Dec 2025 14:09:03 +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.10006.1765462132976828220 for ; Thu, 11 Dec 2025 06:08:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=LuoB21/6; 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=4440256309=yash.shinde@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BBDNhsx838578 for ; Thu, 11 Dec 2025 06:08:52 -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=cddVSAC5x 8tJo50Gr/qZqc16wKWK+4xWLKjxlrcHsCg=; b=LuoB21/66pwiAagi5I5IoaTuA EOH1VSINezXHs3OCJDoKxJFSAez+D2sIwZlDHvkiXBacEBrkhpd9qfZLfBOSkkpL Lqj1oM0BBcULHnNuDwfw3RnDec1A9bE0zsHBmIfaciXdDbRP+7ZsVL14ve/M4gcv oX0+K4kKMnbOZR1Okoos+3hxON6Hi14B3If9wZ78rnw3mTGWHK/Sa6DDp+TG5Eix wPA7vyhb29oIdYc2pbOwe7Z4jR3PmavEmHEKMeLU+VyN504i2e06fDLdHaDKv0tx 43Cuipd4DpHSNmG8aRYjs3JZY0tKZVx2SYfnfCVi34Ef8wx19n79EmgBCUoHg== Received: from ch5pr02cu005.outbound.protection.outlook.com (mail-northcentralusazon11012022.outbound.protection.outlook.com [40.107.200.22]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay022t5ff-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 11 Dec 2025 06:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UDuNgCqILEv8OvwXVMK1+NATrFekiKnN4iApDEeDkyO0uMla222z9NumooEoOs8Y8Ye+uKhPsakQM7b/rDV1oqDhVLSjugGIXDP/HK8iIzccGLtOyU/6yh/CJOooayx3uGV9a0JqwjpnFONIKvak67X+Si8u7cKnr9U9fjc4kBThKknN5jH979molFBRKScnKISiSskb8/FGIh/jhP0qhoLKW5YG6mOFmLBldhuwRtFQKgH5AiAE9aXZFcUVwgiYmMtP3Msa69NKxrgyAidS9obiSjj9Z1Bfw/I8rURnkDdC+aHvfhKiLVXVxsFunbIGf1fpgAx7kRCQoVU0oeTLjQ== 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=cddVSAC5x8tJo50Gr/qZqc16wKWK+4xWLKjxlrcHsCg=; b=MXb3e1SGl0StBG5gbyqv1jOXnDDd7FcmeQ4n9dWWqwoosRhMPNQH/7bf8wwAC0TPfOpfntoNR/R+DZLuAgusXaeXO0fD0tPtjPhoO39dcOL6iV8IJy24mze7LWgOCo5RW34gBjg1gHHDWRnd4nKXuHR/Rofl4cO/Ja2WQBRmezC9lzanvj7jmQxxuvAGlIx70RRqCg4fpaPZCgjalIVx9uzUKbXWM1pskmue7a5AlfZn4j2s8FB8mvhL9A8zDsjghj+9Xd/lk3JMpVc3Sgdy48sO++aEqczIMHSLHBXKHJV5CZHPqE4gWFBt5hK0KUJUnGQZcn0uC62rfiBZ7KVDOQ== 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 SN7PR11MB7994.namprd11.prod.outlook.com (2603:10b6:806:2e6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.9; Thu, 11 Dec 2025 14:08:37 +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; Thu, 11 Dec 2025 14:08:37 +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, peter.tatrai.ext@siemens.com, Yash.Shinde@windriver.com Subject: [PATCH v2 1/5] rust: add missing zlib and zstd dependencies Date: Thu, 11 Dec 2025 06:08:13 -0800 Message-ID: <20251211140817.1250831-1-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 X-ClientProxiedBy: BL0PR0102CA0004.prod.exchangelabs.com (2603:10b6:207:18::17) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|SN7PR11MB7994:EE_ X-MS-Office365-Filtering-Correlation-Id: bc10e6a1-9141-4ab6-3086-08de38bec70c 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: UpsuQeo8ZoU18//+OqcK4cvzqeRXsSmyr4+Q13V3b0tMRInydYS0g2TS3nDY4XjL7BOtjA13OmESNLwIfSXROejsG7PL8xcQenjwtDAjDH1eWHAWuAMyyYmC276Zt5lT8rSBSP2rBuumuvPOh0bccNgIBJTRkfeAv0GK9VhV0v93m1MgKLXTduoGB+1RtFdy0TjBbJaDhlikiuumVext2+Z6mHPZc83YXckvGwp5HK+lG7iAw7ba8QJC09RD+MrLUObTygH+vlG6iGnDybp9NCR5UADjjOw27O6wsInr+y4EGNUY9SPKNylgXvDqId4XM0zkhEm9T1NVDeWd0NGMMN/dwkoj/GlfSZ+xN/j746rWyzd5W6c5w+Fvei91r8OyDWPu3LlFri0UyqfXHLnlT/TGHXJHg+wogp3IeFx6tpgVHUovwyvGCkVRu9OBJTVuJP807mGf0cPzgKHvt4EOst4qtK1VRICUEXdImNuF1Ygicrcj/E1VoltRNKRNlm05Q5bwIuQkWfde0D6WJK87LlBj9nRdQtOl5GEN3KJXGxe26tzu/k2XDg2jDw/l01mFyg2MJ8FSIXh3sReqvJcb5UdhRuAT4TLyGWhD6b//Yb6YGMrG++4Hg9PECeMu27GtATxpEeW2heZJcvm5nu+odRQsc4/rlVkjNucOLHJi+WKX9UzRkm2minyDkHa7flzMX+i6DUjaeVy/ml8RrPZGcWWwgDXOw3Bavyh15iHYfwoKb4pv6hvJpNnRF3dw+T8XiZROwuKdxV61/dNhV0K/GPo+T8ks+dgawg+sQo4QPfZ0D6KiSmGn8INYygWZhgCdr4OYC2HaEAvYGl1ojfrmMnyTKpJ4q2u0px5Zt6BLTrCutgKny1IaRC6GkbPO27JusBucGQERP4l+hcZJxVa4adrHvb8hdXPRA6cCCAAZbYnLTHzkRtQjIHdDRtoQtc2UPsnETaCUNBR8EW2fBJZUzfOVTJyhlDoa79SJpo6y5eAeXdcVwyb8H9TDU+RVmpg03HwAzT9+YjK9lTTQhEggNYt7cx7YfIevmB2JKNMvvggE6P6YiRSI+tfe1KV1YaF7iUXLkc8IMD5mD82hQYblldShEJNvkdr9fHAufgEddfntUQhassE8q8m8PTA920Y0IOaZYLNRYqmEwyP97GBW4ZEx9wD0i9rE7HCDsAMjeycasdkRetUi32CVspCQ8vNqS25QSZVBKLbIz9VPUpMjpEsTDzuayEnZuajTXDskImRbL59nhPFwF1Kepl50L7DyFEDXfihTQZ1CBzpXZwHx9Pq81MRSa60bg3kvbI6Ah64hu0MoGONYUwvjTbmfqJJxFBVBKzE/hPhKP4k2uXSoxVX0oQTOfDS+OFLj87Phq8NYJm34/pOI6897Pi0HOXl0mFnn6wu+cv7KxZyLIS1XGCX94Mob2LsHQPWPfvx+SngUJ3RlgPgHlp2yrXaVHn9DVXYm8Mr/rkSQlGHJV/tiBHzqjWP7aRNQbJCkFhQv98sqw5hU6Yk8xQ1wWALx0W5L 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: gaxE/YT/Pf0z8cwbAVXgzgWztqCKMQylypXw8LJSJJ5NO6R1TbTQFLk21P5SuzssBDneALVvVVgD3ij56I3kNu6dcPqmEa+IDXXRRj6uIeLvz7wK8ofK8yQaQhXE0vDKdJw6wIuqTosbWrf4qPjZ6qXaQlY82Hx1nHYG6p3KCGG3OcOGhytUdwq9/xtXmADH5H1sGgRdhd4iixseeiVZYxWUraSA+xR3Fzuu7Fo1TDfTfNcrm+GoD4U0OGvCOTW+a2ZPwvJlzP3HLn7pE+2xN0CT/np3b4bhU0AzcAw7WSSjRp+krNURJJNr53SSgEilJVA5MgrpxmZCjJQINjRZuz1VjUt5nQdFHXJdEx1qdRUiatFlM1Cob3l/SwOyRcJ2lwJxFUa/uAQVXrRZlxJaOHrePv95xMg5zrgBcEEoNYpfUktk4hAh0RmDTlYK64gAGYx0FL8uB5lxUHAJq6jaW1nNzhS7Ar39h0Z2FvbssPDQHjRMqGpZ5ipzemgCofcDVqywvo8oP7DoZsyNbMZ/TFETo7AlrLuFsUyzKWpjHI3s5rJ1/bZgGCcTVpXUVXg0BNFoOifoV8XcEKwOsnGEMKM5OHx4EOnRT/uLhBPu4bOEQ4VDB3YrwrK581luYXWDfRXGTcOTe2LOsYB5i0LkbTe0foo7HFTX/WlffGL35XAXPSIsc7ByuIrdRDfKjwac3DE4oo+RCtjlUoaejVXFI+YMMQwXrBCUBDXcgXDF2FdRSMujpeBbAtmRSWhZHFBNxvVmTXGsdpuRZoNElu3SNfxGnpOXKPEvP9VfE4vH/eLc3zDPXMl86nQVnfScyEpJdxk8UCYXUNA1+klGYhTLq4p4dutD80X3LfXRqDOahzWzh6r8ajZ6LeHSmMXtu9e1KnqfGAV+ni2MnQMYFYHu/0IS4fW9NiU5yDY6ZDGWtcxNbPlnJ1UUz/XW/mmFtw9qQ8dbWU50LxEXap6hFyNhW/ImSX42ck3dwPTyIX4wJ9ogpxCY/GhbvMxdLOck6kFICGXaEkhC6RHi4vaNQhMbOnD5uhQ/5Pwy+dAE+9J8v1V9jVpxzNperPA1Sro+0ESguNFMbvLfFHt5s5nxcnuJtIBJToWXZYIBCZpe+Zxp1vuYlLrfzFKnb+CGsg54jaCEC3sXf77vBX58DEQ/aqM+II3zjo+HlFXINlHiZZnERlcR5rLmjzq0qh3SXxaKsljNsqivOKoa3IuEixrUOB9Il9ADPcjn+N1wTYVxbHN4xHhXfxTWX/i/c+jfkwoNfvbSv82p1KUfsEQcVNhqdmqJR4cWNZP3nFrAdbknK/qzJ0588UCFYu9pgafjCDrAUSlFENEh358suNYvuzt14Wk4EYmdF6Yp14fv/MK6FRXVLxgWpUwn/FM67Ad5Xa532zaIlifx0egLfDRuydbpbN6mzDH1J2dL7UUzCjsyH41frKVYi+hoEIbTFF7XtU3H598TDRX7bjnYhBo1cYc2DiYYMCx4/eEfl5XwcWl72pPtm+5ul7jFscfW8wm1Gf7FvOPhL5GP/AC1+C7Hi24j00+bOmfENVWnq5/qNQIZl3Ne6aUCewE6tHk4NeOpdEtgi/IjlGHjCcwlZ0/NRfW1Xyco6w== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc10e6a1-9141-4ab6-3086-08de38bec70c X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2025 14:08:37.1176 (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: 5K2xNze9aKaJJlP0V7EuuHIdt+jKbcy6pIKvNpTTgYfWBLjUVB8qlqyMidmvLqGXn/5McjfPSw+bZCZRt7lDPIDxT7E2vb+RY6YjGGeqSF4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7994 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=bf1mkePB c=1 sm=1 tr=0 ts=693ad074 cx=c_pps a=cqrExuG+o96ZXwTaJI9uFg==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=Q4-j1AaZAAAA:8 a=a_U1oVfrAAAA:8 a=t7CeM3EgAAAA:8 a=nfL57PFk8sWjUCby0-EA:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-ORIG-GUID: -UE8EstpwtLpSBqaW8MXNB4ZpE9g3lTn X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjExMDExMSBTYWx0ZWRfX3UYlkG6RoLPa AwHjqWaD/P8DA+0gadtGnlxXEV9WoqY2ki8pmaMbvhCRNShozuwJ9KFPpc0nH3uSlLRKLlXk+1A FPwpsJmMXUusMoOFGvl9SYh+UYo1NRY8WGkXfCYKC7zmPjewrB/BiS8EKKH7WLkvsj7QwRlEG2S CCa9a5FFetmvjwRDdGYoKLJRIv/KRU7H63q04UyRpymMqv6QLKNBeItqDceiYnknMgHNYNjz+aS BRlNjQXIBEMbmE4UEqq54xRwmjKzmvKwo68V78oAKy/ThzhRO0G7JLBSDOlwHHjImj1mNk9Oe8o zfeZBnq7fisQi30bNyRl6Vo1Rz8/8LbeZfhbajoJH/0oHxod16Dumfj1R/x/YgBrCJKIWvXwqdm gVovcLgYKfBHyVGiyKtob4DEHo9LKg== X-Proofpoint-GUID: xFftQw2_9kNByzohd4nuZhiDtBLzvhLI 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-11_01,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512110111 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Dec 2025 14:09:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227535 From: Peter Tatrai LLVM requires zlib and zstd support for compression routines used by rustc_codegen_llvm and related components. Recipe-level RUSTFLAGS are not propagated in qemu image, causing bootstrap test linkage failures. When these libraries are absent in the selftest execution environment, bootstrap test binaries fail to link and cause following failure: 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' Explicitly pass `-lz` and `-lzstd` in the image and ensure the corresponding runtime libraries are present in the image. It was initially reported on qemuppc and later seen across all tested architectures (arm32/64, riscv64, x86_32/64). https://lists.openembedded.org/g/openembedded-core/message/225636 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 Thu Dec 11 14:08:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76286 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 0685FD41D41 for ; Thu, 11 Dec 2025 14:08:53 +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.9965.1765462124384078816 for ; Thu, 11 Dec 2025 06:08:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=bU1GfUYy; 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=4440256309=yash.shinde@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BB70sP31117438 for ; Thu, 11 Dec 2025 14:08:43 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= bU1GfUYyW+Antm8Q2BxLE+ssbMLXLhBi2J2v0L1P594e2aiMsxxVxTg5QAduLAcD +ON6pIYZ2C3w1ZBU9dv7uvXNRMwdwEVvyM3qBPvx+liiu1RAjx2yojVBCiWDVQrO 9xCbNxxQlltNmx6r0/2tey6VLTpqrxLv8oq+CXqkIr4eEFCYgatoND5JeB/L7Rom 0WpNyNG1iXs3yDCVTFE4uW4DppfA2yOE7qiIQIiXSbDsv8VDdnnQW52pxD/xzKOK H740iJfSkw7aT3xK3o6X2vH4qQrrOlfMsyVAzwyg5EXhFjC8E/wMSJFoTUeQSCXW cSUxTDDF8O/lo9UYdt9tag== Received: from ch1pr05cu001.outbound.protection.outlook.com (mail-northcentralusazon11010070.outbound.protection.outlook.com [52.101.193.70]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay01nj2a5-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 11 Dec 2025 14:08:42 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CSmGCoQBoTy0bwhz+1o4qBzC9/nTwGVjlM3yEdX498SmZDR8xi4KPfn7ZZcerfwdhc89oDAgqJozS+qHypdEPCQIxRSvM5ZvhdnIwpShdQXs+J4qfga/trILTjSJ3PwivADS3jD3YjC5bXQ8bWeGw/ADfleHmpcdB5siQjMz/eEF+SVro0uJFce/QLWEOv0gCYU+0rFkaX0f9Lhcq7aG+lC9IjsoCLSAvRbaIXkP1JjTlHlPypeCDXTkV7JWYzUpXogV9pDUDdT0YoRXNr5Nd1W+p++55UD1OnxDJpIC64TbN1hvRPXRWz4zOmq10UAwMkcJ4Ifc95Qu2TqzD+Z29Q== 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=QNXrLWmcuVK6UYw1QqM91OjLczBT6YyTdUszMLh/QLsybS3T43zcRnhks+2VIq1NymdbidrCwnsYyBX5jpK4+GQyQqXHTGQiONBIM4msF0RQD1nTTP5UanxthE/BkLYZNj/csS3FBtoSWAiBlJGy3H+lDWmHyT3rn7G773x/s3UKx06nkL3Nx8CcoGduCui2CSoS2xwO12ZGP+dTc7/3WMjcHGVoaqb4GEJE03y/Qy225dgYUYWs1PB6e+OmII8M3pUQK+0sy+u50sKust/X7EeweprpR0a4+IzTI7/lyysQHSuFWegVEbbaO+8FROxBkCeHK2AWBa82Bkr2x+u9JA== 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 IA0PR11MB7329.namprd11.prod.outlook.com (2603:10b6:208:437::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.9; Thu, 11 Dec 2025 14:08:39 +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; Thu, 11 Dec 2025 14:08:38 +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, peter.tatrai.ext@siemens.com, Yash.Shinde@windriver.com Subject: [PATCH v2 2/5] rust: Exclude tier-check and fix openssl-sys build error Date: Thu, 11 Dec 2025 06:08:14 -0800 Message-ID: <20251211140817.1250831-2-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251211140817.1250831-1-Yash.Shinde@windriver.com> References: <20251211140817.1250831-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: BL0PR0102CA0004.prod.exchangelabs.com (2603:10b6:207:18::17) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|IA0PR11MB7329:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c91ca6f-d371-439c-5cbc-08de38bec807 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: bWkmMXTMKRYdTo/F4JzRTqlFl9cEblTNRZtcwBHXlPIrGMwG2FIVH6BaSBzBYra69/P9qFb9yYG3lsDJaQApBbrxuzJ7n4rvb3htNieI8p8ebNl+w6Uv9mV7az8a+J6s2yCHjmbvgnGDtcHYGj0DSHWTYI0i/UOiR3lywnmfl1SQBY/yDOGCTaM1wfmlyve7cdZewMXzFkMM2uGU3ZQBBUqs/FvE0sSgbUjn1E/gS9VAqlyWAQbHJjywWcegFnG3hTpqZ5zn9KWfV4ByuEScdIsQPwY9zg332ZZUSNktAds1AOS+M4dyJoPwo+VSxmwxN814cdZx1ubxGAeTSb66POlZ3lNYaOiPBVsY4/KtGwPaNVmvVEQhgmEbx4GqgtgJNxhuapTgN7Okf/2BUR8ojXOmIm7VbBqfsZ22l/a1VmQ0S8yru/8RaDP4HLAGn3z4QNt+Ji+Kn+AcR6T0l7FcccvNPv/ucL/QurDOF5OaOQTBtKSjvLBukdgxBrvY7z53aSecUGyQsGEOxXbNUav8ah2o0Af7DR4Gpo5uOuFn7kYWx/BcYMmrUktXYu6PjoPICC0rpJGcM4JmBuJe6wHIE1OLHT90jefmzegRXb7rSMkLlOVoxZoGXYgC++EFKHN3VFn197Vuyd3tS2ymsvSS853JWnauTKrkNLgxsr35WweS0Hu/qhzXDu23uiaenVmCqicHYPafPh8qoj3s4rFU73US8xYGO2eaK2wYioo0shgQbKIEFQgJfmZldbZfE5ABUPgTr7WrrBzESn0WO225t379Hj8cKBfcn88SkEOs3uGTp4DzAu28HWoGD76HSej0I2SB8v/zpv0mkVcIzr59LnW5aZu/fC4ClsHY243o3BVF6vbw6Yab1jGAXCkotn+deAF8n5mLRg4DJ9Za8BI1Z5lROwBE/SECy7CIu8OfUHKmo0jB96ieFNtmC6yenl2DS1z4y8ZPbtqeZugl8T83bHuMylzbUWnikmZvRdfjreojt6Fpi9xcQOAzfuyiOOXVCj50PcGzQtVFJV6AUkQSRTM2NNq8tgEmLakZvzKtlrZKeuqShXnsn1xtW5x+rbYfKspvo19QRhtMfojzXD4u351slQp3r6DvHRclJkBbt3jrmfJlLZivWNIQd4K9pQA7qQz549WzKAY6Fq0KdLPSKna6nPHl19ZkoAxmmXIvD/eQYPBoK5RwsRALZPfSZbS4zOq+5fDhpkPixgEsjL2DyU8WT6Arfg33x96UzyjXHgnd9sfBw8d5f+0JSHGFnfPM2o2z/+M8XhASqEOyYuLfNMpj0oB6akSrymLB9mNglUXOQhzLkD/q0rxtsN/zITbHXBKVy1x/Ld/vtbfYTTnmPryxMI9WtHWtZxUrt5j7DhphI/UYLABKfMuyo3oYxMs+NHHSO62+++Fi8gIyj2ftrE796D7/9iMPy1S1/YKgqPKlZuUnQnv6aExFKEc82vmyMxo2yGL1ts682OiK7sqQuDFqy6cDzuecCSKME1/zG1lIjtPPacrY84zXH79oKaz0 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)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BdrPgVjEbU4m+QT63E8TzCI3PaiVpnd2ylZ0kO+URHV/KZNVenMejwAVLCCw/2Xx8MJuya/Xcs/tOAWEcYumKSmVGKMUrfMlY4920ZU//iwcwTm8hoVuukQzRdDIuYKXlfgTI8zeAQK2HfxVWE3pZ8PaO3aIcO7Vq1jcuE1vwAKNU4Fww8KQivDk7s3gEmQ/hYsYmOrHgs/GIISKDWCBQ7+luDzqVsUpii36WdlvTofHwj1Y5T5/qNuDsRZiw9ReuWb8awKEIp+2gKGt/aHao5a0fxu7215H7HvmgHy1eYGN/4+xq3UWuFiL3L/p7doHY1dMMcL8QVZBPu2v/j/og6CYmHA16kYlbC2GQRhFw8JKq6uCdMswZdqDT8A9gogPv9EjROSI+c3q6a386iqhW2ANT/c5foI4iub6/fd4N7unWgr2I1pljJfbOZiQhYA8pYDmXYhfvxq2JJghLhvU/PXztMIxUBRbjkTDEAYY1V/EYGtd13cavEOa+z9h6J9zIPWq/1fvBNh1DkHGOhdtiNwOyeikEVwzq8yqyt881qKlj+3oL2hY39OHfIYN8180JZEi8vgYE2Edue8V+rWEmVWOxJRm3Dh7ruIWFsbxWuvpcLtnTxumcugYkCsrja3Vt06LHp/u2YsMZdOrWubuJCZB9MFFSMvYbB7do+nN3YSdZzwlOFZwNS9bzcG40c+8/K9OaXoxLpBvxyaZemcm26sOnurIhdMgdSfAx3nVe//akjsTbwPqviJ7xfxdrTKy34ovI55p+lP8Km2wkJAlPW0K8eO9h2+rBYmrxdh0egHRFQDOquxeyPAdBQvqGXpBHMMuCN51WgoipQaPxQboqW6xtryvgglHUQT/3UZOE8e1fiLpCqcx4A38XoHLhvz5MZPprAJ3Q1sjnG6JQjxAsxhP9+66aInOrIkVm6O1JSMQZJKGsn065JuECza1PPbt1ICZjMHp+sVqNX7uQ2XiQa463CuXehPWRN5snU27e+NR0v0MYDcg9YKSCWSgNYXjI6a4e4/gOFUG7+f0Wk8jmhSkomh/thl0A1Gd1lATDFnTS6AqMol2pH22o8DYO2TfbM7r+jsA65O2l9gM2clzBlPw7v8fn1MENRm85/pnC51vo/GVZ6MZa6Ldut2DVA60oPGbfAVaOi1fG0FLna4Y7pCOIsm4nb5dCsv6dc3PJxlfFjlbpwItvsaQiDPlxCt1rNGTeWfBYtIy07wZVSjfe96NcqWaOubsTxh4yNKhc3G6ias44EJbGE8CmNDO3jz8WAzLtEURCFA5HPstbnue0+W1jO+HPR/yKk5tRIhvFCgp/14SKq/mhJS8l3V7AFV0jtPJNzfyrj+20/GtQk35INHkolV+GtfLGTymGRr23+JnPnQp+7wbzu5mEBMI2u8jJG/dsEBK/bEdeb+yWCkD+iPDxEGtVFzAUIAaI9YLkHnGHN6nH+hRY80MIa583Cr01KcLUjp8gna4JrQQNRGGOi/nTdTN4obMn5O3hwHlq+c4cZMyEfKvWX7TqPHtJ8dLRmw4OcPt/9HPPrFUhY8BDa8Z4tlDQ1LcMWpbsAeB+oJ1RWShQlm9KNBDrCIhnADxgg+jMFmp+4EEYcEBEqECxg== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c91ca6f-d371-439c-5cbc-08de38bec807 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2025 14:08:38.7225 (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: /5l87POgmxOJHiD2vrWBDzSNN4RZiiZstkLyuksn2JdFbbGvSlblNRPVk0l0LEbvaAslDEeS4oJKKiN1bG/6jztZNOIkVPQ76/7K1JpKVgw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7329 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=d5/4CBjE c=1 sm=1 tr=0 ts=693ad06b cx=c_pps a=HD3DV6xNHsutM5VcLnEsTw==: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-GUID: Q4l8cdckMc-adIPwMH_UhRWLImiQEUM0 X-Proofpoint-ORIG-GUID: L_aeyaLUcyxgvlxzYHAUEgHnPGNPXyIr X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjExMDExMSBTYWx0ZWRfX36rREXHah3jq 70bqGKv4PqhIcwotM+s2b2Sjx/8P7PM0m3HqtnZesKEL7nn6dizqRbdgXi6IyYPsJH1GNq/c2On blGowUhhlEU5SK0gC9eIHccUugFEY/Wqpv/ittJyvyBDVHyeNUyK8/jZJNpXyH+xzRR4y9D4J7Q xnW5ZIvLffQjvddF3tch+xMERAH781RZyzvCPwy/UM3cQLJhl/pw/5JE8jPmVkXBGw3gNcHhvum IzHk1FpAR/blbBycIlCNbKblUCsoO9snmcEu15jDledLIol7wqHmoC5Tpp3JTiIISEZjiKAXHG6 RFKqs6yfkzg6nWelM3ZUzrlUKLj6ckqmGNn1jGKacP6pQvVDjAPiHSlvEZWXayO3Uw3obamoBaA MQVhOfLVAAjB15+MM1gu/bUhqwEpLg== 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-11_01,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 suspectscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512110111 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Dec 2025 14:08:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227531 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 Thu Dec 11 14:08:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76284 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 00F2CD41D40 for ; Thu, 11 Dec 2025 14:08:52 +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.9996.1765462125360773858 for ; Thu, 11 Dec 2025 06:08:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=kqNpDRco; 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=4440256309=yash.shinde@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BBCn6Hf1690375 for ; Thu, 11 Dec 2025 14:08:43 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= kqNpDRcofIYG51mW8HrNiYhLlynkIpb9WGrcWrb8TFjHEeDoxvTRO3mWPm87ZJBM zcBptNzHdVDdLQrLRul6uakQ5jMKQfcgzBl+z8188NuFOaG9a3NRo9TqlZX3bjX3 BPzz6u1Ulfui8XPUfkDttlvCFhLyfQboh3Q7tQ/nU9A586UQ/UZh9FPZH+rKBJ8h Rs9oH9sUJ8UQDMI0Jg3EBn/1alKDFMmn5cwaQYVOl0DSbhsnfQfgXRIjV02pPliL O9Mycxqm/J+P/GYlc/IHSu9Sj5hAxGo0Q1UccLylVtFsmdh/sgEpff91Hofxi4xG XvXCxVMkcL2odEyzQg2wTQ== Received: from ch1pr05cu001.outbound.protection.outlook.com (mail-northcentralusazon11010070.outbound.protection.outlook.com [52.101.193.70]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay01nj2a5-2 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 11 Dec 2025 14:08:43 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TGLbwCsXRFwoz2voOf38Cy7I2xVFuO1ITuaJwPmxJih04dpziUnIGvUJg7pQSAEVyswzUMdC9WHwLH6AEuxZ76yuKWrUPlAktcZHHPMAR3Ah7N1zy2EjRRrHnyGCjOgEa956vrU1BwYh9xaQuWE4Ao5ApcPumH6b5boP4SHlZJ0xR0lQZucQOvReQ7JmfzmPAdo6GRa0wM7ZN0xhMKv09KNXXh+91mWbSKjX6WfU7kOKqrad0mwjLroSb4wjCR5B8YucmUPfzGG0EDdhcB6cmFFk2uvw1RsL/82Sw575pkzlyUa2L+KOAEUOzidduSqVu+2FxD40kDs9/ZfLJkxltw== 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=YmJKbqEeVxnvNCDjZ6N238srD7jkJBqkOC2R/y1G4cUSUOph221ko4owvNAnzrTLJe5nx7De5g4db0vbkZyQ2LYVk5j4Y8O4GNplmkqoQP3bESWqgdCqNoarX6lgt/VUB5qI7KjhfLOoHlFdNIHHiQWXQZ0zVhv3SLen8NKAigU57nk0FX4n1bloSb64hfDHbsdB3l/c0nYJb9tBGunB27XncrJc6VfSVVslHISnhY3Z8uKuWaQNL97TBnAsYfjItb+iFyopdL6gE35t6dmotCPorH59rFz9LcCo5pgvA2KAk7h+hrxtK+z+Oiq3aD6pj9RqE4GXGcHJYR09SmyUrg== 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 IA0PR11MB7329.namprd11.prod.outlook.com (2603:10b6:208:437::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.9; Thu, 11 Dec 2025 14:08:40 +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; Thu, 11 Dec 2025 14:08:40 +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, peter.tatrai.ext@siemens.com, Yash.Shinde@windriver.com Subject: [PATCH v2 3/5] rust: Upgrade 1.90.0 -> 1.91.0 Date: Thu, 11 Dec 2025 06:08:15 -0800 Message-ID: <20251211140817.1250831-3-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251211140817.1250831-1-Yash.Shinde@windriver.com> References: <20251211140817.1250831-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: BL0PR0102CA0004.prod.exchangelabs.com (2603:10b6:207:18::17) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|IA0PR11MB7329:EE_ X-MS-Office365-Filtering-Correlation-Id: d2030646-190a-42e3-4fa2-08de38bec8fc 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: Kin/QQi1IAoI4Y2R3N3sz0E7KaOqqZw3N9M7bDL/3wgaQnL/GmJ2lQDQ7DD50oCEPCNNMs8g6EMpmVwoAGZMiIyn0+PV0g1GEK0LkYGCrHsEHpwj3YrlWBzTIzSJaFkKXgnAEEYJxYGltEUoK6mKEil77OkN19A0TK1MQ1byQ9NLqS1L+kK+dO2JdE/5QBiXMR0YNpVkD1Mzh9TbYQgYa17O/ubQef7cgVdr5H4BUWgJXSuUBA2z7dpUwFNab7C0M6sI/Vva8OBhJPTs4ZgxBaFLtEzvihvkK0yv5U58XYe9D45s++kS2VJIpG6wEO/30d9bK7lyAsixdV+BsdexhTUSlI8lMkrf8xOzNav4o0vfJj7EBPwIi6ToP5HQDCkBcycbCEQLJ7RQS2JVwxJWxHth8UyfHSE8ZqT1AokwrErGvrRfca0fSi+py0lNGQCURGA1QzlATury1NPnXrlEp3bZoL91QIs9pxByL9gANDGC2K+aAWeA6nevSnYUfXgm8GgF3Odjpx1Elk0Ms2exfD3Am3PlNIM5f37C5i/5TmR2y2W813OZLHe7IT6gRTqLQGaWv1ALjR3OmJgXYSZeFm4rueAyhutbsXrkfF96DsOKL+7uWA21jY0sQNuT7dE9rglaUDKPC4wpUX/cipmLzVOfzL7AMWJIDaYvMYfAr5zSLklTAf9T7MfW6KRnwtmqi95c2DmHoR8L1dhOuSH1NOB/GtYuq+IL0lYx8kTUeSLRnglp44Y+cQbUlkultuttx51rwbUFxfCtWpqh1fnwQ+LfGfFW6JRZoikSrAB8lW2CfA7lSZy+hrd8Ofr3Z8NA7VB3E8+XCXJnLKIxyTzoelMxRwhzTklJ959QfjLkzzFZ6UsZv+3Esvsflg+XBOQosnLUGmx9UUjR/QZ4x0FC+wipMq+71ny04Uk8GIREyAn3Owepg1EpowiKOHqRD/AWn0v4eWw4BrwI9rX9465hUQBnR4flndkJUMqb5sP/xnjve5ntb51GNB3QZrvVTk0jNZ1jlbhw3Tpbsfykx/x29xrAaCyS6K1nV0AFlfQNMB2lEpgeR8yles6uYI5EPoem3QNlpccdWLOueRZDEJhipgOX9yx5Xar9rBPpHyLe7BegSTbr5qW2vmEKgJxGxHYK9aZ2SQ1HnFsxBcjdCUcnOiLg716yLi3Qz6IG3vQ5gxWoZKEKT4GyJIibRBfxcU2SUQZOyNUK3MceLGCpVON1zbWqi8ktulO9qXzvTTVPB40zWDapsSovjYjt/AIs/J72u/FJtHn5MnQ7uPYCI83cfOK76YFQ+9JAkyA8YUaUHo320RJtNb7yjbByLqIvHk/C3q3uljicnyYMpcOB8v7ydkNfo6ES7m0Cy5ZFi6PH5FfZFdgoAN4X6zf+hCfTRunlGk24HvnROU55g+fucVz3uF+9FWezNnh6dQy4+apnf4Wac9kTTdVSyoNQy2FJfmHay57sgyrX+SGN6qqZugvPEw== 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)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IWDS+Pd20cdH0Ufa6H017g+MNb/e2KNxeitAdTWRz7TC0ZTONSJbocH1wWiV+yIar5yAFKtLxqjSeZj/+g5vZixSDq4uDpu1feIvplIRODSWY5R/nEpsnKMohgpRlFtuttw0KgZFtwtL8CNa8I+vDXN0zgZQ3yeUgXedL2zxHtPMLH3GUuafke1Bj66Nuud66RQNkJwfxFZ2tUws37nKmk3Ga0yOGPpoJcLoxi+rfvg0TWhFGUDUe2ME9mhuAV91hl1xKiW5ZtIlbflbaN1uivqPpXsJygMZVayvF16/o3Q7ujvdcInERTIRjxJTQGg1f6H3/1wObgWn2G5Gia7McWhN+Qluw6Q2RFkKgu/et+Pwbyy1/fl1sJMCTkTIXKbdT8RmqjQfZB01JxM9ubc3arN738gfm60p+SgFPtO1XLFqeTpB2b95dm4KD7mjmfpjdi193xAfTI8ttsr7obX3IL1CYb/7lnnidsmQ7/sGm0W2bK3IMBjkE+4HzzTTNJXjTlMVUDWiQWlFaiu0bjeebATQfr9Mx43ye9SRuSZ+PUJi6Ar7OOqYRPJpegqlT1EjhG2uCSLwPV1AepYQ8fglgZ91sO1fi0hjYjx8XqsmRxxpQ0ALBnJOaFE23VTi8GDdAB7AtnZIoDEyNcS5oR1J8Soe9Im7TsKZo1nMAOJKEZheH6tO1oAgw+v0Jp7VVHyJ1nLPSSDh5BCM1HMEMekk12pfeo2QDZHQ6AWkIa+BaRWnslB21zKJavhwehF6y4VeqCsn9kHWLpkYbbAfsTYkKqZf8syT1D/R/g0lGGnsPIjlMTBTkueDAy6hT4GTaWaAzBnoHKZjhJZo2UWV5F3jnJjZ5DhHY4EIZwhicZO7meBGd7WdZeU43tqWung2dj4cAboDxvUNkDhKW4CAUJ6akKlor2hhf4YYFt4tu3cwMWhQKErDdf0a/MpC+fF8QJmRYTqVe0ZkaKNgGy7nP6ohbdR/zL3XN8mkmQgDSfb63N4hosLryBhnCAplNL2iBqOVtwhIulA3nT5dAsCqUjazslwXt0zZVljxGdN97aleObhYLaN4WwLxNliPLKOo3kGz+0l/uNeM6O2UbQ/MJFFcyzd1Sdbc6JEUY3F15tqUDDBKDo8pemZIQxCXavxwjHtbOnzcBvGT8SbaL8ZHI5VJEFadn455tNAa74IBKmAw3pKeT+t/VP7aRWYnjPPp9DGqTDOzokzwDU9Gz8N8425Wee6OKuMr+yu8tNsfRdPkQCaEzOzr/UWDuRQe5JYG2dPsWT38exNbOPhh2cSQSPb9SU9H91Tp0+DxU1rBs7k1HA0ZZ3p1cABa6woI2BfmHka17bxAKEqQSdxsVVmWzRqEWsikwjzCcGsON9h9ppRRE+B/ar5Y/c9U3Q768YUB53VVPzm32VfRmOAq1lqeiZkYa0C1ugSKhdB0N5T8JtEt3z8myCWfZYC2UrzL6shb9qJbF5hW//FacgZJCXaYq84i3XhyV/R49mFlfciK64FTlYZE8mBMnrVOopXWyl88dfdkhOsyAHQwPILyEBlg4qYyES82ZzIdarKJ/de6GxP5zk7PI3Tc78x3TKQh78lDZp5DEmG9fxXAfZYbvMBNnASapQ== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2030646-190a-42e3-4fa2-08de38bec8fc X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2025 14:08:40.3625 (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: WvYjtDpVZ7hl4NQESmakQxIJh+jp7Ag0uxVgoT0YzHGlEkyOdVm4S3hngp+ZCX0V/vfZ5mM/4JiSFVoYuQ6QG3YXH3KyUT6y2ee0bY8BAqs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7329 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=d5/4CBjE c=1 sm=1 tr=0 ts=693ad06b cx=c_pps a=HD3DV6xNHsutM5VcLnEsTw==: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-GUID: B9UE71nFmOwwochAL0ktQjyuL6kwwLJB X-Proofpoint-ORIG-GUID: zCLNJeTkH3aK9nerpkhv0xVGzgvzxPxK X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjExMDExMSBTYWx0ZWRfX9SvNVmNla0EA hlN8fpCAMdL8f0J1yGqtYQuW9PSYTdF8gWgKHe0bDL3u8QTn/PUePffuuc+4dOkd9UPvnH+bVnd RKpDxYjQBu84HxezYuQRVuRCda3JUGDbGT625I3atKMnwRgivFLgGbfuhCYfuYAnn9fs17FchQ7 PzqlODBarXftLkeM5yitNF2pO0MeHbvSEjRq/wsixUscQXtCFNwf+ETNcoESS6srL08JOT4YtNN Ur6MoXZ/qm98AsJNaRMgkTrLjRX5y7IDnKiJ6xijf23l1WgxROJ9AYdJPByJ4s5bLrctLj2d6u4 1bSRiRVoDxJkrmy2VWEtbnivlhCtUzNA1h83Jbq8nt05KNFfpGyKiq4KJnAvute6qHxO+ZI8cgh ChFBcUBQSSNV/ZfU1mn2ehozrjGmeA== 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-11_01,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 suspectscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512110111 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Dec 2025 14:08:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227532 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 Thu Dec 11 14:08:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76283 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 F376CD41C3E for ; Thu, 11 Dec 2025 14:08:52 +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.9998.1765462125697841845 for ; Thu, 11 Dec 2025 06:08:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=Jn47L3ao; 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=4440256309=yash.shinde@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BB4dHJ8886193 for ; Thu, 11 Dec 2025 14:08:44 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=2KReVMt+Mt2mbtn1qA24zSqKYXe6/BsS00mp0h44pc0=; b= Jn47L3aokP2exEoSWEvec01u/B2W1XMlegFKCMwVMQ4g2DoBlFUmZKdO6qov663v H1QCuC9UsChVzFtyEMeHbcrRqEPOl0DjkyJMGsirBqXCcm3HFmt7sxQaIQl5GMIU Gzde1tTvtaI/gkUayRxlhCI/G1a6EGS35C/oT5KDRDgkJvshph6i36jbcts9bAtv OX2/fLOXX+lnbsUg8utL9dDi/AE27IVsq6timLyUv+df1yreOMaAqkjilT52u5U5 nNUT4rj/JbMgxdu1wCeTE5HyBJI4F2qZzXyPaqOi5eUvd+jluj+AhboK0pPYZuJv eDZomT5MIfMfAg/Hd94/dQ== Received: from ch1pr05cu001.outbound.protection.outlook.com (mail-northcentralusazon11010070.outbound.protection.outlook.com [52.101.193.70]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay01nj2a5-3 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 11 Dec 2025 14:08:43 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yd7dRfqx0f417Rvg6Z5gm0BsVlQ7uLj7bQoJJYabYnYSFVIgw53JSoohwclwo6v91od0YYJUY1t28yfSwo6JiiaVmz5lgrxubWtCgIF1BBJUlTZL42hIyAXjB7uzBupsjh1RtBQ/+hLCzPwVzVpy8v4vMYO7DtVm0871iah8RZqsJCgGOyW5uTlzmw7nXD7BqpsGl9L2eWO8sWgbTTU+r2ngRn0oKs6MYWryh4cSCyL3rQas/kTEo/TxVBK/DNFVw7Pzrv75G01y5GCru1vQp0l9BGafMew4IR++ELDg6iNn18+lceS6q/dIciXvvopCtKcc3icfPKYqXwZX2Q/a+Q== 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=2KReVMt+Mt2mbtn1qA24zSqKYXe6/BsS00mp0h44pc0=; b=LQt2Yk/r4jKBrDEgz49rJzCVIP2sgwVEDe8WJPyNnIXhQy+psDx9X83Apkrd0/sNpxucx8eB0pOH8zcz7w7ePKZ0OqKakd2dj4JLbzurWkqPmJWJthDgQJtqYJmxx0Y/aTXrvbMskNdmhii4/vljCnvOV0G3OXbOq7hEU9VW0+GE1vqKVvb3h/5Gm4KhQZqFFhyqi9VuikWEq5eNexD9k8p/eBTjPQA5w8uCW5vKHpWYgj4UNy6kkWKxmG6hu5BMPYWStIcVraZ1yZ1/PUZ0Iegx2BeCoNn3yPOqdWXlFe34H1Z5/I6rUxyh0xbDPBH9k6/6T+LsIXO3nlJmIs9oHw== 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 IA0PR11MB7329.namprd11.prod.outlook.com (2603:10b6:208:437::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.9; Thu, 11 Dec 2025 14:08:41 +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; Thu, 11 Dec 2025 14:08:41 +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, peter.tatrai.ext@siemens.com, Yash.Shinde@windriver.com Subject: [PATCH v2 4/5] rust: remove passing tests from excluded and ignored list. Date: Thu, 11 Dec 2025 06:08:16 -0800 Message-ID: <20251211140817.1250831-4-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251211140817.1250831-1-Yash.Shinde@windriver.com> References: <20251211140817.1250831-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: BL0PR0102CA0004.prod.exchangelabs.com (2603:10b6:207:18::17) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|IA0PR11MB7329:EE_ X-MS-Office365-Filtering-Correlation-Id: 445753f2-a92f-417d-a415-08de38bec9f8 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: Se5KvpSpH2fexvUvTAu1MMeActJOBu/wh64vlRhFC1RIQSrq3TWiDxI0jLHBr96f7s9ZFdZxSXEFOkR0MoDUofBnwCI57aVl0OvrwXbf9/774qO7y61Pznsg4OqpJcVawVH/ofJFUj+A2DctAXzhXhrfN+jEy5RaLFZ6NTS4624QJga6WO1n9C+dIaPbtJnZzVW2BnwYe/xtmdCKDshOHhjrcbygHqojUKv8qEWnTxAo/HcmhMWNzbcMFXy5kOj8FpZbcooxdx4k5euPjIJdKV1coDHvpohDyNVqsT/RWkyRry3l0WeZmFELAOggmy46TPpu1YlZIS1aHzlZIIpEiJINXBAjJqNMfDTYJT+gGlejdt6gwieplsWl16nAK2Zz1WRNYtMOW0JolZjs/VaB07Wzjs4vEqIa70WBe44DVT3zOD/vxLcAtmbgsWSX22eVlZtcNPwc0NqCrDpY1efXHqU6zH01kT0Nsdz1/hg8tUQipocI/1y5uaNrOKDIMMXcQwb3uX8YK6u5Ed1p06AgA912pycKCLQQlB7nP3Dl4t18RKbYcaO+bwiFCfLF5rQ/cvPGpY1f7Vk3Gs+Y4OBm90Hy1CQYhDnNk7KIph+6SnVf2Gk+/7UTFRyv0JF3Yd0CGC1QcEWrB0IbBYnRbVFnVQ+jEFGh5L6c7ZgfdYB83dyQeU3BMyxYYfsDb0EispfNVXmYFVvyk0Xzbt975chb0feSt7dP29JrjPlReiM2XvR1oi+3sgtBz7iNmViPY1bfpBJtgeOuWBT6p0HMcHgJlLPtX9qRqHCo1zAgZmkMc6Z1BiwZJZFF+06Z2Zuc6f2zlAFHC/Qoz6em+OtwDr9ZSMrTXL0goFTsU+tpdYqXyIhobWsYLxRpcSOFrtfYIDRxOZ3Ic50CnLdihkc4bjZNoOHPZQACn3j+5JY7XjBCNRjZgb1mWvoQYiTM4WFgvClMhcLziH1R92EnZsTwsjTCsCwqVWpd5hUL7QaBIV5fDcuCpxTTUQNQsO99cue+4ApUWIvxbNWv0Jy6fxb/U3bi7eWKT/i6AZCL66812CN5mUn2D7jsE4h6VFxcY6PqEm2Z7BUvG/PanAAAvaYMGchXxctRtj7Bo0jfoOWFQ10ftNVu/cYTE0OMTh/pApMijHuabD1iC3c6JZPUnlJi6TZsXoWn4b8C7Vx5q/pv9bjkiCTe2/dRLcwi5BrV8jg2pNIyCo2QMNkTw7lDbSFU3qqO9UmtYHTNVWTPhvyJyksiyEU3ekaIuQIjCT5qvgRr+8jhsIUXiHL7zyoQSN1dsXD08jWKJJLmmQpK8IhTMCWd4tarmolNerf5wlbhRBbiqgr7KNE6pWAH4Vcr8sNUjLjTEGMw+sbBuPRRiwAIOxnr0gkn8jBDYxyifKQvm+EAUvrLD9kEK/R07QoPcCN2FGPqPu6vrjUPlnUPoPFvui3dLkcQKjLIP4o8DDmN+6kl8Bk7jCqtqbaz3azaYC6GcCWPGw4HnqUjeiv3gKo2tIHj5Wt3xIQ/rthqx6y4dLzhbEbiC5SSIFj1hStsfQPv6OPCQQ== 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)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UcIer1rvAT9QqxLtutid88qbA87vpy0mbT1CQhul5Wz/FaFLY5cwIYmpdhdW9+G3h4IgkfeDjrIXVbwMldXOFn2xOcKIw2cHmiaHd0kPqui3Pt0GCQ0fBk6bf98LMO/G5uwtmMY4xHm6jAYXppCL1aJd5m2Fn88KJZh+8jEf6jltKKt6IXFmFyggiI246rKHGCFWhP/k0uM0QbtPGwuT9BXFzc2yoSJVYrcgWv+2/hwQ8YAuBpTcecRCJuc7bcPVlhxIcoF5cOjqJknOOJ6CpZ+w28ibKKx7aQHfpt07md5juiQgq0SY5CQrWUECy8i2ZyJzZw56fbVtZNlRZbcJa6qYBxEnRu4J6WQkoJAEGsuvIlZc3I25eec3ykKfjvaHEtxe+bIrj5AD8GzWFToCLO5Y0Id5PaC1mp+D2u0NFUutIBp7l3Czyum95JA/sUrRdH27PnowcmABbITzv9ecYmeljuFwogJaQLJR8dkpStrA+AhiZc4TwFaIuItZ02h94DCmbrQvzyQq0we+MFop5Q56uamUUVc2Gl9CsZC39ZUuGIkdEGkmb0/4kNpVRdd3MXfAi6MkXHmvx+LvuH0r26+ymovX1ifhmm7MISPiXwnsNXxbhNVT/ArEOFy46zHEn7Omsl6DANoMPJkRm0TGRtb1etWK4jIRaMT3LaT5nRy6kSgEXP26Laj6F5+NxjJbQzWY6jg0lzioSlBT7qxak6opbYqqiMgQ+qkkm50VizXh2fowga9o/mVlw5wi3UZVYO4bSKDRUSetgH54E4STbghsH3LDWcwMdOrBJubQNwv73LvS4K07TXBxF+RrFnjp1yg/7Lgln91/CEyFQrFS5ifLuJpXSkdaVRdIYOPf1kfg3XdnaMvdZ1+izl3H8aMUwujNOI2ZdSSXakcsNyIAXWfHIo+Ilfi27vchZbgmdwGL2n3qvu7ua1A14pMFGv7opAthN0UTvopXqXN7UTfmv3HeudDuRbk88gQy5uRKPMuNjLYT5Kt+ULzPkB6ueDNo2AUEt1FUtktBw9oUTIPu0jxpxt+yHnv29NeRKMXCKA4WYZ76mQHvDNB+rRln2R8U+HCBZmVeYVLYlddpVuttjaGwmUs04fZvEvO8n8VggYbmAUV3Yfg1a4t+4Z5Dull54VDlLqP+LmvTM4F/2umM8N9DRAYIyMPySS+8F3TiyRmOzrrhFtnE/FoBWBn3GFVmXANdx3N+jdxrVbXXjqO6/pfM/12KdnxZlDZZ1b+85j9sxO9X3J0OWzBE/vx7ZEw77iQ+z3uSglzg+JdnWJsJnq3C7s/NpAgKfqIdxegNUfKqrL8o4Sx8txYCLmYRRPXZzbvhU/SM46RXSrBQEnLdOaiu8FuvECcOCpx+9PTinGN4R/zFncTdGXRgT2Duah/+QP+4xViF7O4nYBfWSaDBhmGMd0sYSrbQT8f0czKbR4JxGqFAgFScMwe/AGeCvPCTnMQfsjdRmRHkuvkgODXTM9cquyw1gShV2S/m//Fdll8/S7dV8xWDQIMq79EhiRPMeaeNtXFhSofqAd+3U7eFA+5iUHqDluuftnFM5hsyhh1cToQdYbk5S4EVxKWzdyUazpfnPawFNwG72tIPejDJ/A== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 445753f2-a92f-417d-a415-08de38bec9f8 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2025 14:08:41.7925 (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: 2mOoLeCunpR5zgwYXpsDrBkY6/Bqnj2qbv6OupA1/7bXoWrJIODr8l4LlGNVPNal7vDB4S2QXzYYFh4pgx7zZIweeR+tAPLkMHsisZtYoGA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7329 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=d5/4CBjE c=1 sm=1 tr=0 ts=693ad06c cx=c_pps a=HD3DV6xNHsutM5VcLnEsTw==: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=Fi9ycsKON-C4BOGCTiEA:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: o7iWKFDWFakZfGcc4tqjI9rllVDPZhIZ X-Proofpoint-ORIG-GUID: ioqSV2gNB6Q0JRE8-6nuG6_M175q5AyZ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjExMDExMSBTYWx0ZWRfX51UqnaFLWE1G uzlQ9+LBEnNijrAyDIIeY/1LenfAMVXKSXhnGx+vjvtmUj3oHwiGOWT7TnlP23HG2Q85B3iAHLG 1jXB5lh02wh7086bp36UPXsb/d4OYKmrlq2yPpz0VRb3wueEFiiwgXO5DUsU70CXqLqNrFrsFLW gMHgp6PEs4WhB+jEfMMM23PavCtNbISPjkfO5DovyoPekLyxd2yi6JppMaeLYxYbH5EtbdLjehr Iqq3wHcnJZY+rCpsDOIP5E3ZLcr3EtgTXxIzIHdSmURQ4wg+zuzTa2UdtIWwJzV22f4cvx+QCCe Q6z0a5SguhqpA3Z+YtLSfimAPlEVcdC4fdcwg2GuXuTWukMEEJaGABhsgiENbPrTOG+Im4h4gnc Gc7Vrt8JNJh8vPFBE3QRHvgLDsd6eg== 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-11_01,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 suspectscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512110111 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Dec 2025 14:08:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227533 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. The test was renamed to "dont-shuffle-bswaps.rs" and passes now: https://github.com/rust-lang/rust/commit/3580698996f6da6f006477809d7959bffcfd3bf0 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 Thu Dec 11 14:08:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shinde X-Patchwork-Id: 76285 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 0EB26D41D43 for ; Thu, 11 Dec 2025 14:08:53 +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.10003.1765462126965004354 for ; Thu, 11 Dec 2025 06:08:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=V+4n8/MF; 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=4440256309=yash.shinde@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BB6djon1083106 for ; Thu, 11 Dec 2025 14:08:46 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= V+4n8/MFz65TxdFicWBfzjTC1dCkTwx8lvsWnssh9VnYBRKykFW0wVwyV+dJfteg 13ETa8pkriX+tk8jNs3xbAAWEbuae1VLrvF7FxF0+8MZvjR7cATCgSpGU+Y+O34I IzOdBRa0vrEixn9aEWhiXQ1BT1ckL6mYEpBSzXAkuXk0fEBvoyd7T9zPad8/UVNw SkOpvTDlo63z8CX9WWf86PiN18omGLBotVfcg+IqVvTonbik2rwmWWukQlPhTUYd ExkQi58cFRPY4jO08BNRLccXL9OfhvZWNGlYUUfve/dgs8izeJKrxSGk3sV+mWDv pfF5vY8whxZU4ptZcLWs8A== Received: from ph7pr06cu001.outbound.protection.outlook.com (mail-westus3azon11010013.outbound.protection.outlook.com [52.101.201.13]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4ay01nj2ad-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 11 Dec 2025 14:08:45 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UZzfbPnwcd8VrXdzMO6wHH624QCjYkD3JsqWxlouzznnyWoiLKoVJFlfUQqvp4EHmfMY628WXptavoeVlkc7ArrnWMebvuRezPqaRZy1Zq3XWk7G7jwVMoaYk8oHWzS3BrNYmsmbXLjVsJ3bNAcA7NQJsf/ejbdQyMMPIP10f7c+YNoWiyr+REVuyIv8C4tZjNTfWwKTK1yLW5U7w3wjM8Dl70wWU9DsXmUBZHgsPLW5EXXlkplCovJBgjA+WYOyDW2WF9OhgLmOBXJ/Txv30nuwlkl2NuvxpnAAimgNyN8BGf9+EIpx+78YB9gIA3bTdme/L8VnRLrTPDBkgTst7w== 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=BkiMb6AhpA2QRxfwHxBVkAfDLpuPs+2DMleXSQBr+dRGJV6acgDydDmPajC1cfgvzQJ5YvEjN4RokJSf1LeaNdEeaPzyy84N+xNA+uiIkY+rLWLEAmwFtPtVLWmV+9HLI+PosdVZ8/f6ySPkWrQX73MocdYoztjeBHFO59iVDqSVWWcrLlNrAOUlslN+oypC7VdglUBYPsQoLuzSHm9CE+UTzTbuxBy34OuwA9YIUgC8lxZRl5LMVdis1qmZnGhPk1doq04ERiFXZxiRYUwA4neYE42JQ8ieI7R9ABSE66G/1l5CzZ6eIJ5a5trQQFs4Ioy7Eg1pIOyDbykjA67xLg== 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 IA0PR11MB7329.namprd11.prod.outlook.com (2603:10b6:208:437::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9412.9; Thu, 11 Dec 2025 14:08:43 +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; Thu, 11 Dec 2025 14:08:43 +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, peter.tatrai.ext@siemens.com, Yash.Shinde@windriver.com Subject: [PATCH v2 5/5] rust: Upgrade 1.91.0 -> 1.91.1 Date: Thu, 11 Dec 2025 06:08:17 -0800 Message-ID: <20251211140817.1250831-5-Yash.Shinde@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20251211140817.1250831-1-Yash.Shinde@windriver.com> References: <20251211140817.1250831-1-Yash.Shinde@windriver.com> X-ClientProxiedBy: BL0PR0102CA0004.prod.exchangelabs.com (2603:10b6:207:18::17) To PH7PR11MB7593.namprd11.prod.outlook.com (2603:10b6:510:27f::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB7593:EE_|IA0PR11MB7329:EE_ X-MS-Office365-Filtering-Correlation-Id: c78652d0-4488-489b-94a3-08de38becac7 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: dtPjo1WrGWiPNEQwdgO6z3C/i7hAf00RECNqoTnBQAb57Egfm/Eqsf8wyqUvgZjYG+FiuoveJzxBTVtAIaqp9lWSLvX22kyZo6KCmgM89GMjZ4TA7VkBOS/FeKFxzaZV0mdKWGM7bDpMptzriuyaOLVy96RGnD48kzJ10r/XK6QTdck1Ivqe6a1mXmp0/kKgSMPcmNI18vjA6rVzM33d/YqrE/3bSdBQXlgDddo7ivkQO8X1aY5olz3SELcvC4gKRYO/yjKjd6WZSBTbqeF3n2IKOjL0r3HhO/FI65agu6BkzVOQ0gbZ9/HoVhdn2qMIyod8b4tWgzWKVmbIGBP4ejtGaXbAmK8f/HEfbyhVZrCkVP2b0BGQ7q8x9Z7HS/394j5ctKsx2iX3nA/1lbOx7NbzAKkX1WpRluij7NDxNfb06mHrbZen0HjNuhGNs1fk4ZSU+11fWy2ywsJ2R9pwDuRhj32cbf9HkhvKDMHdDpxj5pClSVZ4mUIpLRIoHr0ulbFWJPbCk28+AO05Fd55IiGXspDSTC933YJGXJOgTt9ErmtHq7013Ivz35R9WnURfWlhRgNRuzzpfvgL4Y//zULbX0oU40PH6P1o+04MPYsE6RREgrwRQ5GtVtwVjxJE3GIgfTLyEcp+xBi7kMRukcS57tCprgE5fquzZjx+a1bqC0oXNlayiVoSoNcw2DToH30D0wcp3/dYO25A5fZxLqf2RrJCXUXEvNUVUysiTykXDDM13zrlLbMBmF5nSIi1HoagwSNw5RS3zbm6QNeVoxNiFjbQah1JNVJwv4yG2+PpxiUK8WQLPHeUodEEaYaThhbzwNi2kAXlpsmtqLBm6b+LhLp95CeDOCvKVRqnnx1gknyYjWvRIaWR8v6Sl5rtqCXFW1kDC0P1A/AzP8GKoeHEwUTgKC7KBnSJ/Y8fYDuYdLJX8P277ZBl6Ys522yLoLpJIQKpbwhwWjXl7sLEMBYH45WIwDWqphGeitk+JnThQD5fXvxNAkp+tOroXCWCAiusiiYwbDuTBJWFdDsNgEc5kVo/JQy9/DDB4FYw2P8uAo7zI5+nCXMaH5FrUQcXCpKTdP2TMCKW5G8aWtxZtY++s2jHrmNg+SkURNC0C2pcEjOiq8Nj1AMRluAFb468tXvw3wiWoQgZ9o9ITOB8UZH2SZgNeQZRoBmu2vDJx6J1PiBFOxyGi5UWjni8tdzXkorryYp2NrMYNGIiLhi51aw3bG5DC7z226thhqUESeZzdABnRuC2+3/U1sVvCF9lI7jkA0c4WZRAnd6nuOsBx2S26dZd0fNn2GGATzJpOXIGgcizlmihZIanHXECo80Xi8N+Iz/kAauSjzPA8h5/db/cJb154qHb00U89mbQShMFIShE1w4DicCDNnLvgjsMC/HBolFU1oqc5vPWzTa7ReyAEd//WymqT187SeXMcSeMEtluotqNV6QdZnzOlw1PEFMpeTgAEEIW2CrI9avDwfyTr41J2DkSGrFIaOWMtz1sQf9Ht6z/XPUCMVMZnMwj 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)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h/5qOWfJJH9/yrHYLQAEAxxCqZ4LM5isbsL5Y4Fs14Naz9Op61JVJh5UusN92qhzpMgy5Qt2PmKtCKAry7JmOvjiTA5xCG3DJ9ryae9GHs7lRRpocqiWABeYW2OzUrioDps/AkyN0SGWXDjMz6XjIELGoU04znauHqfKzlVfWGlIRGqhOk0essQxgeBzi7j3xopoxKTfFpvSNJiAMoE623mI2kYRC1gwmH6DW9uvMrQv3jjyv29RtHf7MyqPy/XI4j8YZkKNkXHbiR15S8aEza837NGdtDH9FLEfaxF+TAe5Bpihtu441h1brjZZvzQvvrPErovwCz8g1C9VdTJldhWTwr+ifpBkVebSdkVIB1eUO0+AWRYsQPxz/BCCKypKzmGYo+o8roJNC/5u5CH1+JjwBhWftshSzeJXzmPpPWasI36RFR3TEATP5VmUzCU9MrYtpQ4JYg+zHWSZqlZETeS5wnmp/sQ3nelvz2pJSzs+7LNo1AqH1MU/Fb51MBOgCnUa4C/vB535lX/T+9L+bm3fzvikhOtMaUqPYrL7k5DqOufAtmpsYdAUpkh79i6fcDaVvHJGA89PFds8MOvELM5ljxfrqLBnNu81mObdyym+7PKdfdOZu/FJgsyUVj4HBGeqS6Bx5Pw8MimIWd2Np7m1yWrMAnfOk7yo/GanryaJv0qu0Gv3z+7fNRp1ucQJ74WZ0xZ8u+/hDlzKNehLLoe82R4o/Rz4CDf0lmRo3KA4+AFHdE5kbLUYRSFOFfQxWGl1hycMRnZGDsuLomc7pw+1Q9TuMd+i8JXEaQXLGH5V6syS+DOKBey3HIC4jjHYM0jyX5qcHHcRhnVFYp8yL1YOtPQjnI3mE76jxSfwSyv8dnJxGZUTIpgtdG7Vg53ezapelnc1snEDiUAonCsCXra1tIzo9lzynOwnnowYVMHrMKNQ+i478bAV4OGq9LnV1db5wY5XUHBIuoh3gelOlY4fe1AyFuZCqvolrU6Qb2UDehQuoZdyczpjhBWfhFSDuD4vzKXrXu3mrbcucAetvUqPqicxnAqBcP9YXmZ8o47Pxi4HZalV/kou5JiDN4wO6tNxmg4yLJiPFCbfmHNQ78YhDI28/4W1M+B/boPE4lqgFOCVMEGgUrqWlM35cK7QEtZhHKUcSG5WxeyAHyEzPMudmvjKgv7Yoz3pA3teoTRe5QcdcHk3Nceso9HppkKOrv6VJY54hTjCDdrP3FjbAnpPqZ4xUEvh3ziSeHQUvXi0p/m8yeKeUU3Yt+U2yf9MypuDgCA3mnDlYFJ0TzuvOh5OE3bmipD/cPjzLK8HQ0WOoan/pFBxuLvV1U4btZVNzBWVE8Q1hzEcFIjMZ6YlYFrn38/+zQjYsdW8g+xPUiVwfuYj9kJ3x748kH5Tzv2C9qxtG7t3M2TqY9Cp8PuIf7A3hDptPz71S8LUZm9ndRBmzVRXhXyC8CTdai536f8ZgWKZHe1OWJODcNcstIu0pQTKlO36LxAJTkkmPRx/tgHiD3fUdE50/N1YIVooq3e23WiTKlrSYLM3pymwqwlmCQGKXJ/3f6zWPEmUXAAbOMtLyinl9AxXrY1S1CJ9d7CDq3vn6cCmXWpuTrNUG9GH9Q== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: c78652d0-4488-489b-94a3-08de38becac7 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB7593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2025 14:08:43.2344 (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: RpJNwRrSlMNAYFyW5EuNtE+7caiUqMjdAq8CtRS/+fZPLXr4E57nImbY1mK9kLP/4TsyillnYhIZ/3CY1c9Kfrp7S4KKO7mLfYjjor9Yu7w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7329 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=d5/4CBjE c=1 sm=1 tr=0 ts=693ad06d cx=c_pps a=6WLOJMs9f1Zj6h4O4QgpUA==: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-GUID: QNIJ3okSmM6VIRrN9oiFdCLtR_jBRGzt X-Proofpoint-ORIG-GUID: or7F8VkwBiMhK9ORFzdxJSywuFlAhCkb X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjExMDExMSBTYWx0ZWRfX2tldJOCIRibT qrV8RjU9hHCcuWlh+kc8CHdWGuNEVPyy0Sc510fRmfSxn8luVLfpDabEmap1dW/xj82Nk0P6y9T kaQBWxsURZOXn7S9mb3hJLsxvTpSCs3ZdI+qWNvQoqzLKNcl/lbqT5mqSOH9vz4SSLJZFkvBI3M D5SfiUyiLgB/nUCk5WGkNld3GJ2veMw4yrmQCNldcJUPXvgzXRTMlBT3tlfDw00lDU88YMHIYRq ObyGylNXoKGaK8izyOWwXJYvsmRqVKGa50H0InZKytwvQh+1xlND5X0yWIpbSyKpdr7WC2pKEhs ODcgoD0zFg74EtJfI3i57JEMnVar+u21lU3fJOWj+ICp0WUZDg1rPB9+e7GbRntXFL3x+0adfXN Y7gpwFyespwofmAd4L0bjDYctlT7jg== 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-11_01,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 suspectscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512110111 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Dec 2025 14:08:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227534 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