Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: WANG Xuerui <kernel@xen0n.name>
Cc: Huacai Chen <chenhuacai@kernel.org>,
	WANG Rui <wangrui@loongson.cn>, 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: Re: [PATCH 0/2] Fix cross-compilation issues with Clang
Date: Tue, 27 Jun 2023 09:32:14 -0700	[thread overview]
Message-ID: <20230627163214.GA665894@dev-arch.thelio-3990X> (raw)
In-Reply-To: <20230627130122.1491765-1-kernel@xen0n.name>

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
> 

      parent reply	other threads:[~2023-06-27 16:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27 13:01 [PATCH 0/2] Fix cross-compilation issues with Clang WANG Xuerui
2023-06-27 13:01 ` [PATCH 1/2] LoongArch: vDSO: Use CLANG_FLAGS instead of filtering out '--target=' WANG Xuerui
2023-06-27 16:24   ` Nathan Chancellor
2023-06-28  4:22     ` Huacai Chen
2023-06-27 13:01 ` [PATCH 2/2] LoongArch: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation WANG Xuerui
2023-06-27 16:25   ` Nathan Chancellor
2023-06-28  4:22     ` Huacai Chen
2023-06-27 16:32 ` Nathan Chancellor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230627163214.GA665894@dev-arch.thelio-3990X \
    --to=nathan@kernel.org \
    --cc=chenhuacai@kernel.org \
    --cc=git@xen0n.name \
    --cc=kernel@xen0n.name \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=loongarch@lists.linux.dev \
    --cc=wangrui@loongson.cn \
    --cc=xry111@xry111.site \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox