All of lore.kernel.org
 help / color / mirror / Atom feed
* Apply clang '--target=' KBUILD_CPPFLAGS shuffle to linux-6.4.y and linux-6.3.y
@ 2023-07-03 15:03 Nathan Chancellor
  2023-07-16 15:02 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Chancellor @ 2023-07-03 15:03 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin
  Cc: stable, llvm, Masahiro Yamada, Nick Desaulniers

Hi Greg and Sasha,

Please consider applying the following patches to 6.4 and 6.3, they
should apply cleanly.

08f6554ff90e ("mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation")
a7e5eb53bf9b ("powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y")
cff6e7f50bd3 ("kbuild: Add CLANG_FLAGS to as-instr")
43fc0a99906e ("kbuild: Add KBUILD_CPPFLAGS to as-option invocation")
feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS")

They resolve and help avoid build breakage with tip of tree clang, which
has become a little stricter in the flags that it will accept for a
particular target, which requires '--target=' to be passed along to all
invocations of $(CC). Our continuous integration does not currently show
any breakage with 6.1 and earlier; should these patches be needed there,
I will send them at a later time.

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Apply clang '--target=' KBUILD_CPPFLAGS shuffle to linux-6.4.y and linux-6.3.y
  2023-07-03 15:03 Apply clang '--target=' KBUILD_CPPFLAGS shuffle to linux-6.4.y and linux-6.3.y Nathan Chancellor
@ 2023-07-16 15:02 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2023-07-16 15:02 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Sasha Levin, stable, llvm, Masahiro Yamada, Nick Desaulniers

On Mon, Jul 03, 2023 at 08:03:39AM -0700, Nathan Chancellor wrote:
> Hi Greg and Sasha,
> 
> Please consider applying the following patches to 6.4 and 6.3, they
> should apply cleanly.
> 
> 08f6554ff90e ("mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation")
> a7e5eb53bf9b ("powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y")
> cff6e7f50bd3 ("kbuild: Add CLANG_FLAGS to as-instr")
> 43fc0a99906e ("kbuild: Add KBUILD_CPPFLAGS to as-option invocation")
> feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS")
> 
> They resolve and help avoid build breakage with tip of tree clang, which
> has become a little stricter in the flags that it will accept for a
> particular target, which requires '--target=' to be passed along to all
> invocations of $(CC). Our continuous integration does not currently show
> any breakage with 6.1 and earlier; should these patches be needed there,
> I will send them at a later time.

6.3.y is now end-of-life, but I've queued these up for 6.4.y, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-16 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-03 15:03 Apply clang '--target=' KBUILD_CPPFLAGS shuffle to linux-6.4.y and linux-6.3.y Nathan Chancellor
2023-07-16 15:02 ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.