Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2811636rdb; Mon, 12 Feb 2024 18:53:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVLggF94OTQ/Kz5xuzT16TI4EYUV9jYbANZ52sox/WFCw/7eG42sV4Z8aWIQ1nEJ8HJ2lgzzeqr8mLf+A+twvoxTx8nDlb4LyHZRwwx0Q== X-Google-Smtp-Source: AGHT+IEeUsJXIc3MAB2STMTHl/L9OJgM46uNond4sHqwEJHdrHkiY0ln7RK0AKhv/fO0ex4US15x X-Received: by 2002:a05:6e02:1d99:b0:363:c4ae:95c5 with SMTP id h25-20020a056e021d9900b00363c4ae95c5mr11720913ila.17.1707792794449; Mon, 12 Feb 2024 18:53:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707792794; cv=pass; d=google.com; s=arc-20160816; b=GLEKW0NgTii0PcXTgV9OJLrT3CEoRWxCkOb9wmo1Avn+WAXBTePrclCKzk8cGUEnJg XBpDzPY3wWVQpU6qxjpd7P4yFUhamDW6lYF4jDa7EId7Nuy9rhk0RMy5NHj0kXGG6vEn 8YBd5jbuofDFP61D3e7WrJrWqXZpbI/sIg0zvGBt9ndVABa3sFKGryL7kCScUF9fuO0H XN2HVp0VlmQQMde7s4U1s+vaPlZNJINYyQQ+tdqLWTSU/sQzRe5vptJNEcgfoX7vWyiv OuNyR88eVHMIG3e9eE6QJ4kX7cvOyVuUWM627ZFeqNgjktIQDteVrh1jvQOZ88X2Veqn 4gQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4FnTHmER1dcrdDpJ4Uz0t4YwdOjIZBubBddKkf2lD94=; fh=+2VCYHHus4rmyKrJjbcMQrNHEGdJo3M2/h2UEffVJ7w=; b=rU8YEuRet/5etAppogKfJWD0pLXmCdsrIjm2orVfDRSQadIyxCwVaGg3jiYDicWdFd XYG3wHwU4sFlhrJNtqXvRdsgBBOFypQp9r9uxQy1qdPYf6tNH7NhojpBqen1E/Ygf/QU alh3qDvPBfN39OgstZn+f4vM0dLrB5XZdOGD3j3UgC1wGP6aM7Cp2SgDdyPJhK6jiEFm +X4iMe+YwriSCXIyq6CqBbTQYFarUkuR/vq/tE7KJxT6LD6nk4qpYCnMmEqCmN0JrMaN BwTYFPBvXdPzu51zwZSUVKoICSGNWhhJhrJmY0hd+abS0nFbbrwBM+IM+CPs5W1/cxct rNDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LGk7uUHg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62892-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62892-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCV6njtgV8iQBzf0gP4olnUfGCBB5FqzXw3Jheo+SVDLM/wZgAScxoCrmwk+XHmzDr65LPmCQJyUXhyk1B2bOOBD0jmKVJmpC3WA6FJv5A== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g15-20020a63374f000000b005d8b5979996si1243531pgn.492.2024.02.12.18.53.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 18:53:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62892-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LGk7uUHg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62892-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62892-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 153DD285DB6 for ; Tue, 13 Feb 2024 02:53:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3ED378C17; Tue, 13 Feb 2024 02:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LGk7uUHg" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 552BA8BE8; Tue, 13 Feb 2024 02:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707792785; cv=none; b=KgACR2dC4lfybvSMY1/PTcsXYCc8DrFoUKNuOuCH9m+ax4TBnA4qY4JCyoI5eJWJTlgbKZfjgCuOeL+jID4BohDJvn2oN8ePlWwxzMbzyErX5M3MoNuIuuXl1dhGDA2UTGZR2k3OiwlaoMsVTktSUTi5nSDkvp7+nrFCQAbDNQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707792785; c=relaxed/simple; bh=CAs0UMp0BUjGybDRGjh0Nyg6O4tl4J6ISVjwah+57MI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KRKjnzAQ0uDvYmhqbuYNgn3NULNhYiDn+GzHYGmGTKFx5kqBwJX8GPFyALiQDwix5rF46Y1lmV7JY/wiS6I0T4MFKIJFRiGIFmTo8mD5LaqyniC2NvcZ4QPh4F4WtDPHjXKjkZ7nsOeOG51Lu5YjV20NqeUzZwH0iawlJAdfj58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LGk7uUHg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D93EC433F1; Tue, 13 Feb 2024 02:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707792784; bh=CAs0UMp0BUjGybDRGjh0Nyg6O4tl4J6ISVjwah+57MI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LGk7uUHg0aWZlEP6w6wzMkOo2Y/yS76VDz8euCfjoGqlyjyhcFLmUzNyBNikw6qns dePhwicnPM86j2thaGSc/CcCJR0qb+nSF/LPctPfx9Q1TlPgiTvufrTB7DTq/06Fv1 m+weN/Jv2U8HA8SLYcWsLHtzH7qsGrR3HT+7v7R4O0ZfOpeulAviP0l0t58GplIJ8X yZdw96zDmJDJWk/ZfHikVo0Sl6vmwkZhPMRl3EXs+PaUZ2glPhiOLnJgkuZZzA8QRu xYRTOHF30pKLqf+gIQyCrULaxg2S3+mATIRZpnUCtw8Mew+CMj1NNZg8lai0beP7Bl 84Y9hfwpyhqUw== Date: Mon, 12 Feb 2024 19:53:03 -0700 From: Nathan Chancellor To: Miguel Ojeda Cc: llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: Prebuilt LLVM 18.1.0-rc2 uploaded Message-ID: <20240213025303.GA4006766@dev-arch.thelio-3990X> References: <20240208002841.GA2601476@dev-arch.thelio-3990X> <20240212234850.GB3221859@dev-arch.thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240212234850.GB3221859@dev-arch.thelio-3990X> On Mon, Feb 12, 2024 at 04:48:52PM -0700, Nathan Chancellor wrote: > Hi Miguel, > > On Sat, Feb 10, 2024 at 05:36:01PM +0100, Miguel Ojeda wrote: > > On Thu, Feb 8, 2024 at 1:28 AM Nathan Chancellor wrote: > > > > > > I have built and uploaded a prebuilt version of LLVM 18.1.0-rc2 to > > > https://mirrors.edge.kernel.org/pub/tools/llvm/. > > > > > > As with Linux -rc releases, this is not the final version that will > > > ship. If you run across any issues, especially ones that were not > > > present in earlier LLVM releases, please consider reporting them to us > > > so that we have a chance to investigate and fix them before the final > > > release. > > > > I took a look at the LLVM 18 prerelease to see if these would work > > with Rust for e.g. CI and other users (instead of using the > > LLVM-provided apt ones, for instance), and noticed it does not bundle > > `libclang.so`. > > > > Would it be possible to include it so that we can use `bindgen` and > > thus enable Rust with them? > > > > I understand they are intended to be minimal toolchains, but if you > > think it would not be an unreasonable overhead, then it would be great > > to have it. > > Absolutely, I am more than happy to include libclang.so and anything > else that would be useful for the kernel. Everything gets built but I > only install what has felt needed for the kernel, so there is no real > overhead aside from package size, which obviously should not increase > much with this change. I've added the targets to my build scripts and > kicked off a set of builds. If they finish successfully, I will upload > them so that you can test them out and make sure they will work. Alright, I reuploaded 18.1.0-rc2 with libclang.so included, please let me know if this will work for you going forward. Cheers, Nathan