public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel•crashing.org>
To: Nathan Chancellor <nathan@kernel•org>
Cc: Catalin Marinas <catalin.marinas@arm•com>,
	Will Deacon <will@kernel•org>,
	Huacai Chen <chenhuacai@kernel•org>,
	WANG Xuerui <kernel@xen0n•name>,
	"James E.J. Bottomley" <James.Bottomley@hansenpartnership•com>,
	Helge Deller <deller@gmx•de>,
	Madhavan Srinivasan <maddy@linux•ibm.com>,
	Michael Ellerman <mpe@ellerman•id.au>,
	Nicholas Piggin <npiggin@gmail•com>,
	Christophe Leroy <christophe.leroy@csgroup•eu>,
	Heiko Carstens <hca@linux•ibm.com>,
	Vasily Gorbik <gor@linux•ibm.com>,
	Alexander Gordeev <agordeev@linux•ibm.com>,
	Christian Borntraeger <borntraeger@linux•ibm.com>,
	Sven Schnelle <svens@linux•ibm.com>,
	Thomas Gleixner <tglx@linutronix•de>,
	Ingo Molnar <mingo@redhat•com>, Borislav Petkov <bp@alien8•de>,
	Dave Hansen <dave.hansen@linux•intel.com>,
	x86@kernel•org, Ard Biesheuvel <ardb@kernel•org>,
	Nick Desaulniers <nick.desaulniers+lkml@gmail•com>,
	Bill Wendling <morbo@google•com>,
	Justin Stitt <justinstitt@google•com>,
	linux-arm-kernel@lists•infradead.org,
	linux-kernel@vger•kernel.org, loongarch@lists•linux.dev,
	linux-parisc@vger•kernel.org, linuxppc-dev@lists•ozlabs.org,
	linux-s390@vger•kernel.org, linux-efi@vger•kernel.org,
	llvm@lists•linux.dev, Christian Brauner <brauner@kernel•org>
Subject: Re: [PATCH] kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS
Date: Wed, 5 Nov 2025 07:44:26 -0600	[thread overview]
Message-ID: <aQtUujos2ADVs-_O@gate> (raw)
In-Reply-To: <20251101-kbuild-ms-extensions-dedicated-cflags-v1-1-38004aba524b@kernel.org>

Hi!

On Sat, Nov 01, 2025 at 12:35:47PM -0400, Nathan Chancellor wrote:
> There are many places within the kernel that use their own CFLAGS
> instead of the main KBUILD_CFLAGS, meaning code written with the main
> kernel's use of '-fms-extensions' in mind that may be tangentially
> included in these areas will result in "error: declaration does not
> declare anything" messages from the compiler.

Please fix such non-standard code then, instead?  The only (documented)
thing -fms-extensions does for C code is give meaning to something that
otherwise is a syntax error (and it is for a good reason!)


Segher


  parent reply	other threads:[~2025-11-05 13:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-01 16:35 [PATCH] kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS Nathan Chancellor
2025-11-01 16:55 ` Ard Biesheuvel
2025-11-05 12:56 ` Christian Brauner
2025-11-05 19:39   ` Nathan Chancellor
2025-11-06 17:47     ` Nathan Chancellor
2025-11-05 13:44 ` Segher Boessenkool [this message]
2025-11-05 20:15   ` Nathan Chancellor

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=aQtUujos2ADVs-_O@gate \
    --to=segher@kernel$(echo .)crashing.org \
    --cc=James.Bottomley@hansenpartnership$(echo .)com \
    --cc=agordeev@linux$(echo .)ibm.com \
    --cc=ardb@kernel$(echo .)org \
    --cc=borntraeger@linux$(echo .)ibm.com \
    --cc=bp@alien8$(echo .)de \
    --cc=brauner@kernel$(echo .)org \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=chenhuacai@kernel$(echo .)org \
    --cc=christophe.leroy@csgroup$(echo .)eu \
    --cc=dave.hansen@linux$(echo .)intel.com \
    --cc=deller@gmx$(echo .)de \
    --cc=gor@linux$(echo .)ibm.com \
    --cc=hca@linux$(echo .)ibm.com \
    --cc=justinstitt@google$(echo .)com \
    --cc=kernel@xen0n$(echo .)name \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-efi@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-parisc@vger$(echo .)kernel.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=llvm@lists$(echo .)linux.dev \
    --cc=loongarch@lists$(echo .)linux.dev \
    --cc=maddy@linux$(echo .)ibm.com \
    --cc=mingo@redhat$(echo .)com \
    --cc=morbo@google$(echo .)com \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=nathan@kernel$(echo .)org \
    --cc=nick.desaulniers+lkml@gmail$(echo .)com \
    --cc=npiggin@gmail$(echo .)com \
    --cc=svens@linux$(echo .)ibm.com \
    --cc=tglx@linutronix$(echo .)de \
    --cc=will@kernel$(echo .)org \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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