From patchwork Fri Sep 26 10:01:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Deepesh Varatharajan X-Patchwork-Id: 71076 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 C66BDCAC5AE for ; Fri, 26 Sep 2025 10:03:40 +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.13777.1758881011764261511 for ; Fri, 26 Sep 2025 03:03:32 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@windriver.com header.s=PPS06212021 header.b=fqoSXIRb; 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=1364670208=deepesh.varatharajan@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58Q4tDM61645808 for ; Fri, 26 Sep 2025 10:03:30 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=OxxIgHSTY731IJO4ENBcEW57swaqNi6oYKNvtR8nrug=; b= fqoSXIRbcplZRATHWAAEycLwCJjauxaSPo5YAqwM353LoCnuLbX20JX857IegZrZ s1OdEpP40h+NQ/5UXd7pzSfuMO1tre5ZyA+VXcC49vv2YQwELSoG90cGWmh98I3a sq+9GlDobkKHgHbfm8AlZ0e+DXhh9a7hweb6wi4evmG54LBO6l/uCP+OpifQXnHX Wxo8s+D4bk8mh6KGC+YI+l2cL/c1nKW5jkHVs8jyVS29X9FzOkEHLc1qjD9pKhcg TOi1rhM78vSMLDVFrsOK/KNT6de7Z43xRNJhIIj6ii34p4CxVuQMi40CZP0ZyOPM 53n8yNeM4UyAvPnP/4mYbA== Received: from bl0pr03cu003.outbound.protection.outlook.com (mail-eastusazon11012017.outbound.protection.outlook.com [52.101.53.17]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 49dbsm8nbp-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 26 Sep 2025 10:03:30 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EUYfQsZRw10qQmTMWimEB6TRm90MzS4IIv9sI/J5mbI+WtvdYW/47bAvIwgyPzAhjFa4RSVv3yzkqQWB6nT/smob/nTilfx/v7WIftmv2p0HoO9Jh6edQtEgtuhOQD3E4M4+czX0eqjpv4q1adDZgwb3CWV9iCWvkjlq1AhpCqbmL079KY4rHrd2Y6qEiFuVH/By4+FVBN/5MGi1JtcTcdocjt3HnlkMLT/3YM7hOikt6jBrgdr/Z4h9FS5g88XCX20cjaRSm7N8CUwetaExx5t1UwIRUAdOJH6N/YM5rnVpfO8mBWQJwK3xQge0UTPUZgYO3s6Wg5Tp0XPc5K9nBQ== 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=OxxIgHSTY731IJO4ENBcEW57swaqNi6oYKNvtR8nrug=; b=UK+3ynJGkIBl1Yi75xHQfUi57LAMhQHNXT2zRKCyrYSw1NRF6DVbIkZJktg+sFCVCc7aZxCPQ7uHolCnA8xTG/sALsGQ038OkMo4GnkRdGKNjT55CM//vg0wvlyzOJdv+Arcfgi+uIHs0gYnChVLk0tTgG9OYi9XRnm1GMiX3ld0Tf4g0alj3tt+aAl+aPhrq/22jc/xRu0BeddPqyt2x+6/DCSNZKHiVP+mLQPBCrfqrJ3A4Of0g1GaTX+zNBIFhp5oc5A7KV+kV+oQs7MpPNEgbVHE29I5q0XeHIor1AEbCTgiHKjO95m24zLo60ylGrd9sCn59hqHqI/kSVSCAw== 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 SA1PR11MB5948.namprd11.prod.outlook.com (2603:10b6:806:23c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9137.19; Fri, 26 Sep 2025 10:01:46 +0000 Received: from SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f]) by SJ0PR11MB5648.namprd11.prod.outlook.com ([fe80::c784:dce5:4b7b:54f%5]) with mapi id 15.20.9160.008; Fri, 26 Sep 2025 10:01:46 +0000 From: Deepesh.Varatharajan@windriver.com To: openembedded-core@lists.openembedded.org Cc: Sundeep.Kokkonda@windriver.com, Deepesh.Varatharajan@windriver.com Subject: [PATCH V2 2/2] rust: Drop rust-llvm Date: Fri, 26 Sep 2025 03:01:14 -0700 Message-ID: <20250926100120.3731171-2-Deepesh.Varatharajan@windriver.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250926100120.3731171-1-Deepesh.Varatharajan@windriver.com> References: <20250926100120.3731171-1-Deepesh.Varatharajan@windriver.com> X-ClientProxiedBy: SJ0PR03CA0133.namprd03.prod.outlook.com (2603:10b6:a03:33c::18) To SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5648:EE_|SA1PR11MB5948:EE_ X-MS-Office365-Filtering-Correlation-Id: c0128a31-15cb-4163-e588-08ddfce3b416 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?sN0MhlsqVIcQs3PYrH+pn2sh8+8IS1X?= =?utf-8?q?8EYOUerqwviPfj5V0pABKuFvnj76KNVfMZYyhn58OCoG7lSsOnQxcy6TEYWZnE8RY?= =?utf-8?q?hwLl5qwKFEkSvcN4z3Fc0KVjCzPLuo26H4K8Dvd/8hXhnYFmbmgwruJoUYd4xvlCL?= =?utf-8?q?mj/BV8eUaGhgPNVdErTVHjq4k+H+wzpDPO8NTzv1L3u9LX/ktk2uSPR/IsDvbyoFt?= =?utf-8?q?pEmRDxVS+9zRdGNM4V/RcCLNpBtNO+W66DlHl8yhJpq0KtjXuzb6jk2KufBgN+Pns?= =?utf-8?q?wVGhvT30Ejj0hV8wOnMmoOVWu2CcKyAmLpBbytvwfTIqfAo4Cp7cgBu3ynx/mn5sk?= =?utf-8?q?PZTXqwJbfMZHcD/ESl4N5E1b3Y4zYPtWLb3/oRj8BGHwbiBBFCpqE2RFWrHhIZ7Z3?= =?utf-8?q?mkaDUyCnolgI5RqYT5d4kK2th4L6P0HsdFiC3w3DMemHcSUQk0zLvQG+3N0wo/dNE?= =?utf-8?q?h7riL2t2EUls8/+U0IIQPrMGDYhKZvNBQHggzCIBZrLn22CQJ5jFasYD9TNwyBeEO?= =?utf-8?q?U8HmWn8h7446JkcSKYZXeHxRCOTsxUPDm9+5nLNRKD2jaaXdNqr6Ei2Hl3X2/9L1k?= =?utf-8?q?VBiNAVFY8dULiyGwyaAdaOTdnoBW/o1zyGR/s6PD5bQk6y776ZCprYsZgLFIPPSYG?= =?utf-8?q?14YKLAc05rFLu20B2AsxsZNs3KAuNdw5n509EhlHtkrIiuzEeSHRSwKv+4lnRhYIh?= =?utf-8?q?hpLhr27EIuXaXL0ctMASM2Kr9LoVbgULjO/RPbyugjOGoeEQt4aYVjlgza6O5SD/V?= =?utf-8?q?10WTKWG6n30O+PSTntB2Orswldi2oOaElXYO+i63tyDB5CvEv6NzraUi6FXGaUE3u?= =?utf-8?q?0MeMdqbT/0p6j4YCqQehL0YjLBpVo+H4iec7T2hvoX5LvQ/h+DT0/p3pW4ajdlt5z?= =?utf-8?q?CAwAnSaQ+zIgkDf3+txe8xEH55uPYuI8xFV40ERNen++qJI9f4Vw9PXphzmJja10T?= =?utf-8?q?yJeKz56ohi5yjvVppGjRjOIBnlbyvopjfBzgdwTPzOinftYJf+ZY/sqc5Tai/DiBe?= =?utf-8?q?EuziPrsGk6Idaglqw687Vg5SkB0nlFD65a+7eh7+vXh9CV1MqC5StEckUIDcZ+a3+?= =?utf-8?q?qKTZ1on2OdIsEoEG6qaXIJLhpTgxVEGsLbFY065fA/AqTFR4ta7rFUEqjOfRrmIum?= =?utf-8?q?GO262K/gX7h34Yn2FBN40ZUgSUTcZeGjVNAC+smOe/13OBlXw11GAmHrr7fzTY/2K?= =?utf-8?q?V561x7/5vQ2SMNJNYGsgO/XUgCy5yuroSVm4Pl8SQGcr1RvCvriEX3IjoB7IXVPE5?= =?utf-8?q?Hu/7zIIBUbXWuG9h2ErT1oaG8DcmXtbQFMSSjqiCBFtO/qUkOgi55eGdaJkCxgGxJ?= =?utf-8?q?ifqzsl+jitm8rmZ9cjzn2XVVtTSI57mUcWy2fz8KJwUfAproFaZsyhGNhBBKLcWtw?= =?utf-8?q?mlKcXXrHGe474Hg5r9PKTrf7K31emeKmA=3D=3D?= 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)(1800799024)(376014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?IJLDgX3iyGWyuiSBXqE7blJwDNEn?= =?utf-8?q?31YaKDyw35pv98j0uyo3NEP2mm5+vLczZ0NL/vrwPfpTTTJXYAzPxbnVpmHZ9PoXe?= =?utf-8?q?tJaO9EyBF77spDWZK01CPGdK223HukdasT/fruKmzh//vzz5cchX6peNG1w0QzwRA?= =?utf-8?q?l5Lip4fTBuE+Dd9CcgejXrjwgcxQxTzB/bXxnzb6M2MZ65zh3u9BeV2zotI94GiYL?= =?utf-8?q?Q8KW8q7uploxT/+ZKmuar/GHwpjzDMzt55Vx1dOagnXkkoyM4faM5MJhtFizOFmB6?= =?utf-8?q?a061bi1Bezm5Go0w1PVc4kwLPWBCY6SVufGvDIB3W35kPovVw5GmtZcFJ1WDFTdmR?= =?utf-8?q?8CQB61G1zrB+d3rljE8ccaiDwFUHAL2nLLHLyYTni6GiqGto2nX661zuhHSmDUJkS?= =?utf-8?q?bCwFz27DWNOQleUUV6Aeku1/jWMxKI1Wt60XN3CR6NbWTVM/3VpcdWuvmzrUm0a4R?= =?utf-8?q?DJSGQsbARdZ8g3oGGPAerqm9xfBXSvDD3ayF+sIkmHePDclwO6TDQU+RhTPmnSi6N?= =?utf-8?q?KFlVQ5cgl3gU/Yqqxyn6jum3LJv43oGGvCeC2PzRaIlg6xChenHBV1VadIWmtdsTo?= =?utf-8?q?Dm/BQJlzESpsPHDrXHyyRcK0t+8sxJXb1+SP8d1gcl/u/ibMvIYvP4MTYhAb62vfa?= =?utf-8?q?JOPjkThqVqkznnhBYt6UonSlFW+oO9oq2SbKN0Hk0WpPW7bIX2zM1JUh4vobV7rje?= =?utf-8?q?BiuGxWkQ3O2ecKA2OFXliC3+6RxA1XDOiyG1pyOY7vSNQX6AerIYTNKST1uW27YjD?= =?utf-8?q?GuVeSr2fMKEfFl1M1r0OnkCloBHxEWoN/PMNI6mbkxrVGQkuFfS/AHFLhnVL0VKU8?= =?utf-8?q?9nmg7wlllI679b2bnUa8+qMut83RhGt3p+cbd5Kc7iMczSOl3xO/O1oXsUexmdmQK?= =?utf-8?q?RqxbFstA7ddc8XyA8nwzU6/Mes/vmHpWeA/v+Ex+/m9T0dXULHlDjS7yM0dqn3JJQ?= =?utf-8?q?c9Pgey9rWzZRD7WW9GRN75vn7aT99mK4TBE4H7GYGmf44aXL7hRmMhQ41hwf5hnui?= =?utf-8?q?rhJuKzTsViYoSW4ipvDXNnHBEwGDCEPEa/3rh70WRSAyTzO5MNg/vCv+v9AQxjnAL?= =?utf-8?q?S2NQt5EKxLKsqbHHLgkjdI36UGyp8jqI8UerhINCa7QhrsdPSxq1lp/1NSrGKCUh+?= =?utf-8?q?XYaqn6WSMNQ1+TAiBBiUWHZxSjl1b573JyiN/O4No3i5i6pzr0pdGSktkP6RKKSYk?= =?utf-8?q?3IAh5qpbZrPRnZUdL3Avuex7xiqtVVHA62u9XnLUKACizAI21j5PFz2IxlxtD61S8?= =?utf-8?q?AMKiX4tIxaFzgfEL9iORYb8yMs/zsjCTgqdYLqfj1kRk/NSYt6HqKyBWSvnWFGKeC?= =?utf-8?q?Ae4oLOw0YWaBdQiemMuZ9ScRemGRm6FhedVY4kChKm4LPcQkJUnSUplMpe5DBF0JS?= =?utf-8?q?5n0A0kuHmcSDqBrRpyfEpYpMI752q+LY8xQteHUNG7WQPJn93rm8iEIZqvUkMpLtn?= =?utf-8?q?pfznXe03kbRhjOhc3pZGw0k7DCbUY2BlzWPNXC6LLaXgM4Bc0zwYJqIH2gsHhLmUv?= =?utf-8?q?a8Y7tud5TlXxSPQoxYgyZA3jXFGvND4IC4zRH6427Dj8IArfAQp9VXM=3D?= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0128a31-15cb-4163-e588-08ddfce3b416 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2025 10:01:46.6666 (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: D8Dq5nkT5pG0vvvlH1gFnOs1Sfh1ADF2z45JoMPuBGKMWW4+X4U6XJAhZ2G/XhtbLaRDHVnOkeUlv+0Vt2kmF6wt1Q49KvSCWWuJfOhHUBIP39hCxGXsfkOvfxUFuVko X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB5948 X-Proofpoint-GUID: G1b3Mc5ITZF5fhBDvqIJin9OlvrLNiuJ X-Authority-Analysis: v=2.4 cv=TJhIilla c=1 sm=1 tr=0 ts=68d664f2 cx=c_pps a=8SVoR3TXwnQnu/Z+5+8XkA==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=yJojWOMRYYMA:10 a=NEAV23lmAAAA:8 a=mDV3o1hIAAAA:8 a=Twlkf-z8AAAA:8 a=ei4SEBeUAAAA:8 a=t7CeM3EgAAAA:8 a=7CQSdrXTAAAA:8 a=iGHA9ds3AAAA:8 a=8wEic9LhAAAA:8 a=pGLkceISAAAA:8 a=IvTj1HvjAAAA:8 a=JVUAX_dDDhsBa-RCHgwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=-74SuR6ZdpOK_LpdRCUo:22 a=8zIOOLb7Ym0NljyPXbuS:22 a=FdTzh2GWekK77mhwV6Dw:22 a=a-qgeE7W1pNrGK8U0ZQC:22 a=nM-MV4yxpKKO9kiQg6Ot:22 a=M9VCcFR7d36vLOFuqMn8:22 a=kmyLcwvAnC_t3PsnBtKb:22 X-Proofpoint-ORIG-GUID: G1b3Mc5ITZF5fhBDvqIJin9OlvrLNiuJ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTI2MDA5MSBTYWx0ZWRfX+zjdzBn+8QmR dVpOmgDzUCM8dXU3vIiD5wROFz1P9DT3t256R66L5YOobnBBK6GRXrvldIipTIyFK8DU8mRt1z0 sv7t9sVwFm4dxl57nZe5kWaai9WTz0dmAIJsIJyZ/Y1vomdMNlandBc4pe2mKiZBaVtKoGueF0D a0nQet3yJySvF6xFF3lKdeS/j4w2DU4neIt9J4IKuesO1VgXmwolqwdp/xINkumTu9TW16vSui0 fvfK4Z4VYcHscV1GObblLiRT9AB68GmSNnsx31S805+pWEGZklbijVexQpwa92uoQsY/GurrtMM olN1xCyqQvri1A6p0pVrU0Rmz/aoMijzZQLRUnm1jVbJ+WsAftobMKtwlAzcyJr5s3GQx/leIbg onnaUL13syOBd+YiJMmxsCTAOWuBsA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-26_02,2025-09-26_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2509150000 definitions=main-2509260091 X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 58Q4tDM61645808 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 ; Fri, 26 Sep 2025 10:03:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224071 From: Deepesh Varatharajan Drop rust-llvm recipe because now rust depends on clang for building *Dropped Patches: 0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch(Merged) https://github.com/llvm/llvm-project/commit/b46f34452e9dec50eee6ddbe07875f05e421a81c 0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch 0002-llvm-allow-env-override-of-exe-path.patch (We have the above two patches in clang) Signed-off-by: Deepesh Varatharajan --- meta/conf/distro/include/maintainers.inc | 1 - ...-gcs-instead-of-gcs-target-attribute.patch | 66 ------------- ...r-sort-ClassInfo-lists-by-name-as-we.patch | 31 ------ ...-llvm-allow-env-override-of-exe-path.patch | 33 ------- .../recipes-devtools/rust/rust-llvm_1.90.0.bb | 98 ------------------- 5 files changed, 229 deletions(-) delete mode 100644 meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch delete mode 100644 meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch delete mode 100644 meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch delete mode 100644 meta/recipes-devtools/rust/rust-llvm_1.90.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 0988bf50a7..7eec664619 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -773,7 +773,6 @@ RECIPE_MAINTAINER:pn-ruby = "Ross Burton " RECIPE_MAINTAINER:pn-run-postinsts = "Ross Burton " RECIPE_MAINTAINER:pn-rust = "Randy MacLeod " RECIPE_MAINTAINER:pn-rust-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Randy MacLeod " -RECIPE_MAINTAINER:pn-rust-llvm = "Randy MacLeod " RECIPE_MAINTAINER:pn-rxvt-unicode = "Unassigned " RECIPE_MAINTAINER:pn-sassc = "Simone Weiß " RECIPE_MAINTAINER:pn-sato-screenshot = "Ross Burton " 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/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch b/meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch deleted file mode 100644 index 48af6fc283..0000000000 --- a/meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 86940d87026432683fb6741cd8a34d3b9b18e40d Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Fri, 27 Nov 2020 10:11:08 +0000 -Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well - -Otherwise, there are instances which are identical in -every other field and therefore sort non-reproducibly -(which breaks binary and source reproducibiliy). - -Upstream-Status: Submitted [https://reviews.llvm.org/D97477] -Signed-off-by: Alexander Kanavin ---- - llvm/utils/TableGen/AsmMatcherEmitter.cpp | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp -index ccf0959389b..1f801e83b7d 100644 ---- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp -+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp -@@ -359,7 +359,10 @@ public: - // name of a class shouldn't be significant. However, some of the backends - // accidentally rely on this behaviour, so it will have to stay like this - // until they are fixed. -- return ValueName < RHS.ValueName; -+ if (ValueName != RHS.ValueName) -+ return ValueName < RHS.ValueName; -+ // All else being equal, we should sort by name, for source and binary reproducibility -+ return Name < RHS.Name; - } - }; - diff --git a/meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch deleted file mode 100644 index 9be26677a9..0000000000 --- a/meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 7111770e8290082530d920e120995bf81431b0aa Mon Sep 17 00:00:00 2001 -From: Martin Kelly -Date: Fri, 19 May 2017 00:22:57 -0700 -Subject: [PATCH 12/18] llvm: allow env override of exe path - -When using a native llvm-config from inside a sysroot, we need llvm-config to -return the libraries, include directories, etc. from inside the sysroot rather -than from the native sysroot. Thus provide an env override for calling -llvm-config from a target sysroot. - -Upstream-Status: Inappropriate [oe-core specific] -Signed-off-by: Martin Kelly -Signed-off-by: Khem Raj ---- - llvm/tools/llvm-config/llvm-config.cpp | 7 +++++++ - 1 file changed, 7 insertions(+) - ---- a/llvm/tools/llvm-config/llvm-config.cpp -+++ b/llvm/tools/llvm-config/llvm-config.cpp -@@ -226,6 +226,13 @@ Typical components:\n\ - - /// Compute the path to the main executable. - std::string GetExecutablePath(const char *Argv0) { -+ // Hack for Yocto: we need to override the root path when we are using -+ // llvm-config from within a target sysroot. -+ const char *Sysroot = std::getenv("YOCTO_ALTERNATE_EXE_PATH"); -+ if (Sysroot != nullptr) { -+ return Sysroot; -+ } -+ - // This just needs to be some symbol in the binary; C++ doesn't - // allow taking the address of ::main however. - void *P = (void *)(intptr_t)GetExecutablePath; diff --git a/meta/recipes-devtools/rust/rust-llvm_1.90.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.90.0.bb deleted file mode 100644 index 42d4031da1..0000000000 --- a/meta/recipes-devtools/rust/rust-llvm_1.90.0.bb +++ /dev/null @@ -1,98 +0,0 @@ -SUMMARY = "LLVM compiler framework (packaged with rust)" -LICENSE ?= "Apache-2.0-with-LLVM-exception" -HOMEPAGE = "http://www.rust-lang.org" - -# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use -# -LLVM_RELEASE = "20.1.8" - -require rust-source.inc - -SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ - file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ - " - -S = "${RUSTSRC}/src/llvm-project/llvm" - -LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8a15a0759ef07f2682d2ba4b893c9afe" - -inherit cmake - -DEPENDS += "ninja-native rust-llvm-native" - -ARM_INSTRUCTION_SET:armv5 = "arm" -ARM_INSTRUCTION_SET:armv4t = "arm" - -# rustc_llvm with debug info is not recognized as a valid crate that's -# generated by rust-llvm-native. -CFLAGS:remove = "-g" -CXXFLAGS:remove = "-g" - -LLVM_DIR = "llvm${LLVM_RELEASE}" - -RUST_LLVM_TARGETS ?= "ARM;AArch64;Mips;PowerPC;RISCV;X86" - -EXTRA_OECMAKE = " \ - -DCMAKE_BUILD_TYPE=Release \ - -DLLVM_TARGETS_TO_BUILD='${RUST_LLVM_TARGETS}' \ - -DLLVM_BUILD_DOCS=OFF \ - -DLLVM_ENABLE_TERMINFO=OFF \ - -DLLVM_ENABLE_ZLIB=OFF \ - -DLLVM_ENABLE_ZSTD=OFF \ - -DLLVM_ENABLE_LIBXML2=OFF \ - -DLLVM_ENABLE_FFI=OFF \ - -DLLVM_ENABLE_LIBEDIT=OFF \ - -DLLVM_INSTALL_UTILS=ON \ - -DLLVM_BUILD_EXAMPLES=OFF \ - -DLLVM_BUILD_LLVM_DYLIB=ON \ - -DLLVM_LINK_LLVM_DYLIB=ON \ - -DLLVM_INCLUDE_EXAMPLES=OFF \ - -DLLVM_BUILD_TESTS=OFF \ - -DLLVM_INCLUDE_TESTS=OFF \ - -DLLVM_INCLUDE_BENCHMARKS=OFF \ - -DLLVM_TARGET_ARCH=${TARGET_ARCH} \ - -DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \ -" - -# Forcibly disable the detection of these packages as otherwise -# it will look at the host Python install -EXTRA_OECMAKE += "\ - -DPY_PYGMENTS_FOUND=OFF \ - -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=OFF \ - -DPY_YAML_FOUND=OFF \ -" - -EXTRA_OECMAKE:append:class-target = "\ - -DLLVM_BUILD_TOOLS=OFF \ - -DLLVM_TABLEGEN=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-tblgen \ - -DLLVM_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config \ -" - -EXTRA_OECMAKE:append:class-nativesdk = "\ - -DLLVM_BUILD_TOOLS=OFF \ - -DLLVM_TABLEGEN=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-tblgen \ - -DLLVM_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config \ -" - -# The debug symbols are huge here (>2GB) so suppress them since they -# provide almost no value. If you really need them then override this -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config" - -do_install:append () { - # we don't need any of this stuff to build Rust - rm -rf "${D}/usr/lib/cmake" -} - -PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liblto" - -# Add the extra locations to avoid the complaints about unpackaged files -FILES:${PN}-bugpointpasses = "${libdir}/llvm-rust/lib/BugpointPasses.so" -FILES:${PN}-llvmhello = "${libdir}/llvm-rust/lib/LLVMHello.so" -FILES:${PN}-liblto = "${libdir}/llvm-rust/lib/libLTO.so.*" -FILES:${PN}-staticdev =+ "${libdir}/llvm-rust/*/*.a" -FILES:${PN} += "${libdir}/libLLVM*.so.* ${libdir}/llvm-rust/lib/*.so.* ${libdir}/llvm-rust/bin" -FILES:${PN}-dev += "${datadir}/llvm ${libdir}/llvm-rust/lib/*.so ${libdir}/llvm-rust/include ${libdir}/llvm-rust/share ${libdir}/llvm-rust/lib/cmake" - -BBCLASSEXTEND = "native nativesdk"