Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp945135rwl; Fri, 24 Mar 2023 04:20:07 -0700 (PDT) X-Google-Smtp-Source: AKy350bODUc9rnBFIouyEjVv2mhHuOcFitPNn3aZSxRAqvLJ/7/eIk/VYgDe8AQgFqnHw6VizIYr X-Received: by 2002:a05:6402:411:b0:4fc:154:3fda with SMTP id q17-20020a056402041100b004fc01543fdamr3120454edv.4.1679656806940; Fri, 24 Mar 2023 04:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679656806; cv=none; d=google.com; s=arc-20160816; b=PcEr+2tHyZ1SAJRK2YDonp8o5BfxdeS41rrrmKy74pFIoE4LakOKHGliiwfPQDFf3I GZ5ptFR/BpYNja58CyvBQd3H7Bt+TrRvNa07DMIBJHVfYfkeJ1J/Q6Czgmmadx8uhuz+ nuQd7mBWvs4S8q+Nxe/baRNqEwEpBiXKh5A/r9i7abp/oPS8LcXWH+tvrL4TW8hJ2lpQ HxfgAmPXI1SqdMKpvJQU2jI0z7Y7Jyflw9815wt1AkaiO4mpBGqo6tRUBU0ssD3NCdyi 3bKrfc2awj8aYJF/enzI0o8daPxNk6wHxOMJtbyoLH8kLXvPslVADMc7WDnKFRIPlkkZ Tlrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=kylMaxi+ARq5W/GWaaUpofUOMrECzF079HuUSLI1gIQ=; b=uh2VqKGctftqAPBSBbgb9tmnSGaujhQ9+UhZC3ePo1SiReDe/brLwBS5jFDbCakkiz WAqA26whffIv+yq/pXADF9zipXWFYB3rMFUEzwO4gemvwK0kS7X61M4o0ugj8wtJTy2X DU2/LXXY9CU+C3Ec6vRXCneUP8YVP2tRKSsfdF/lV5yxo0UEIskHx50phkd10UtkSGD9 lQR0lfQWJbfXjZMaIOlwrSmbb73S4m5GEFqKCrI+UDScUuwNoLX1IKVJrJbdexSMXbe8 rkvZIeCmkHUvzy7704qsrGYNZrzFVI9lHK26By8B3s5IPNx/Kja9CrnjZMIyhWbKKZ/R +uvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZdbMGXD2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j18-20020a170906279200b00930371d2698si5435937ejc.894.2023.03.24.04.19.41; Fri, 24 Mar 2023 04:20:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZdbMGXD2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231161AbjCXKyL (ORCPT + 99 others); Fri, 24 Mar 2023 06:54:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjCXKyJ (ORCPT ); Fri, 24 Mar 2023 06:54:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 527E9244A6; Fri, 24 Mar 2023 03:54:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E1C1F62A1D; Fri, 24 Mar 2023 10:54:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87892C433D2; Fri, 24 Mar 2023 10:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679655247; bh=05TRJlmt+n+Rfz7qihEXoMNgUCXEtNcYL32YthagoLk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZdbMGXD2UULJcRdC1qoFKwkOtzO9RKWLMKHs725xtj9tNndRiEi44p+zwT8wrbwDo NHKyZ+8ybCye8FZr3sG37zSwGBbhA4RCAF6jdIEs0kWrXLD4KhQ8oRcr/n+8xHtByd G7H0+6phPKzTpebgXRik23ixC6/0z10+AhmHLDElSIWR3TGHpjKfKhDToPXG58HGWB ce3LWVy11a8jdY3uiBG0n8BzR5nh1QCAYt2SRwRV1beohunn//XetphFXcpOo23ErM oc5fJ+ATOkRWfOAIL0c827OB/A8E19Bk/LSpd99zsGqX5n8IypFCK7zNHJIOdWi/Mw J/QM20+MiDm+g== From: Kalle Valo To: Nathan Chancellor Cc: Linus Torvalds , Linux Kernel Mailing List , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-toolchains@vger.kernel.org, llvm@lists.linux.dev Subject: Re: Linux 6.3-rc3 References: <20230320180501.GA598084@dev-arch.thelio-3990X> <20230320185337.GA615556@dev-arch.thelio-3990X> <87pm91uf9c.fsf@kernel.org> <20230322163637.GA918620@dev-arch.thelio-3990X> Date: Fri, 24 Mar 2023 12:54:01 +0200 In-Reply-To: <20230322163637.GA918620@dev-arch.thelio-3990X> (Nathan Chancellor's message of "Wed, 22 Mar 2023 09:36:37 -0700") Message-ID: <87wn36ctdi.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nathan Chancellor writes: > On Wed, Mar 22, 2023 at 02:44:47PM +0200, Kalle Valo wrote: >> Nathan Chancellor writes: >> >> > Perhaps these would make doing allmodconfig builds with clang more >> > frequently less painful for you? >> > >> > https://lore.kernel.org/llvm/20230319235619.GA18547@dev-arch.thelio-3990X/ >> >> Thank you, at least for me this is really helpful. > > Really glad to hear! I hope this helps make testing and verifying > changes with clang and LLVM easier for developers and maintainers. It really does. And I hope you are able to update these packages in future as well so that it would be easy to get the latest clang. >> I tried now clang for the first time but seeing a strange problem. >> >> I prefer to define the compiler in GNUmakefile so it's easy to change >> compilers and I don't need to remember the exact command line. So I have >> this in the top level GNUmakefile (all the rest commented out): >> >> LLVM=/opt/clang/llvm-16.0.0/bin/ >> >> If I run 'make oldconfig' it seems to use clang but after I run just >> 'make' it seems to switch back to the host GCC compiler and ask for GCC >> specific config questions again. Workaround for this seems to be adding >> 'export LLVM' to GNUmakefile, after that also 'make' uses clang as >> expected. > > Interesting... I just tested with a basic GNUmakefile and everything > seems to work fine without an export. At the same time, the export > should not hurt anything, so as long as it works, that is what matters. Sure, once I figured out the quirks I can workaround them. I was just hoping that other users would not have to go through the same hassle as I did :) > If you have any further issues, please do not hesitate to reach out! This is nitpicking but it would be nice if the tarball contents wouldn't conflict with each other. Now both llvm-16.0.0-aarch64.tar.gz and llvm-16.0.0-x86_64.tar extract to the same directory llvm-16.0.0 with same binary names. It would be much better if they would extract to llvm-16.0.0-aarch64 and llvm-16.0.0-x86_64, respectively. For example, Arnd's crosstool packages don't conflict with each other: https://mirrors.edge.kernel.org/pub/tools/crosstool/ And maybe request a similar llvm directory under pub/tools to make it more official? :) -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches