From patchwork Mon Mar 3 15:34:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepesh Varatharajan X-Patchwork-Id: 58217 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 731C3C282D1 for ; Mon, 3 Mar 2025 15:35:26 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web11.56184.1741016118819285136 for ; Mon, 03 Mar 2025 07:35:19 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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=51574f6b04=deepesh.varatharajan@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 523AuqMt001627 for ; Mon, 3 Mar 2025 15:35:18 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2041.outbound.protection.outlook.com [104.47.57.41]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 453s78a90j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 03 Mar 2025 15:35:17 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rB0uSNyHv7nmTCtguYx/eNdNtx/y6e7cDSU0EJ7nPxUWyQYDH9LQ+yVvE89LJZd+lzrhKEnK2RwPTtezVIZZqJ/9D4HkcfeNtOcQYxp/sRMhabLzvqkgwlSrWlcGhWZ/ECDetKL5VBImi0U88CL0pcueMeta1iqjZMWshDAiub/zk63IQPN96SFR+BaBw2fj2EGRBmexdxPgWqug+r867PzwVLr0Vu7wqw3zNV0P7WKiLosxNzasLCR+X5gkcNYmB4yQGhf1SBd/sLaRZPw8vvFREnlqbxh986yHw5B5r3RMygfAAQ28d0SYgaWZxa5zwGoQ7IDC09fSn1nWnVxg3A== 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=JSJ3yJHX2pY2lU8TmDPj1PTl7XsrvhM1rKrxp922Bsw=; b=yCZNKNq81S7bVNDb18vhcjWfA9eDt515/0NT0rp+YaXB3Ni6y5euNnveUduQO/Jg9otTIFzE07AzrbexfkCqCnxqLI6Z2QbCGwKsiKxq0NjZWOVSAjvWaEIauaxKnsMXDoptmFbNw74vCyUSrtmikOQSo0S4ZfHYwHyEYa3fsRRfbWt9kEcTflr8bYkuQgiLtqzAae+t72d/EuJdrQ3r+IeKL0nPv0uJIj84RLfwiStGIxNimPLkTVPKaYgO3dqAgQQ3dJA5TjJK2dDkslz4JLailnIL+qt9lZ4/sSjwUfUUv+1YUcmXICVz3QAPAL9FnjcuuK72AusZRvjOMO2zRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) by SA1PR11MB6736.namprd11.prod.outlook.com (2603:10b6:806:25f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8489.26; Mon, 3 Mar 2025 15:35:14 +0000 Received: from SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f]) by SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f%6]) with mapi id 15.20.8489.028; Mon, 3 Mar 2025 15:35:14 +0000 From: Deepesh.Varatharajan@windriver.com To: openembedded-core@lists.openembedded.org Cc: Shivaprasad.Moodalappa@windriver.com, Sundeep.Kokkonda@windriver.com, deepesh.varatharajan@windriver.com Subject: [PATCH V2 1/3] rust: Upgrade 1.82.0->1.83.0 Date: Mon, 3 Mar 2025 07:34:56 -0800 Message-ID: <20250303153458.2879205-1-Deepesh.Varatharajan@windriver.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: BYAPR02CA0025.namprd02.prod.outlook.com (2603:10b6:a02:ee::38) To SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5648:EE_|SA1PR11MB6736:EE_ X-MS-Office365-Filtering-Correlation-Id: 8bf4d29a-d6cd-472a-6dc4-08dd5a68fe18 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|376014|1800799024|13003099007|38350700014; X-Microsoft-Antispam-Message-Info: UF7v9GKYAUzW7GpDzJZ5EgbXP9vM4q/toAN+AojZfGGLalk4RnQ3U+NWenVwgce5wZ1zfaLNm+sZLCehLl8AYknZdlGo2Ep4ESqdpXAG/7+N/zCMorrww+Yjy40Gh5ALLPLKZ/0GJ05YJ1iMO6XfHNVekqEWHpiC4+gBQgQpfEVeA6k4EOeMffjg6rgKg+36TxnCad06Lds+Z98oDN31DzYGkOBBroJ43Lw0sLotSOQuSgddzqVMATijuVI12VQkC9IvB/rzZl1SB4Izr/6dVfJHSJnk6CatIl5WN7wcigzM1X05iV54gP2hYSt+yI4y3yrqycRqH/hyu2OJSeW4y89OwPYFq47n3MYUO9M3/Z/ImNAFEcA4fQRoqy2oONCC/B6XXvH163mlD/1d2q50KvDkKz4oSQrGLTBIBDZ27lP6yrThE7KbfSIX3C5W7YnkTivYxQOEMW290fAXKzjbDjm/9QlOc0VYn9sENHhe0+KSLKC2pdZOsVjdp3KpDgsqw86DvqBI1yYN+gp7d12sgkq4zCAIvHvEc3RwBv7Fzgigouj3meDXhCAW/XODfklIv+kNhMigGsvnTEx83GwqbbzN+n2c3HPjk1ahfKtVNj9yWkzhDnrxSj1p0zZ1AqPKWY/QnTN5Z9SmAbIEOC37FU/spHoEzk/JfdMX7A5Kx7o4NEjZQaJUO0BV3UeN4HeyNHYDJiT64wBMoly75v0qWbx2Jz9b/RNRfez9FDY3/md2utUcJTdg1TVkao7KyKhwUY0Yk2/FHPcvOEKpAb9hgh9EEvtGFpx9FJZO+1Af5by0WCy1h3TGyhfAEyJ7QgoZDReoQLDulYCoJxMIDn5k44MDeUecyRlfcUwCW4l1kiqExIVU3pRFV5i6+mPuidoWlKtq7wJsR5fZdCQFPpJuwfrYAyIp4t3fwf4zG13wLJNLmo2+edxAsrsGbfh1xEP+3CZcWsUU4PM7AHY6s3ZU3ckVEYA7ak/H3y9oRNiIueaOevYhqXlHM6RGZf+DXLIoxkJIQi/JlqZcv0wzY3naV+ayphWQOrSNWIXm38ZxfLu090LjRq2QzXCcL7XocQ3yLh0owTfxuQg7nDA6y4RfDs5kpbwZhG7VKrceftn7BSuisrXPosJFLmk+zYlG1cHv5OFDeAj6v2tDvF6GfCoNnkT5zaEfHwJhZhCizzYFqWiyOVyPNEOBcZMsxed0+qFnHKd/lwLxh2jrODCWx2Ttv2RLcTafcVk9wiogXPF97KiM617WMjgWUYxsi1tfZ7Iyg2bFhZzsxS1ML5gtkeVZ4tAj3BgOZ5p2iVloqJlhzK5YNRjC8pTHaFHEFBeGmw7UUn4fxB8mqThoPZymLuLFWT9wbfeQKavz3j1+/6SGljZaUEv6VdRZYnUnEvqPbMh9yjXgAZQdFu5KESkosrcAng== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5648.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(376014)(1800799024)(13003099007)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QQjx5MPwi9DHwQWnOBMdVYWSUId8ikbEKpoHb+Tm2QTRK0MpMBdtNu+FtMpNRKLYRrRv39vhrS0XPpqj2jHPLUycPyP3MgoAgJWY+EQdey4q5RMMGAhgwAX5JX6hhnn7aoZs3gyGDh8cR2VnuJn/NuaNsqbJEb5i0wGs04CzLXvRJRqIxHu3yvaU6kNszU3GTCGayRai/lMLizcYF7VDpSpD454lT4o38+d5CMgRyxxaNyrVDl4PJNkTdJFdoypBSswYtMMJmXupvy8owIcuoDtkRWk/Elbul2JPPwKhCXdVrGNV8clBGOTu9N9k2jLKoywsAbmVRtBs6iNSguIjaWIDCfbrAjAk6jhBlhIAofTrOtxcVTlG4GWQ0Lb8WBwxe8RSFaPlBU60K3n6p0CKMAdToUz/hAxpA0bKXfB/73oi3KhMf6OUZt5WcWF6IriH6051OWxMXGqPBrKRN7qcEKcnSkUhhLLp2FBNAcFaHApooMhOuUtRlVGTZ3F4iUyb0Ax6DETSfxiTsgxhE9y6wP+50oNRyuDvq0ZOoQrxApwCVMP6wwAEoSKm3HPV1rhFRWRe8OV7Ozg4wUErlKFSBSJeYBk+DpiM0UFJPnPpsGn1uEAid+BBOohAp0W62ko/a+KZsDUTCFW1wlMwUGj07wLdHa2yto6e6ehGY02h+pjhVw+TRukc48FwlIzubmS0oyad7QdJiZ3hFNW5F0rzmyX4MBnGjUUHna7G+12OnTMVEzbluPdV23NPs5ed2HDVsMu4zzvUcykQNz1NHMKolIY2/I4rJ9b2e8uPiTgtlDwV4MNMNUuaQACIo+DJSpewwPTtksjuGfDuOmvqD1B4vfaDTmEho/N/O/oSSTdsTK4ZaGmSjClWnrNJSO0bLc0ffpnYP/fJpg8bGR3hioMMeO15vBy9rNqOiDwMX1Y+I9+WymZQBzzm0s3gcSA16iHdYM5i1CnbUTs9a1sp6FDxqge462KUtFxRIR9oqNrXuJ8mZKMbLRC9i0cypIn1RDwyhNMJoR/cPZs4SbVqTxY4ygxmc0lzsSqKbnXe+hc2cS9f0Hbir/vRQfLh3PKl2UV1cDzEJ3yEup5JA900y7Wdn011HUwLq3ZtLRDa7D1ZnFXFITXPTYhTOXK9ejOt+XJBAfPQQLiewsTn+ESbAo8Do5U+yX4NuuhqLR8RJFw2IT2mkJoRpRxY4v8z0SUYLl2xaencxzK2rSt8ahfwizXriDZxbvoRQzWhdxbLAJmR1Dy7L+zgwgNMFue/YLEVMl5VRRWWt/ozIn2C0VOJMatVkTzePemjmMm8gNtTjiKh2wTLeMK26mqEBGc1k4i+Gula6iI/6ENU9Wza6xAfCGlc9FBMupYXD0L9BEIcfC7XaBZ8UlksLnCL0cprFYblhn1eMMWi43LhMS0mx4K2KjkuEErKS8+0qa4dWJ8ul27kzhPwGX3kiloIrjEX0D8Iy3PAA72bM10p84rYgmiW4uIIbu87zjHCe+J6p2KWs3qj0/CR+j+yLUJ9vlXBGuwhGT8ODpXgUcg5sztaTKVPEsDMxTCg6sU5eaSEGE1cxaVyP+Dojj8h1P/AOGDS5bnDN7G1C4oodYlrSXlIgyFl3p5vk6xGjI8J3i14QFVTFLfLVSM= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bf4d29a-d6cd-472a-6dc4-08dd5a68fe18 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2025 15:35:14.4345 (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: Zu3jbo8beqVX7SwWo7EeYkD6oh1MJH8CnEADwjC5p0bEfyP7iK+ihWTIJKivxVWefU/voIMVIBeoPQw68vCltfQYMYluRcwdnzza9EIZOEicak70lLxkYF66WNXiU/e8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6736 X-Proofpoint-GUID: Mf9VfVFscbREaXSXO4ZWATesgVYmxWSM X-Proofpoint-ORIG-GUID: Mf9VfVFscbREaXSXO4ZWATesgVYmxWSM X-Authority-Analysis: v=2.4 cv=cfwormDM c=1 sm=1 tr=0 ts=67c5cc35 cx=c_pps a=7V8mf9/socFTThwl5N0qNQ==:117 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=Vs1iUdzkB0EA:10 a=ei4SEBeUAAAA:8 a=NEAV23lmAAAA:8 a=t7CeM3EgAAAA:8 a=b_4cnykjG1GqKH0URbIA:9 a=H2EipEnXpwY904MX:21 a=ODQXRAfQNnAA:10 a=8zIOOLb7Ym0NljyPXbuS:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-03_07,2025-03-03_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=999 lowpriorityscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 clxscore=1015 bulkscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.21.0-2502100000 definitions=main-2503030119 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 03 Mar 2025 15:35:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/212211 From: Deepesh Varatharajan Rust stable version updated to 1.83.0. https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html Renamed and modified the below patch to adapt the new version. rv32-cargo-rustix-0.38.34-fix.patch->rv32-cargo-rustix-0.38.37-fix.patch Modified the below patches to adapt the new version. repro-issue-fix-with-cc-crate-hashmap.patch revert-link-std-statically-in-rustc_driver-feature.patch Dropped: zlib-off64_t.patch https://github.com/madler/zlib/commit/a566e156b3fa07b566ddbf6801b517a9dba04fa3kq Signed-off-by: Deepesh Varatharajan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.82.0.bb => cargo_1.83.0.bb} | 0 ...epro-issue-fix-with-cc-crate-hashmap.patch | 97 +++++-------------- ...d-statically-in-rustc_driver-feature.patch | 65 ++++++++++++- ...ibstd-rs_1.82.0.bb => libstd-rs_1.83.0.bb} | 0 ....82.0.bb => rust-cross-canadian_1.83.0.bb} | 0 ...ust-llvm_1.82.0.bb => rust-llvm_1.83.0.bb} | 0 meta/recipes-devtools/rust/rust-snapshot.inc | 76 +++++++-------- meta/recipes-devtools/rust/rust-source.inc | 5 +- .../rust/{rust_1.82.0.bb => rust_1.83.0.bb} | 1 + 10 files changed, 128 insertions(+), 118 deletions(-) rename meta/recipes-devtools/rust/{cargo_1.82.0.bb => cargo_1.83.0.bb} (100%) rename meta/recipes-devtools/rust/{libstd-rs_1.82.0.bb => libstd-rs_1.83.0.bb} (100%) rename meta/recipes-devtools/rust/{rust-cross-canadian_1.82.0.bb => rust-cross-canadian_1.83.0.bb} (100%) rename meta/recipes-devtools/rust/{rust-llvm_1.82.0.bb => rust-llvm_1.83.0.bb} (100%) rename meta/recipes-devtools/rust/{rust_1.82.0.bb => rust_1.83.0.bb} (99%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 13f31d46de..f7a6cf0283 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -28,7 +28,7 @@ GLIBCVERSION ?= "2.41%" LINUXLIBCVERSION ?= "6.12%" QEMUVERSION ?= "9.2%" GOVERSION ?= "1.22%" -RUSTVERSION ?= "1.82%" +RUSTVERSION ?= "1.83%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" diff --git a/meta/recipes-devtools/rust/cargo_1.82.0.bb b/meta/recipes-devtools/rust/cargo_1.83.0.bb similarity index 100% rename from meta/recipes-devtools/rust/cargo_1.82.0.bb rename to meta/recipes-devtools/rust/cargo_1.83.0.bb diff --git a/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch b/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch index baca486cc2..f47a02c261 100644 --- a/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch +++ b/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch @@ -1,4 +1,4 @@ -rust: reproducibility issue fix with v1.82 +rust: reproducibility issue fix with v1.83 A few crates are using the updated version of the 'cc' crate and this is causing the generated object file names containing a unique hashmap id. By the following changes same hash values will be genarted even for diffrent build paths. @@ -8,47 +8,6 @@ https://github.com/rust-lang/cc-rs/pull/1277 Upstream-Status: Submitted [https://github.com/rust-lang/cc-rs/pull/1277] Signed-off-by: Harish Sadineni ---- a/vendor/cc-1.0.97/src/command_helpers.rs -+++ b/vendor/cc-1.0.97/src/command_helpers.rs -@@ -257,6 +257,7 @@ - /// and store them in the output Object. - pub(crate) fn objects_from_files(files: &[Arc], dst: &Path) -> Result, Error> { - let mut objects = Vec::with_capacity(files.len()); -+ let target_substring = ["rustc"]; - for file in files { - let basename = file - .file_name() -@@ -277,10 +278,29 @@ - })? - .to_string_lossy(); - -+ // Function to find the position of the first occurrence of the target substring -+ fn find_target_position(s: &str, targets: &[&str]) -> Option { -+ let mut pos = None; -+ for target in targets { -+ if let Some(index) = s.rfind(target) { -+ //If a target is found and pos is None, set it -+ if pos.is_none() || index < pos.unwrap() { -+ pos = Some(index); -+ } -+ } -+ } -+ pos -+ } -+ -+ let filtered_dirname = if let Some(pos) = find_target_position(&dirname, &target_substring) { -+ dirname[pos..].to_string() //Keep everything from the target substring onwards -+ } else { -+ dirname.to_string() //If target substring is not found, keep the original dirname -+ }; - // Hash the dirname. This should prevent conflicts if we have multiple - // object files with the same filename in different subfolders. - let mut hasher = hash_map::DefaultHasher::new(); -- hasher.write(dirname.to_string().as_bytes()); -+ hasher.write(filtered_dirname.as_bytes()); - let obj = dst - .join(format!("{:016x}-{}", hasher.finish(), basename)) - .with_extension("o"); diff --git a/vendor/cc-1.0.99/src/command_helpers.rs b/vendor/cc-1.0.99/src/command_helpers.rs index fe919a5239..2b1f442019 100644 --- a/vendor/cc-1.0.99/src/command_helpers.rs @@ -92,11 +51,11 @@ index fe919a5239..2b1f442019 100644 let obj = dst .join(format!("{:016x}-{}", hasher.finish(), basename)) .with_extension("o"); -diff --git a/vendor/cc-1.0.105/src/command_helpers.rs b/vendor/cc-1.0.105/src/command_helpers.rs -index 2fce90a9da..584e386edd 100644 ---- a/vendor/cc-1.0.105/src/command_helpers.rs -+++ b/vendor/cc-1.0.105/src/command_helpers.rs -@@ -259,6 +259,7 @@ fn wait_on_child( +diff --git a/vendor/cc-1.1.22/src/command_helpers.rs b/vendor/cc-1.1.22/src/command_helpers.rs +index 07dfb80412..e01b62fa39 100644 +--- a/vendor/cc-1.1.22/src/command_helpers.rs ++++ b/vendor/cc-1.1.22/src/command_helpers.rs +@@ -285,6 +285,7 @@ fn wait_on_child( /// and store them in the output Object. pub(crate) fn objects_from_files(files: &[Arc], dst: &Path) -> Result, Error> { let mut objects = Vec::with_capacity(files.len()); @@ -104,7 +63,7 @@ index 2fce90a9da..584e386edd 100644 for file in files { let basename = file .file_name() -@@ -279,10 +280,29 @@ pub(crate) fn objects_from_files(files: &[Arc], dst: &Path) -> Result], dst: &Path) -> Result], dst: &Path) -> Result, Error> { let mut objects = Vec::with_capacity(files.len()); @@ -147,7 +106,7 @@ index 910d068242..2b85a66729 100644 for file in files { let basename = file .file_name() -@@ -302,10 +303,29 @@ pub(crate) fn objects_from_files(files: &[Arc], dst: &Path) -> Result], dst: &Path) -> Result { let mut cmd = Command::new(wrapper); -@@ -118,6 +99,9 @@ fn main() { +@@ -117,6 +99,9 @@ fn main() { }; cmd.args(&args).env(dylib_path_var(), env::join_paths(&dylib_path).unwrap()); @@ -144,7 +143,7 @@ diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder. index ff0d1f3a72..b2c9602e57 100644 --- a/src/bootstrap/src/core/builder.rs +++ b/src/bootstrap/src/core/builder.rs -@@ -2153,7 +2153,7 @@ impl<'a> Builder<'a> { +@@ -2201,7 +2201,7 @@ impl<'a> Builder<'a> { // When we build Rust dylibs they're all intended for intermediate // usage, so make sure we pass the -Cprefer-dynamic flag instead of // linking all deps statically into the dylib. @@ -197,3 +196,61 @@ index b8b0432aa9..b5bd71e015 100644 use std::env; use std::io::stdout; use std::path::{Path, PathBuf}; +diff --git a/src/bootstrap/src/core/build_steps/compile.rs b/src/bootstrap/src/core/build_steps/compile.rs +index 27bbc8bd8f..a6fc4df2eb 100644 +--- a/src/bootstrap/src/core/build_steps/compile.rs ++++ b/src/bootstrap/src/core/build_steps/compile.rs +@@ -1934,24 +1934,8 @@ impl Step for Assemble { + let src_libdir = builder.sysroot_libdir(build_compiler, host); + for f in builder.read_dir(&src_libdir) { + let filename = f.file_name().into_string().unwrap(); +- +- let is_proc_macro = proc_macros.contains(&filename); +- let is_dylib_or_debug = is_dylib(&filename) || is_debug_info(&filename); +- +- // If we link statically to stdlib, do not copy the libstd dynamic library file +- // FIXME: Also do this for Windows once incremental post-optimization stage0 tests +- // work without std.dll (see https://github.com/rust-lang/rust/pull/131188). +- let can_be_rustc_dynamic_dep = if builder +- .link_std_into_rustc_driver(target_compiler.host) +- && !target_compiler.host.is_windows() ++ if (is_dylib(&filename) || is_debug_info(&filename)) && !proc_macros.contains(&filename) + { +- let is_std = filename.starts_with("std-") || filename.starts_with("libstd-"); +- !is_std +- } else { +- true +- }; +- +- if is_dylib_or_debug && can_be_rustc_dynamic_dep && !is_proc_macro { + builder.copy_link(&f.path(), &rustc_libdir.join(&filename)); + } + } +diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs +index 9ac0b0a01f..b1374042fb 100644 +--- a/src/bootstrap/src/core/builder.rs ++++ b/src/bootstrap/src/core/builder.rs +@@ -1701,21 +1701,8 @@ impl<'a> Builder<'a> { + // Build proc macros both for the host and the target unless proc-macros are not + // supported by the target. + if target != compiler.host && cmd_kind != Kind::Check { +- let error = command(self.rustc(compiler)) +- .arg("--target") +- .arg(target.rustc_target_arg()) +- .arg("--print=file-names") +- .arg("--crate-type=proc-macro") +- .arg("-") +- .run_capture(self) +- .stderr(); +- let not_supported = error +- .lines() +- .any(|line| line.contains("unsupported crate type `proc-macro`")); +- if !not_supported { +- cargo.arg("-Zdual-proc-macros"); +- rustflags.arg("-Zdual-proc-macros"); +- } ++ cargo.arg("-Zdual-proc-macros"); ++ rustflags.arg("-Zdual-proc-macros"); + } + } + } diff --git a/meta/recipes-devtools/rust/libstd-rs_1.82.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.83.0.bb similarity index 100% rename from meta/recipes-devtools/rust/libstd-rs_1.82.0.bb rename to meta/recipes-devtools/rust/libstd-rs_1.83.0.bb diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.82.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.83.0.bb similarity index 100% rename from meta/recipes-devtools/rust/rust-cross-canadian_1.82.0.bb rename to meta/recipes-devtools/rust/rust-cross-canadian_1.83.0.bb diff --git a/meta/recipes-devtools/rust/rust-llvm_1.82.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.83.0.bb similarity index 100% rename from meta/recipes-devtools/rust/rust-llvm_1.82.0.bb rename to meta/recipes-devtools/rust/rust-llvm_1.83.0.bb diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc index fdbe41a8b8..a06b6fc854 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.81.0" +SNAPSHOT_VERSION = "1.82.0" -SRC_URI[cargo-snapshot-aarch64.sha256sum] = "76f8927e4923c26c51b60ef99a29f3609843b3a2730f0bdf2ea6958626f11b11" -SRC_URI[clippy-snapshot-aarch64.sha256sum] = "30a00260510403199d1cb919769b0a2e76eead15c352fc992bc193d795a2b2ff" -SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "85567f037cee338f8ec8f9b6287a7f200d221658a996cba254abc91606ece6f4" -SRC_URI[rustc-snapshot-aarch64.sha256sum] = "301f651f38f8c52ebaad0ac7eb211a5ea25c3b690686d1c265febeee62d2c6fc" +SRC_URI[cargo-snapshot-aarch64.sha256sum] = "05c0d904a82cddb8a00b0bbdd276ad7e24dea62a7b6c380413ab1e5a4ed70a56" +SRC_URI[clippy-snapshot-aarch64.sha256sum] = "1e01808028b67a49f57925ea72b8a2155fbec346cd694d951577c63312ba9217" +SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "1359ac1f3a123ae5da0ee9e47b98bb9e799578eefd9f347ff9bafd57a1d74a7f" +SRC_URI[rustc-snapshot-aarch64.sha256sum] = "2958e667202819f6ba1ea88a2a36d7b6a49aad7e460b79ebbb5cf9221b96f599" -SRC_URI[cargo-snapshot-i686.sha256sum] = "44f74fbf64dd2627310e796cfcbde75c42c3435e93e880f1291c0e975b42c1f5" -SRC_URI[clippy-snapshot-i686.sha256sum] = "3d5cdbe24fd0cefe46bfa513dbf56631bef38d04bae1cfbebaa407c33430fecb" -SRC_URI[rust-std-snapshot-i686.sha256sum] = "4ed9085460e444de9dee246080126f5e73062802b99aaff620d2aa827f60d972" -SRC_URI[rustc-snapshot-i686.sha256sum] = "8039f645445f99c0e293397b53a6696481b7d58166198605aca0eaa998f4f11f" +SRC_URI[cargo-snapshot-i686.sha256sum] = "1cf5bae93e9724f50f1a20a752f05870565e0ce83baa157aad632aa162fd97d5" +SRC_URI[clippy-snapshot-i686.sha256sum] = "a4c20f20c8e53747e00948f90d74380ae890c1836a067d504eca540c6a60157f" +SRC_URI[rust-std-snapshot-i686.sha256sum] = "c7ebb02b6ca349999b3b7dce768efaca5e0d9060f55397523e11a64cd10a9405" +SRC_URI[rustc-snapshot-i686.sha256sum] = "92bab38ce88b7738fb62a1bccf496b1b2975fe984cc4fc506903a03ed37e1e4a" -SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "d3a66e30a323fc20acd3b85f9a184b962a84ac9debf59c313d30c0146448cbb1" -SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "81044ebd81783b013cdc207a7304dc59baa7c1782a6f070ecfa1a6671844e26c" -SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "37f89523e04b960ba34c0cd145c4a78751961b6007ad4ae6d8b92389c488d696" -SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "90eb5646497f1cf566121b726b0598f76acf38ce9423b0889b4ad71dffb59aa1" +SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "01709e6d5b16e972e6c5e826a36331c645766ecda8f0aa48559f20c0d1129f44" +SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "ddbd18682a7fa0794d3bf159ba5cc5aee8c7bd6860d2edd8c9f4591753b5f05c" +SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "8cc1399b0460b3bc4b7295165dcdcee310fd643dc29569e1786944650f2a3700" +SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "2bdbf08c8c7d3a4dc8bddddbc4cf2cdec5a3d0f4a42e19183a14bed24d8d580c" -SRC_URI[cargo-snapshot-powerpc.sha256sum] = "3ffb73eaf288ebe02c06737c53398cbcf7f9e15bd53d6ec3f85be1364aff16ea" -SRC_URI[clippy-snapshot-powerpc.sha256sum] = "c6583a26dc5fda266c75b7bf2e5f6c1c9d5452f2dc3044bf99f43e59e14fead9" -SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "3b3473de46f7ea268130d8c72140dacab9118b2e8611fc0e23ed99091f25eb45" -SRC_URI[rustc-snapshot-powerpc.sha256sum] = "8da65f141f7b8c53d5802fc61711cccf28b0512a5f766809cbe882c6f8ec3011" +SRC_URI[cargo-snapshot-powerpc.sha256sum] = "7c11f69eb52c6e26cd8a33daeae7d630b6af49de30c1af16f4e998ca25a48bfd" +SRC_URI[clippy-snapshot-powerpc.sha256sum] = "a33f459a5cc13573e4ed73bd5667bba4bdf658e30b629f36a221eb5249d4acc6" +SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "827989a42526206199025f764d08d7cd319fee58bf2e08dcaf75df9ead6f094e" +SRC_URI[rustc-snapshot-powerpc.sha256sum] = "0d93e17a06cd284bdc0a97df64733f4b2f9f8c3cd9163935d85812ebc8520d2f" -SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "687c665259646f859e6ef9b3b8baf49c2759e19a20aa029251130495fe5bb07d" -SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "ad77d9511489a7a95580d8c4062e7eddc509d5bdec590a074c7378f2e7f36b00" +SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "94d828f3cbd848f15ec72e904bccd904a7fac0cd88d6afecfc472e48da032cb2" +SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "c849be4677f42dc9439ac2458ca3964b69a2d6621e57f979151e7b59de22d895" SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "665f3c0a8752f8e5d973cf9b94e5c1be94954178ca8378a318b6e21e7a7b370c" -SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "c4e0968c6a16916a339a2dea9063d14f3847cee65534b525d2838b827e7dad18" +SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "8795c642f94d15c81420a8eff77efbbac553869a00c627a1e3f881c542388b4a" -SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "813d2dcd603a1ad65a5de77515f4c94fdae301a1e1e8afcc2541076eebaba848" -SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "e35815af6cb90d70fd4730020ae48d4145487ff9b8c264caef5224c843d85744" -SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "5ba237cfbd18806bf77fbe8bc31b14a17f3d14acb30a022955cf047eb8d41056" -SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "734f407345b05617d62a30d96d8305b51b7cf7de3b1bdc160449726ea8f51ae0" +SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "ce5918e9c1a41b9e9a1b3e15f6525ddc01df06d9cea63d574dc59e8a401c1b67" +SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "a633c961cc9225c5ec1af6f153e33fd103057c9ebc66eb80f388687f34215fbf" +SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "4954a44305622b8f68ca088138b9a69432e350336da1a415a282ce148beb340d" +SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "0b22b37e51dd1dab6cc80a02968873ecb5f886fe1a65cd47131e3d10be48a23b" -SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "4f41aeca96e6de516ad2150a98136948527907690301fef4f127676f165e159e" -SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "65a65485972507cb5e89e64056b4602489bae76cff4a9c152e69d91365ff7433" -SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "9882cda0a5547405e64357a4964d525f46d1395f85b7e7b6e69cbd4dbcd46ec3" -SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "05d16740639cc87d258fad152d2a0f7e74dc571b5216ae6260d645a2f4f09c84" +SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "4779732566542099491c35a9f4342361bb8366e76c7d37ade0b5b7ae6f470df3" +SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "1399034c20e3037288cd659359e0a9eeb1d8a125488bbea28bbe146792a18d1a" +SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "5649f9b4e107d6c5f72fb7f82cfe15370b80b8d983670602e02e0b615bc6dc88" +SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "225726a3fedeb6cf136d5af503fb6853a0ce3c735fd972d40d678d734e65f5e8" -SRC_URI[cargo-snapshot-s390x.sha256sum] = "11291e98730186479854a304fccf586824e16f90b4e4cee6c9e17deaab04352a" -SRC_URI[clippy-snapshot-s390x.sha256sum] = "38b9003148a5222a0fb117cae494bf2a05227e6eff877e26b233433809f81e01" -SRC_URI[rust-std-snapshot-s390x.sha256sum] = "5549622876714df21235aa6d26731f31c37a7e1629a3f6c5262dbb0b1f10038c" -SRC_URI[rustc-snapshot-s390x.sha256sum] = "6ea458b49aa9edc26f021cc48e6223d1cc05b1bf092312ada978e66037fa63e2" +SRC_URI[cargo-snapshot-s390x.sha256sum] = "55d95ce07117430b92d1153e5b1ff40222687bd344872260e0a19ecf7b4c28a2" +SRC_URI[clippy-snapshot-s390x.sha256sum] = "9c8c4b9d3a39383aa043a9a534478bd2ab6adf7a2a48c1d4d29864974f23005f" +SRC_URI[rust-std-snapshot-s390x.sha256sum] = "454b83668b57bdef28fc49aca8fd4c38e395b49011e653afdf3f9bb2dae8aa63" +SRC_URI[rustc-snapshot-s390x.sha256sum] = "bd46920849468c4ab78c53b21c962e538b1e8a9f38c736a9e52d790c75d55c45" -SRC_URI[cargo-snapshot-x86_64.sha256sum] = "c50ee4b1ae8695461930e36d5465dddb7c7a0e0f0aa6cbd60de120b17c38b841" -SRC_URI[clippy-snapshot-x86_64.sha256sum] = "c545ea0f2901eb1cd652721350147df11744afbb97eb117d89b1f313e9920ffb" -SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "6ddf80f254e8eea9956308ba89fd68e1ac7885853df9239b07bbc9f047b7562f" -SRC_URI[rustc-snapshot-x86_64.sha256sum] = "988a4e4cdecebe4f4a0c52ec4ade5a5bfc58d6958969f5b1e8aac033bda2613e" +SRC_URI[cargo-snapshot-x86_64.sha256sum] = "97aeae783874a932c4500f4d36473297945edf6294d63871784217d608718e70" +SRC_URI[clippy-snapshot-x86_64.sha256sum] = "ea4fbf6fbd3686d4f6e2a77953e2d42a86ea31e49a5f79ec038762c413b15577" +SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "2eca3d36f7928f877c334909f35fe202fbcecce109ccf3b439284c2cb7849594" +SRC_URI[rustc-snapshot-x86_64.sha256sum] = "90b61494f5ccfd4d1ca9a5ce4a0af49a253ca435c701d9c44e3e44b5faf70cb8" -SRC_URI[rust-std-snapshot-i586.sha256sum] = "91ebf62a1f95047b93d4a4fec280fb4897cc7921633fd55f5c5a3aeb2b140bd6" +SRC_URI[rust-std-snapshot-i586.sha256sum] = "f56585c55664898c7484f4b7bd139770c99d7b4da6e56e4016f71cb053b1aee2" -SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "194a3c04a2390b1e07fdb114eb2c48e962219f0a1b710e2120a9806963a2520b" +SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "87db52d782131a8817b76f65eefcae2c24a49b2a6f19ed9bd4699167305c22aa" 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 0c0c9dcaa0..2d14ec64ca 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc @@ -2,14 +2,13 @@ RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ - file://rv32-cargo-rustix-0.38.34-fix.patch;patchdir=${RUSTSRC} \ file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ - file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ 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://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ " -SRC_URI[rust.sha256sum] = "1276a0bb8fa12288ba6fa96597d28b40e74c44257c051d3bc02c2b049bb38210" +SRC_URI[rust.sha256sum] = "7b11d4242dab0921a7d54758ad3fe805153c979c144625fecde11735760f97df" RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" diff --git a/meta/recipes-devtools/rust/rust_1.82.0.bb b/meta/recipes-devtools/rust/rust_1.83.0.bb similarity index 99% rename from meta/recipes-devtools/rust/rust_1.82.0.bb rename to meta/recipes-devtools/rust/rust_1.83.0.bb index c4f8ee7108..2bf87ba27e 100644 --- a/meta/recipes-devtools/rust/rust_1.82.0.bb +++ b/meta/recipes-devtools/rust/rust_1.83.0.bb @@ -132,6 +132,7 @@ python do_configure() { if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""): config.set("llvm", "use-libcxx", e(True)) + # [rust] config.add_section("rust") config.set("rust", "rpath", e(True)) From patchwork Mon Mar 3 15:34:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepesh Varatharajan X-Patchwork-Id: 58215 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 6712CC282CD for ; Mon, 3 Mar 2025 15:35:26 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web10.56344.1741016119143966991 for ; Mon, 03 Mar 2025 07:35:19 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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=51574f6b04=deepesh.varatharajan@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 523AuqMu001627 for ; Mon, 3 Mar 2025 15:35:18 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2041.outbound.protection.outlook.com [104.47.57.41]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 453s78a90j-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 03 Mar 2025 15:35:18 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=famK5VzR4lwHU70W3BgnG0EgowoWAXZzz+saMVSv5QzJ39sLYDa1D9iGgy+Oyt25V6xPv92yZYsWLBNIeysYCDDfvynWM/2lkzNK7U737Hu5PZ5dLsYgd06rTghLrRXrfpQlfBUn8AnQwgiAK8sDUyykQXjMOZKVDyOK9K3ZIu0pALKt+0iAAqTursJSCJtn6z0a9/7Kn5ZCo+2aR9LhAd89XydzsqsI54QjcmvLQKZwLppZ/oAevonndAjwR3F3vTia+iVx25XBE3a/E0BnwLOa0tOdyTATNlm38bLuQ3V2cU5tcBaaTXjNPPjo2od4E8Czg2GQsV6/yd6WJXv8hA== 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=sJ6zI+OOihWfXk7mpnSxwF7W0xQFATtpDosYtUEJ418=; b=Q8lgd4dqtVy1Ma6gYiDwYgx4v9+Ao89W1IdB8dBZIaMeF7PDNI5u4DTwlXVLnO2gU+81+8335G6rx5SY7svlOtEX7l3sJ+OzIdoS6ES0Qhf/Xc1l5IeaVgRJEsjKPrEmqjR9aYRcj0AawhLmG3bhtZQvnA8C7bMRmXo0Cj9JmnoRbwklSdYBydEVf7XFoau+5JHytKtoG/4oDPl6P1Y6vLOTlMUVfGAa6KCcFdsOT5DCGoNbQ0rO2mNVsJq3RYB2us/AUBfO2H6sOBNmA60IsoJXGp+MIlxul2OjLofI5NVWgLGrf15rgIqQN+KqAowuTkNgI9AEl/MeZNAVwDpatQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) by SA1PR11MB6736.namprd11.prod.outlook.com (2603:10b6:806:25f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8489.26; Mon, 3 Mar 2025 15:35:16 +0000 Received: from SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f]) by SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f%6]) with mapi id 15.20.8489.028; Mon, 3 Mar 2025 15:35:16 +0000 From: Deepesh.Varatharajan@windriver.com To: openembedded-core@lists.openembedded.org Cc: Shivaprasad.Moodalappa@windriver.com, Sundeep.Kokkonda@windriver.com, deepesh.varatharajan@windriver.com Subject: [PATCH V2 2/3] rust: Fix build break because of download-ci-llvm Date: Mon, 3 Mar 2025 07:34:57 -0800 Message-ID: <20250303153458.2879205-2-Deepesh.Varatharajan@windriver.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250303153458.2879205-1-Deepesh.Varatharajan@windriver.com> References: <20250303153458.2879205-1-Deepesh.Varatharajan@windriver.com> X-ClientProxiedBy: BYAPR02CA0025.namprd02.prod.outlook.com (2603:10b6:a02:ee::38) To SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5648:EE_|SA1PR11MB6736:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c9ae9d4-0661-45b3-7662-08dd5a68ff81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: PQKOPodckQo299hiaVIpOQ9lB2aElFINOFjhOsqyPAwiXJDnAZehxJXahzW6gaJkBbhTerYc4vKr4zTuNt+3cZYg9Ec8Hi7hEij8uWiew0wcrwCrMq2sQ2dTCB/rzG2+jdO+WVoxXzDJ1XlAajtFEwaX9t9xg95sB2mBrgXImfZ9NeAuPWxal+OzQb418FWAjzc1SWk3p7/EG/TRLo5BsfZgXqpfML2zVG/bFlzlOUYu59bTgT+xrhDyuUO0pd2ItIho+tFclb7fezNFpVZlnmw0e2/wrOW9sJLbQi2p4f0L9hW4+bq6lqlw5MRBtp0AudfTp6SFhdEhj6px51qaMi4J79YTqGluwoSbZpo/Xmacs8n6G/Q4Un48eqmdAKYZx6Wrs5GMp0L/IiYVTPN5aVr5tjsMfkVPCE3exyxYwch6Bnu5mMar5rskBWOCVSc8ePUAe+dW/B1mWMytkROKqhibV68l1eq7dFuwA/uSJgW3gyNfxXF0Cyk0hgseYQ/wr+Q/YH+ZHoBcuAYmGXvIBKSQwHEpZTyraKDWAQFgxHJrcsUoyjVJ8UMSc5d5UjXrNlrxs5/mSRqiJlTPr/e2Hux4SHSSKtT62Fg6qyWMUqCesIKoGI5J7pwMDPhST8y2MzhbZGwxHF3XwKu0QxU8ILdgGbGUxbEf/TGxXUiZghSgg8kTr2YdorlgDo5crsGUnwNHo92KMwQFapty4YVrAMxtPrr3YpYUdEYG6rss6R3xjVV3uAtx8u+AMLhCdXWEN7Sf6L2gEN6YJKfZqsWJ93qi1T9BMnss+c2nkkd7cp2a8WikkVz0BBJpwCq3rlEbeAKr7rsPz5hhEsf31jLBOeOivGHNYJVoJirZAjM/Eq4FP3sMUmpcGSPGyVlv7ibgguYOZaXZNHwcPYs+bYf6LT5uJoijD+cyCdZljXUiHhif7lsUoETiPQB0kOijExGqjMj3zw7Dm+KnExav9+nhYVaKP+gBq2SxpMM7JopLA6pI7O0dBmVZppXDDBWfGnmd0K07z8oNNmAzN3yrNSPGl4aKjLsPIKzNbbVHwHSSSuRXnxgu15zUOGWctDH0pxMsJK0ib/q5VrGlv9ghJuAwivzKIwdPhzUo1gQJOizj1IB395lO1dmoO949Ee+yIxt4GvTYIOyw1AXwBwVfxbzegIft0o/b32xlPolVwHLNrJF96SNAOSh28uNKvlZMO+1hO8QxeoUhEutpDvaPiTdgNu64tH+ES24KaWy/2S6iVwMtszHrBGAcTBCcF2kykIMHGANwxhw7bdujQNt7m9b7JCB/GYN6zVc7BN+XWKlPC6lCEPsSr18lNLHG2eCTSiTeHYxDX+SUO3aQi1iIVn+kHmF/3SUKZ5n+p8LA3skh7axCTGtx4a7OiZq3pKb53ig+TKZeaW2m3Wk68zlyCO5x/L9qBDsf88sRdiaDboenYHR2xuK6ax03FTFDmQfWswhd X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5648.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hmxf4/idKukWtueYP1mk/PoQ65pi0lisqbqDXqxdXwUNeerDOtK6sRmPGPGbFsIC/2u+VYu2omuPGQH4+AD8hsi4stTNWtbicI5pv3Y0TW24Mx1PmrbDaRW59igw2yqjqeLjn8vQ+ta2gqkUpdUjYMo1+DzYUpYolCwSwwVSuxyvWjsopE8jXv++ZJOG13RNMlB31DLm2pEFePssrAYV8HhQvFqsyBE2uPooQMmzzQpJTq8ZiQFA6YPLkWliy3cG8aez6NpCK2Ozz5kVGU2Jns55Zs6O3+UwmYA9Ow1IqIDYoKVqH1PeB8m8im8I42k2WuJKtsAODUwDggGaFR2LV/UVcB76MSUh5rLNfVG2pSSHg/WBRqJILgn3a2rA5PxU755ZeRl89G1HtzvpOFFErLdnqCOsbA0ZsADf/qfJgMAzZAuHDTS8B/49tazoOJ6c+5Gp8KmmWOL020g56vwuUXLzCGZNGxDMWdFrm+kyT2uQ5IwTY/RBoK9dBq98weTPDTPFS645A39U7ocRGTSzIoMo6Kim4w+PNe9mi13ZbutCyT5UW54EISvldwZPx2FtoRUvVMGcqJaGPmiLSxMsrJ6+zvwB587GTy5vvhAOUekmhrcqWIWwZqTkv/V6nE2E+0AP/7IrIGHCquTvo5kP86rxWMyKINbBEiCelh5e6im2SNQjLYf7/FNe67HyGRzES8mPgtnOSwPUC7kGgoMvR72mvCv0mdRczOSknZLeFzFIRe28MEb3CLZ678yp2OBsMkcBcKU0f7lc5SlEO4HVxWlC5b90hNKteTDcMsf2cZdYfiCRhAb9fnumr0WZQwcHZT8vwboWn8waptfPlsSoVdIqWkgWxOfVoJq5qXwnBaIXMnzoFt4ptx1OM+iOySGW6i5VWOm5ZK79J06fHVlOlB95+IpIaHVXDBLuHQ0GmXJEWZSUG/f0iGoCoS7UOkIVnTMgnDsmjnGY1eD/XQKgqN6ggiy+8cSDFfuB4N8VenYCU5Equ136r2nD7aCf72OwVrt6i5Ldk0yGEafQLewKVKzfYsdoowXoKyINcNOrb2yzYb8B1WrZlHicxACNcL3rUKMLRCF5sBR0/USv548uK0jmNAUVgb2oQv4LCChKHDThkXlQixepjPPGrzpjLnfmGLA/SwUvS4rpEY+Ec/7cQ1gaeF1JALBiJQWdq4PcWwuD4O0m0YgVyquqvWpnBKDbSHCHkToiGXCIlA1aM3y099O+ajuptOA9lYiJTiZh1tp73hjQfNLYZscUCQaHMlctEB+KtZnYsXN+34QAlA1QY1fxaAmHlmJzJOMtzjDqHHmOOxxtEwuODr3Arlu8ncvwT/MWmX44z23WXG5L/LrOZM49IwpPDGZd7Pj3/Ce44Am2GTZvkiM3xLoWzFWH7fiAI93EYmpI/xD+tErTUaR20Y/6qye0R/puvzeel97JRqJUVJRZT254T547n05pbWRTtHdyfvbxQF2PkB9RQM8Xg5r11hatPyPhfhsqjtuPkkps6+y00f1tibS39hRC1wWDugK7ccTOh8lQA0y37PdZvJFXUUio91klOHkp+0lD/JkR5T+gSMo/RbfvD1mQmiZfLdOxV7+Zg6yGcCZnQ/DYah+lZfwF7h0DvfoMNOjrtL0= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c9ae9d4-0661-45b3-7662-08dd5a68ff81 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2025 15:35:16.7612 (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: pfBICdcAloGpPyN5rP5LUCgNkchv6J9O5+cZCAkXfT9UrhZ4Yo4izwReEJmGj5l9Q48JK128GGTsx9w4frSI85aihQRyD6iR43yo3G2i+qMvojKxvPI/mLALi6gyyk9a X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6736 X-Proofpoint-GUID: EQpup2yJ2jS5QML4OgkdYE-mIg2J2xxj X-Proofpoint-ORIG-GUID: EQpup2yJ2jS5QML4OgkdYE-mIg2J2xxj X-Authority-Analysis: v=2.4 cv=cfwormDM c=1 sm=1 tr=0 ts=67c5cc36 cx=c_pps a=7V8mf9/socFTThwl5N0qNQ==:117 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=Vs1iUdzkB0EA:10 a=t7CeM3EgAAAA:8 a=Mf4bPNXLvqR2lc0z37IA:9 a=-tu3t9Ey6INAYvtyu7WB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-03_07,2025-03-03_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=997 lowpriorityscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 clxscore=1015 bulkscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.21.0-2502100000 definitions=main-2503030119 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 03 Mar 2025 15:35:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/212212 From: Deepesh Varatharajan ----------------------------------------------------------------------- | thread 'main' panicked at src/core/config/config.rs:2047:13: | setting build-target.llvm-config is incompatible with download-ci-llvm. ----------------------------------------------------------------------- Disable the automatic download of pre-built LLVM binaries, ensuring compatibility with local LLVM builds and preventing conflicts with other configuration settings. Signed-off-by: Deepesh Varatharajan --- meta/recipes-devtools/rust/rust_1.83.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/rust/rust_1.83.0.bb b/meta/recipes-devtools/rust/rust_1.83.0.bb index 2bf87ba27e..ffbac267b6 100644 --- a/meta/recipes-devtools/rust/rust_1.83.0.bb +++ b/meta/recipes-devtools/rust/rust_1.83.0.bb @@ -129,6 +129,7 @@ python do_configure() { # [llvm] config.add_section("llvm") config.set("llvm", "static-libstdcpp", e(False)) + config.set("llvm", "download-ci-llvm", e(False)) if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""): config.set("llvm", "use-libcxx", e(True)) From patchwork Mon Mar 3 15:34:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepesh Varatharajan X-Patchwork-Id: 58216 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 767D6C282D3 for ; Mon, 3 Mar 2025 15:35:26 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web11.56186.1741016122800299598 for ; Mon, 03 Mar 2025 07:35:22 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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=51574f6b04=deepesh.varatharajan@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5239i6NC024832 for ; Mon, 3 Mar 2025 15:35:22 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2045.outbound.protection.outlook.com [104.47.57.45]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 453s78a90m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 03 Mar 2025 15:35:21 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=G6tV4DUHegiNCQHv//zXM9234Rs6PnJ+yMTtBndntwehyetvLVQTOvmqASGMr/qZKFrzqZC+zLgJIaB3LaVOrQ9JDnWYWIlMPzeqmBJiL3FhWNb3Q0WE80tS3HiFtqe+qi6il/3xgdJUxTuceabVi3x+r6xADCTq7DcPQqJFBb2ak65VKojkhQwScnFuLgLm5uO14eAZqDClNiWKV7GsK5VlY83Dp2c5cT9a/Zhcttp28jtg67rR7DIs23Rd4ophfY8udyCvrDSxfA8D5iAQ5B1f9gqzVQrsQSedFEsaQVICL1I7RxvyAT+7RMNDRIrIjh0rafgGZTArtaCmhX241w== 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=4h+nwyOAv4EEQPnn8FPvsg16+zFKeodMn1q+yWWYpsI=; b=zUqwSspWoaOOW0v6SBRRrTt5wVQ06n1Lj0Pke2ghcMFLfNnYjrImJEPF7ek0X5p83XG9B0viATbxA/ZtB4vInYIi8qbJKp5FJMrknQ8QVEkbZfsIksUqyEwD71++G5aVQ8ZFtMu57WPIa0qVUxK/xKc1lSreEFlDFO4Tg5jspY8SePsax97rzqFkz2B/ZLTo7r/6Ycrq2wrfVUNtJwjB/0L5esp+QIxYMMmbnVJutTfcG0/K3eCSag/fn6uaaXFMw9OA5PnGm4lEH5fa5TX/+YbCqpmO5aruT2t0MkEgNX7XFsqg/xydN6DT7ZBkD0bJCDWVWD2RXYuk7CcmSBSNOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) by SA1PR11MB6736.namprd11.prod.outlook.com (2603:10b6:806:25f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8489.26; Mon, 3 Mar 2025 15:35:19 +0000 Received: from SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f]) by SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f%6]) with mapi id 15.20.8489.028; Mon, 3 Mar 2025 15:35:19 +0000 From: Deepesh.Varatharajan@windriver.com To: openembedded-core@lists.openembedded.org Cc: Shivaprasad.Moodalappa@windriver.com, Sundeep.Kokkonda@windriver.com, deepesh.varatharajan@windriver.com Subject: [PATCH V2 3/3] rust: Oe-selftest changes for rust v1.83.0 Date: Mon, 3 Mar 2025 07:34:58 -0800 Message-ID: <20250303153458.2879205-3-Deepesh.Varatharajan@windriver.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250303153458.2879205-1-Deepesh.Varatharajan@windriver.com> References: <20250303153458.2879205-1-Deepesh.Varatharajan@windriver.com> X-ClientProxiedBy: BYAPR02CA0025.namprd02.prod.outlook.com (2603:10b6:a02:ee::38) To SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5648:EE_|SA1PR11MB6736:EE_ X-MS-Office365-Filtering-Correlation-Id: 56d6ca3e-e857-46fa-e80e-08dd5a6900d7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: RsahjGaBpwqqfvjJ46j5OZkZJMMDsSdxxSJTPP6a3ZqrDQzaj7I0lJMtWovCZ0aH88YBdeFJKsVrWttxmcHsy2UxeS/SRqOb+jkrXURBtTHI7juf+AGclWrDUqayo8xpuYJelXmzRQEeQ4LcpKO8W8t8CP/TG5jP8vkQUQW6Qt6o49kT/et0dS4yU+PGGntbLoA22D3+umjo7fVhC1piYu0K1xzGl3dbCIjWO8+aJoNy97fl22lNAopXMacFa8sREkowxrNyD5zDHBTRS1CTDleP3eQ58Nyl07nWLFGmWzwRmlMEIpb2TgIith9J6KhsBsnmXdhMy7KZNA5HciycilrelHtsyFtchv4XVCR4lvBFsJhzLDX65o0nTJXT0jRPnsaEAToHyDxo2WjqNe7nFS5YkICogwiojU/KK0CeoZLpt0u+xwyVj83DGqtHeciAtcQnIDFX538lIApbe6BNYvCUPg7fGSiYbhDtNGFTKEZSuJsRNcv1Ws6PPLgjpfJEQiCqY3W39sJCH9xTBLJ8+e5QzYoMDJE9F/wN+pGA/K72fsDIEIFmBgP67aJz3COWmOZlOxgb1QBEgpFdEhOnoQfb6cx8Lts3Zo+LZ7Tyc9ALuAJJPAwQ6sCmVz73ulvFr4RNQc2K/xKfa9EeIVej94t6uWOl2Dcc3gP7mU2+Lw+o9iupOClL/XXRpRNMM3VexaclVAtiHomOwaoTfxTba24XgnqeyiBb9bxShKAnfDmC06owGjQer2e0GRlckSdq90jVL0mcHrZVcrBjtTooFawtpQbQzRzOzegjvJOK1CtGt6F543icEUcP0nCpCn2N0qSaRAHFehWVkICPvX5JhWaKS+izCCUHfoXmjs9ABOmCSs4VwxLjC9hcNiRfo6dICmwr2GqoOZeW2Fd/+pd6zL6UO96lkzVI4BfHNP6pttMTr3OHoXaksObYcpo7LlmClEmkFFOWfktVu50mpouA2sUXQjffg8WPuUZn+HCuHXu0ziQzhfkCKH5EzmlcE9WXRUwvUh2NajncBY5zAoTjimL0kBWiUqqwS/l1sl7XtK+pn/kTYhNDWsrYJhcbuvHUe9XTDCdWOQuQFPmSqFqfSL79p5j8qfljbBAOgX8Uq6apC7UNhcBNtjDyeaRG4mRUL9BuxnNIeTIMsXDBhjvrxrFYjKHTC52xH6DO9G2KCG1a7VLsojN934Z/2a5JP2t3Y2JHXaXZxP1Ai7XsrU0gtVtAClA12EvcE70xwnW2jPsQBELQUcLGzxNxQcfSdmFJP+XbnUeKgpTy2hiDoJDlfeI+mltyz0QejQugpeZxiYbcgPwvukdsF4lC0/4S5MGN8Yc73E6RSCdZPPr/dMrsmdL+J6BCSxwsDxMXf0JDr4q4apgxzN398FV7PpGBVbIkZfKBi9x6QWIq6A2YuNamliZtrucbbJUeapyiis4sTok= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5648.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PDJVcOiW6Yl6cZvEXFvqXMLo0/UIdE+5VEMnjE17Q/Luw/rPWBTXhvBA5V6Npg9/+19d8jI6Rea8hLEtM35xIlDpA7IsOLQWHqP6jsK0Uw47nDC3U5liOXIsB1Q1QPX8JBM151YQk3LGqq6NLud5thjg/uH4zegZ8jdEjSPigWUF0DW/7ocNYkTL5vtBiL3U9j8sqX+0ssFwSnyjU6cJcaDtFmLbNFN7ZlODUFFCmUIp558M/Fao04c5NeCNKKVM85wAPD41/gVZds7q9SxpkBTxipCnyJu4gPvQzGjvWvfF6WcGyptfJYaQmQRz++agI9ryG+Ob5TnhqOTXQWVx51o5t3cySLZQEtHT4cwR3FJPci/qwwg3Zwh8Rb2ILh0LSas5/DZhKOAR0jDRN12SSqTgTsBAUUOoINgkZIKMSkvgboVSEISisqnPPnjEtfecu4wLRfcmuezhNzv8XTDRngAdcKUDqqEpnPJeBLbIuNYrbtZ1CaWIWQyQTB6utDqUJ61ARLFHY2L+2uo2l6Toaux7MbDAKFEKANEgDuKjtcdsAaDKay5JMO6ILmifnTQbsQzd/aMb8gMieX+OCSlTNIOzzvKNbixSXHCGr/ofKbmqbmO8FEevo4CGNM68mGtiJuLRlnsjNyBzBC7mBcHLBgfkQYuL007tuk2rQ+DyN9r5puMj/gLZwfI1ViCrwmg0zWiHUaDGSpchC/IdRprwVVG5YaMMwI2l0JKrbknY91IaVYAa+RZLi8nug9JxZ+RIbL/jw9T1T2saNHQ8n1YNRbHmgaLrehjA+RdzLuARrF16SU9ZDxK0W8QYzEGh0lSG3h6VWK0UvmQ8XSBXwLI7XOrXh6PXQiHKBM6zWOGgCtm5asf8cEkdX2EY2YYtAQ9mUTUL1fBhlPzmhvnzugJueumL3+ptk2vvq1I0lt5UHLouw2cP453b8os1xuCgf4mcXI07HcXgilL/Uxn2UUTjTO5tB9RhtoA5zf300v6TtR0ytswPPExC2rk16KuaJBHsmhYWSDGhuNzegqieOhU7JEwIZ2oN9xRkOpzCaWzzbeHBhHhp9LVKgWSc1ktrnpgRMuZpjYQK6iRCmp/JTvewjcCWTDvHk7BbJcVzeL87YJYM87xqTexwho7KEIUwDJllm5vX4K71huukcIKKTzw0CSOESBZgF1Po7GfiPtBQxCVdCpkZ9qdtaNLjq/q8agWUvAn0zgas9gRvYpf6hpkkXY/O/8VB/aBAR+As1Q66D77ed6Y60/2KWXZgN70aKOr/Vde9wMPQ+gwBGx+6VGqDo6H2b3AulvpVcthOz6E/eLHUI9sWXl31EXtsdPTjAr+hPYKJnV7umzCcEnWoj9PmVYY9opcfJkD7DQU51rjBXS2ryxQGg2irrnBu05DXYcMauUkBFXA2neYCUmYH3BEHRSCWn3vmbjr53qtqwjcA+yWBge8h25yLqjs+Be+DyuC1VgiAZ9NpT0n9GJA/cwwScEmqo7P5NeRtfvAxMrhJtKbRzXCy52RaPtK0BlCCf/gbUkpCB35CWpNPoFN4bf8PFuBn58KkVWAzZetrtsTCL833WtCBXjaQh7wrz7PAfIw+11rR8u/Ea3rBgi4Qqg3WhZe74/Xf2it/iJVk33iMepU= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56d6ca3e-e857-46fa-e80e-08dd5a6900d7 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2025 15:35:18.9772 (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: C8tgyITuuIqFS7AUR+Kdr7Lv4Ip4u8H4YUA04HmR5MQOlD6vkkyfdIRVs4M0u7Udlkh8F/KXXHCtdIO/hNSKmkj+KqQRpNVSPzDFH89juOYQoWhDFCl6Jp4UFqfWEoLh X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6736 X-Proofpoint-GUID: hftRSpP_St5UCD3a5n8QEpKeBvouy5MW X-Proofpoint-ORIG-GUID: hftRSpP_St5UCD3a5n8QEpKeBvouy5MW X-Authority-Analysis: v=2.4 cv=cfwormDM c=1 sm=1 tr=0 ts=67c5cc39 cx=c_pps a=hSS9g3ca6WprpwKybkK64g==:117 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=Vs1iUdzkB0EA:10 a=t7CeM3EgAAAA:8 a=3khcl1H5EuJcHcRA1J8A:9 a=WgRDnz5trCaqgQjuXjRA:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-03_07,2025-03-03_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=999 lowpriorityscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 clxscore=1015 bulkscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.21.0-2502100000 definitions=main-2503030119 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 03 Mar 2025 15:35:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/212213 From: Deepesh Varatharajan Few unit tests are failing for x86_64 arch. Ignore the failing unit tests. Upstream-Status: Pending Signed-off-by: Deepesh Varatharajan --- .../rust/files/rust-oe-selftest.patch | 46 +++++++++++++------ 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch index 0e952efadc..dd22ced57d 100644 --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch @@ -63,7 +63,7 @@ index 35a5291a347..5f2858d2505 100644 #[test] +#[ignore] - #[cfg_attr(target_os = "emscripten", ignore)] + #[cfg_attr(any(target_os = "emscripten", target_os = "wasi"), ignore)] // no threads fn panic_in_write_doesnt_flush_in_drop() { static WRITES: AtomicUsize = AtomicUsize::new(0); diff --git a/library/std/src/io/stdio/tests.rs b/library/std/src/io/stdio/tests.rs @@ -75,7 +75,7 @@ index f89fd27ce6c..79737f5b127 100644 #[test] +#[ignore] - #[cfg_attr(target_os = "emscripten", ignore)] + #[cfg_attr(any(target_os = "emscripten", target_os = "wasi"), ignore)] // no threads fn panic_doesnt_poison() { thread::spawn(|| { diff --git a/library/std/src/sync/mpsc/sync_tests.rs b/library/std/src/sync/mpsc/sync_tests.rs @@ -318,17 +318,6 @@ index 5d6b9e94ee9..a5aacb2eb87 100644 fn test_try_panic_any_message_unit_struct() { struct Juju; -diff --git a/library/alloc/src/slice/tests.rs b/library/alloc/src/slice/tests.rs ---- a/library/alloc/src/slice/tests.rs -+++ b/library/alloc/src/slice/tests.rs -@@ -186,6 +186,7 @@ - std::thread_local!(static SILENCE_PANIC: Cell = Cell::new(false)); - - #[test] -+#[ignore] - #[cfg_attr(target_os = "emscripten", ignore)] // no threads - #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] - fn panic_safe() { 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 @@ -449,3 +438,34 @@ index 4d342c72cc..9a77f92616 100644 fn arclones() { let value = 12u32; let arc = Arc::new(value); +diff --git a/library/std/src/thread/local/tests.rs b/library/std/src/thread/local/tests.rs +index 9d4f52a092..d425e5f7b7 100644 +--- a/library/std/src/thread/local/tests.rs ++++ b/library/std/src/thread/local/tests.rs +@@ -346,6 +346,7 @@ fn join_orders_after_tls_destructors() { + + // Test that thread::current is still available in TLS destructors. + #[test] ++#[ignore] + fn thread_current_in_dtor() { + // Go through one round of TLS destruction first. + struct Defer; +diff --git a/library/alloc/tests/sort/tests.rs b/library/alloc/tests/sort/tests.rs +index 14e6013f96..b670f27ab4 100644 +--- a/library/alloc/tests/sort/tests.rs ++++ b/library/alloc/tests/sort/tests.rs +@@ -915,12 +915,14 @@ gen_sort_test_fns_with_default_patterns_3_ty!( + macro_rules! instantiate_sort_test_inner { + ($sort_impl:ty, miri_yes, $test_fn_name:ident) => { + #[test] ++ #[ignore] + fn $test_fn_name() { + $crate::sort::tests::$test_fn_name::<$sort_impl>(); + } + }; + ($sort_impl:ty, miri_no, $test_fn_name:ident) => { + #[test] ++ #[ignore] + #[cfg_attr(miri, ignore)] + fn $test_fn_name() { + $crate::sort::tests::$test_fn_name::<$sort_impl>();