Message ID | 20230627130122.1491765-1-kernel@xen0n.name |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8185932vqr; Tue, 27 Jun 2023 06:13:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ60ihG5uUm79z2snUEyR8+G46oIyVtO8Dd5ZW4CLa1KO7lm/QNV96DorEBXNj5bTGuRn2FO X-Received: by 2002:a05:6a20:3d93:b0:10b:78d6:a2c8 with SMTP id s19-20020a056a203d9300b0010b78d6a2c8mr25787989pzi.15.1687871582009; Tue, 27 Jun 2023 06:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687871581; cv=none; d=google.com; s=arc-20160816; b=rzYvWm0zfuDF36FqXsjpSZXlgoKrfnjRI+/wMrrlGa+zo3BGHPH+Pbf9aXL0h7LuUX oRyuqH2B/Xnhz+w+x9XPtLmgZh7RHwo8zpFgno0u4bVo9rwQDJbx86eEUdj2z9qI1cRq 3vEjfAp0CE0Sctz6FuxW5LFAd6GOoytPzFek1OXsMifvfhJbyfbq0ZxxVUFiTH5PObET psM5wxOGCQlfEpQ+bAzLLWyO7lUCS5yg1dYK78UHMQ/qy9HclSYJkDupNo4JvuufFulK 3WgHMUQkfzi5+Y7jw6av/Xafkn1zEceUaNjxP6bV9YoPx2DRUVU31TSWwTYlKG8kPIFV qMKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Wfnbc87pg5sFBYcJ+cYeM7i1bcWAghSXvk43pPMYHvs=; fh=LXvh4ZKpO2BrukjxFmrF34mf+AP7C4p0jztOvURxOLg=; b=nj9oukL9GmpLF53yXE5QOsl2AowkECAECqEVvVevrEZB75iZAc5kdRbe1SHtcktKmx UOTqGz7uJqYppu0HuMU0MgRYsXvCO64GLelZcEw8+mER/Q+ZIBtLaeZAm0RP2LMR1P9F sSsr9Ih+1mwpxN2Q3LxWEaPL+mnRmqASD+1uPbjxrkNGaS27ZIyc8Z3/dUPhObWre832 FhbBl9ZYSlkh7znKI76UdqwxH1tgd5t6GwlU6qXyY/yiiAy7IIKBBXv2bv36a/j8MQDI IDokKB3KgPRd0+FGln5P6VfUNy7DSY3m3mUzFksWEEGI6Sm71QWIOMuRDsVlctafGhFG 0wAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=FGuCdZzg; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a170902ba8400b001a6b273fef3si6702444pls.442.2023.06.27.06.12.43; Tue, 27 Jun 2023 06:13:01 -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=@xen0n.name header.s=mail header.b=FGuCdZzg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230226AbjF0NBi (ORCPT <rfc822;filip.gregor98@gmail.com> + 99 others); Tue, 27 Jun 2023 09:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjF0NBg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 09:01:36 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B500E1; Tue, 27 Jun 2023 06:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1687870890; bh=LCFUho+x/i+9Jjg3s4a/kFQNBnAevgmTIXokYnqx08A=; h=From:To:Cc:Subject:Date:From; b=FGuCdZzgneemCBuX3vcnoudOfAQ2lUs1Kk8uaY3IccA/1ikmcBcxiFiPe3Fb+NoTo bKaz7iCkg/iSqaR+ha7qDlHQyf/HCSghBRZL9QAqj9lVGFViWnzRE162cVBz0uTSMW puxo8Vhb0RExNoCodLyHcxDCHzIu9O4NRpyRiXeU= Received: from ld50.lan (unknown [101.88.25.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id E9BCD6011B; Tue, 27 Jun 2023 21:01:28 +0800 (CST) From: WANG Xuerui <kernel@xen0n.name> To: Huacai Chen <chenhuacai@kernel.org> Cc: WANG Rui <wangrui@loongson.cn>, Nathan Chancellor <nathan@kernel.org>, Xi Ruoyao <xry111@xry111.site>, loongarch@lists.linux.dev, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, WANG Xuerui <git@xen0n.name> Subject: [PATCH 0/2] Fix cross-compilation issues with Clang Date: Tue, 27 Jun 2023 21:01:20 +0800 Message-Id: <20230627130122.1491765-1-kernel@xen0n.name> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769861631803372244?= X-GMAIL-MSGID: =?utf-8?q?1769861631803372244?= |
Series |
Fix cross-compilation issues with Clang
|
|
Message
WANG Xuerui
June 27, 2023, 1:01 p.m. UTC
From: WANG Xuerui <git@xen0n.name>
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
that cross-compilation was broken, and by chance the LLVM snapshot I
used didn't contain the breaking commit either.)
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(-)
Comments
On Tue, Jun 27, 2023 at 09:01:20PM +0800, WANG Xuerui wrote: > From: WANG Xuerui <git@xen0n.name> > > 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 >