Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1885654rbb; Tue, 27 Feb 2024 04:34:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXfdz9dpUnSxitCQuVZ0mJkLBwbHWlRinJpU2GkXKkHj6b0gMOL9gkBwvF4wrN2JyjXbNFAhjZ4FFFaU6fKNLOLptfSZ34WFqVPgrWx6g== X-Google-Smtp-Source: AGHT+IFUa00Pk9eIjJqmUpaTKlrzS+5xzgomFKClXUYDNhzZTAoegFabAJhmudN1swlD2JycgxYs X-Received: by 2002:a17:906:34d3:b0:a43:5276:2d53 with SMTP id h19-20020a17090634d300b00a4352762d53mr3676168ejb.14.1709037281677; Tue, 27 Feb 2024 04:34:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709037281; cv=pass; d=google.com; s=arc-20160816; b=oEyyVE1skQzDv55e+R1O1Vz3sS1OXRZZAPccE5cCBu6CJSQFrDlPfGKf3p5CBDv7ds yvQF1OwolKYqhFwr2IUvz7WFUhc9wjSC/E1nookfunrTVAWEZHCxQyFTlR95n0Bbyoyy kT++CrHpWffhaoIrOrxN1m5DdW7M5vYlCpyriVHwXR9Bc61O64nb/teOlitXhCzTm/D+ Fn/HxMUPuBalmNOT6uGMBmg9PrC1n3JUAUD8G0v/F7Gadha6+p2Im4Fz1578sgli2XEu mjbHOR/0dWvYiAYFYmAuyV72iB6VDq6pk/e3FXTMFxoW9HfhA2wReq9jpnLhb+PlwRoy lLzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=N9j9qlONozduTz+bniTZX4spLz7Dtuw1zBMBtIuIeC0=; fh=C7DrOqNrp82kr4OEIZGbnfcilcRIkiqmabpK7sgnEOE=; b=VsqGONRX7P0m48bDcCf4oX1I3vYsIEzWBiY6s60wB/AbXnAU1aV3ZeeUhsZ14eEw/F BraRXgM9lUGwerH2ouRRfdIKGIDcsVtg4i5LypL6ql09VnWGrNGAkW4t0SLyBu0RSFO2 CvMWnK351qLGFnvUsRL0QqT9OVJYzeMd1cspZZsOoOOyIxYYqKkiuzSBnZhOl0KYth8T KLI3CYD+QdT2uZh1MvQHp4MtcPxcMnwETmPcLb9Tk5FYGj2dy7hA26qsGfiF+hU5/qLX Bd+ODhTsNorkfz7wpnDOPG/KO81MCD3X7LzgspsloQarUkMrnRe0QW8zjxTqHdqlNG48 My7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SBZelrBl; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bi23-20020a170906a25700b00a3d1de3e2bfsi691899ejb.566.2024.02.27.04.34.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 04:34:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SBZelrBl; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 630981F2603A for ; Tue, 27 Feb 2024 12:34:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C59CF139592; Tue, 27 Feb 2024 12:34:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SBZelrBl" Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 944B01CFA9; Tue, 27 Feb 2024 12:34:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709037269; cv=none; b=hdfQAyK9NqqbFNqbNrcq0JOG7vdmX9PjEQH75qLSrOyatCpOez2wFt741gy9NiVgH22FR3akC1bXihxDUO3DquXw5U4N85yxTORFgduNjCKG2QQAXkDb4JtA986ll+93e/o+CPN3e9yGSET//qXueUfqCta2yrnQjuvV2q9MEvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709037269; c=relaxed/simple; bh=N9j9qlONozduTz+bniTZX4spLz7Dtuw1zBMBtIuIeC0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=MAvtQ/rpmKIwFMeDnzZ0QkosGlyx7O+Vd2rOjDzTdOst3WxmIS+Jt1qiABT76JG/YSAaELO2oJXVfYUlX++PhTj6onoO3gcAJNgdgyP60XqZ33PaWo/otdvHUXtc9AeZo4f4NPXmKxiaeNiaNQ1c6q8S9P5su4GKeeMWzavUAvo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SBZelrBl; arc=none smtp.client-ip=209.85.216.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-2997a92e23bso2887446a91.3; Tue, 27 Feb 2024 04:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709037267; x=1709642067; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=N9j9qlONozduTz+bniTZX4spLz7Dtuw1zBMBtIuIeC0=; b=SBZelrBlMCrAok/Ji5IEEIJ0HuE10ktW936bNSRp7GdMIR5e+y4QvpsYvEucM5xjeu mKdxLMsjdQIalqDWPrC4t2jI6azU5RQJjnWHjz9N4uTEswRgLHcDs7uHx6A2vWPRLu2x vYLZQb3dpdY4C8cdspbbw79YWR0oPeMC5x8PD7iQaOGd+f6WdxH16hGFJUwYUI/M/nVp FaagOgWF8MIchQBZlC92uGDpHeowb555aiKuff+BubVIEfdqOExTTdV83W5qsZAiVSeg TTttIMqUmApTIYcKSQhqSpziL6By7gLclakfPzID3zOEjzxf6FkGgYXFe3TSaC679HBe IIqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709037267; x=1709642067; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N9j9qlONozduTz+bniTZX4spLz7Dtuw1zBMBtIuIeC0=; b=uO+F8ZftviYg1B1Av0GTIAzZmaTq4QfL0Qa+xteX7YJq3dWo6IvUlWEOO0uc9Wde0P kQ2YEvixO+XoiMcinQlOcSC8iALGaH4rh+U9g3Iq1TYyXgyVc+xIOOug0Zlt/a+Q9c8C FZVdG6sEfdcl3JRFkIT44aOp6R1Ut9oJFH20hGfawK8BjKqxXMu4LsnwhzNINkROJ/Mi VGALXQmJPJB3pHpUI0PmXNMsSlIXrt54+zd1rLu762am5RaxSkfjHU+6llatOoEY2bqf EbuS4zaGvvqAU2hAFywr88BMURBhKRLdsTrIDecNf8rDuTonm1sG3gwXk7CdQ2rpIU9Y z91Q== X-Forwarded-Encrypted: i=1; AJvYcCV13V7aDEi27eSWyemQ7TcL7ZpvgZK0/hzmplO14Q+UMAMg5IDpgndtRMFus1AUPFoIUxCEyFnr/OFQR41jq3XonhvNloib1UIxxFT9eUrgPzKswE2GVEmueZ27MBCVtzK8oJckBDtvAgTz1CcVkNy4NFmCwabpK7+dGGXVcs/RuxKKkgWOL4OP+Fx40I8FeQ+ErQEJGLhjnfaIM4459EM= X-Gm-Message-State: AOJu0Yy+8ZO4uMbZebHD84QGA9riTQmoSxOKrWYoTPNcdnGsogBq2HyI sgRRFnt/trEac0P/cWDNK0wlSONYiyRChVEJu5whlsYpLmChf2gKsoIyF3lik3yXkE07K0aJvxo 0rw8qnJ6smy3Z0B9mdD70W5R3ccY= X-Received: by 2002:a17:90a:5804:b0:299:389e:b611 with SMTP id h4-20020a17090a580400b00299389eb611mr5540528pji.47.1709037266902; Tue, 27 Feb 2024 04:34:26 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240223-leverage-walmart-5424542cd8bd@spud> <20240223-perjury-preshow-fc2cf73d552e@spud> <20240227-uncertain-amaze-6197e627ad95@wendy> In-Reply-To: <20240227-uncertain-amaze-6197e627ad95@wendy> From: Miguel Ojeda Date: Tue, 27 Feb 2024 13:34:14 +0100 Message-ID: Subject: Re: [PATCH v2 1/3] rust: make mutually exclusive with CFI_CLANG To: Conor Dooley , Nathan Chancellor Cc: Conor Dooley , Matthew Maurer , linux-riscv@lists.infradead.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Nick Desaulniers , Tom Rix , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, stable@vger.kernel.org, Sami Tolvanen , Ramon de C Valle Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 11:54=E2=80=AFAM Conor Dooley wrote: > > I did try to test it but I ran into too many toolchain issues - my > older copies of LLVM (pre 17) are not multiarch as I built them by hand > with PGO for x86 and RISC-V. My LLVM 17 is from kernel.org and has no > libclang. And then the copy of LLVM 18 on kernel.org apparently does not > support kcfi at all. I gave up there, but I don't see how this would not I asked Nathan to add libclang a few days ago, and he very quickly did it for LLVM 18 -- though I don't know the plan for the others. I just pinged in that thread. Cheers, Miguel