Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17984844rwd; Tue, 27 Jun 2023 10:00:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JTCJthfGWbTfVjfsGpMG7noXFJ2T+Zwff/7NAYa0CKgoYhQ2tfxAUu9RENpnNC+CNlitd X-Received: by 2002:a17:907:7b96:b0:984:5c67:e73f with SMTP id ne22-20020a1709077b9600b009845c67e73fmr31465235ejc.54.1687885206754; Tue, 27 Jun 2023 10:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687885206; cv=none; d=google.com; s=arc-20160816; b=cQ7tF6OR8jM5+D9pHGs48mt9cx7tQE2tTBqex1D07ntMPzW4rpPz8m16VxPiXDYuZI w2/B46/m0ZUeXrUEnBHbLiB3j7Ln8UZPILj/p7JCXCqviyEyhthzjodiEB1SaHWyDJgG bJRfJquBD+asa/uLSxFbzCTEV2cnJXuHdK5lPcNq0yQn1Amf8vHsZtcnfbieJPPL+QqL rq7wvvkv1cdbGAcu6uMDhX/K9316ius3oeuBjI9ZSnN5hMWTqKM/ceTZ0dRqyiBrPPBw GybHDhSXFjhYJY6DZxbQPaJT0FXDbTrndiHaYLFxf9G6Hbf1e2mHQqON7pKcIMn9VN+r zNSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0wXr1qXiT9VGM5NyOHPg8TTNFDI/07U5aNiPfbhJrFs=; fh=+N0SlQmsLD434ImvQJ7lncvCerMD+edpfCBaHhvLBVo=; b=rhD99cTLnGLIm3nBG9PbtZQUCLLO1Ra65DvBw9KfyWEhZRl4o7pjix3wBMYY6PW774 I1RdZw/VcWNlJV64JqMbuYD61pa+3xyqtUKawMlSSTHaiC/wC7O2GGielH5QUpmsyBfQ IWVa6WpuBDmCrP+4ZV7453YMa8mzS4Luht1y6Lx6/NAA5ojqn9FTCmIxu1LubmqdXgsF MnPYw4FaHrpr6pbXRYOq0JvEQVw7Il5PxaNH2b9n+J/zh0hbE4T+b3u+MTvKTL0WXKBy XDN1ETJwtGTx3pNmjK+Y6qb7Cjxbm7gbeni8euvG2SfSpoxWgeD4ajidniJ+U1E6rEeW hZYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gWLGnVhW; 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 l26-20020a1709060e1a00b00988c051a9edsi4485943eji.651.2023.06.27.09.59.41; Tue, 27 Jun 2023 10:00: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=gWLGnVhW; 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 S232553AbjF0Qcz (ORCPT + 99 others); Tue, 27 Jun 2023 12:32:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232548AbjF0QcS (ORCPT ); Tue, 27 Jun 2023 12:32:18 -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 ABC523595; Tue, 27 Jun 2023 09:32:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3B36D611D8; Tue, 27 Jun 2023 16:32:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DA8FC433C0; Tue, 27 Jun 2023 16:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687883536; bh=p3EvKGU59+hD5m9qSyESw/ZXbFaiyZSKzEhNI6ZWGL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gWLGnVhWDBHvyqAfkgUtlAd3ilHkpkaHbBFmRiVOjFf3qmweZDmdzxz6NYrfyRdhh 1gpGzcqDNeWx0ulFx+9eDzml0CN7Bs0imCY52jKXfeD9lJvyjUXnphHkWR/41PLKmJ Mr3+DjDcM9varbMfJmFJgUk/z7dMC/Wqs5Fs04h7UJhP+4+L8uzxOCw5OO66V98u3H mPXSfnZECFE1/rpHOkTFcN8MFYqG7B1OQTayVz3hM9lrp6hGn2rnEgxTfOjspQb4XG 56bWfIDMAWbtrsfGwwsAltwW6CYb8UfFhTQ8CsfvsRPAoozWh7J7EOFPFPO11rLdIQ 1dXWqFuaVH5aw== Date: Tue, 27 Jun 2023 09:32:14 -0700 From: Nathan Chancellor To: WANG Xuerui Cc: Huacai Chen , WANG Rui , Xi Ruoyao , loongarch@lists.linux.dev, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, WANG Xuerui Subject: Re: [PATCH 0/2] Fix cross-compilation issues with Clang Message-ID: <20230627163214.GA665894@dev-arch.thelio-3990X> References: <20230627130122.1491765-1-kernel@xen0n.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230627130122.1491765-1-kernel@xen0n.name> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Tue, Jun 27, 2023 at 09:01:20PM +0800, WANG Xuerui wrote: > From: WANG Xuerui > > Hi, > > Just some quick fixes to the recently accepted Clang patches, thanks to > Nathan's followup testing. (I test-compiled natively so didn't notice It is good to hear that everything works natively as well :) > that cross-compilation was broken, and by chance the LLVM snapshot I > used didn't contain the breaking commit either.) And we can already see this effort making the compiler better! The problematic LLVM patch is only a week old so we were able to catch it before it made it into a released version. Thanks again for the work you have done getting this working so far. Cheers, Nathan > > With an additional LLVM patch https://reviews.llvm.org/D153865 the Clang > builds should now get fixed. > > WANG Xuerui (2): > LoongArch: vDSO: Use CLANG_FLAGS instead of filtering out '--target=' > LoongArch: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation > > arch/loongarch/Makefile | 2 +- > arch/loongarch/vdso/Makefile | 5 +---- > 2 files changed, 2 insertions(+), 5 deletions(-) > > -- > 2.40.0 >