mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nilay Shroff <nilay@linux.ibm.com>
To: Brian Norris <briannorris@chromium.org>
Cc: kees@kernel.org, nathan@kernel.org, yury.norov@gmail.com,
	linux-kernel@vger.kernel.org, "Gregory Joyce" <gjoyce@ibm.com>,
	"Thomas Weißschuh" <linux@weissschuh.net>
Subject: Re: [bug report] cpumask: gcc 13.x emits compilation error on PowerPC
Date: Tue, 12 Nov 2024 18:08:18 +0530	[thread overview]
Message-ID: <fec6d8c4-d46d-4e1f-94fb-18f1f3b30f91@linux.ibm.com> (raw)
In-Reply-To: <CA+ASDXPw+1mvHaS21_Z=E7cCsErv8sMseW2pBCMRdB4iyVzzKA@mail.gmail.com>


Hi Brian,

On 11/12/24 02:27, Brian Norris wrote:
> Hi Nilay,
> 
> I'm responding here to try to help move things along for you, even
> though I'm not a maintainer here and don't have a strong (nor
> authoritative) opinion.
Thanks, I really appreciate your help:)
> 
> On Thu, Nov 7, 2024 at 5:38 AM Nilay Shroff <nilay@linux.ibm.com> wrote:
>> On 11/6/24 23:30, Brian Norris wrote:
>>> IIUC, he was hoping for better compiler diagnostics to help out there.
>> Hmm ok
> 
> AFAICT, things aren't moving so fast there, so it might wise to try to
> silence the problem for now.
Okay
> 
>>> (Also, I imitated Thomas's .config notes from that report and couldn't
>>> reproduce with my GCC 13.2.0.)
>>>
>>> I also happen to see there are a few scattered instances of either
>>> disabling or working around -Wstringop-overread false positives in the
>>> tree today.
>>>
>> So shall we wait until we get better diagnostics from GCC or can we bypass this
>> error temporarily with either using __NO_FORTIFY (as I proposed  in my another
>> email) or disable -Wstringop-overread for kernel/padata.c file? Later when we
>> find a better fix, we may then revert this change.
> 
> If this warning is causing pain, then we should probably bypass it. I
> *think* there's less blast radius by simply disabling
> -Wstringop-overread for this file, but I'm not completely sure.
> 
Alright, I'll send a formal patch disabling stringop-overead for kernel/padata.c file.

Thanks,
--Nilay

      reply	other threads:[~2024-11-12 12:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 13:02 Nilay Shroff
2024-11-06 16:12 ` Yury Norov
2024-11-07 13:30   ` Nilay Shroff
2024-11-06 18:00 ` Brian Norris
2024-11-07 13:37   ` Nilay Shroff
2024-11-11 20:57     ` Brian Norris
2024-11-12 12:38       ` Nilay Shroff [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=fec6d8c4-d46d-4e1f-94fb-18f1f3b30f91@linux.ibm.com \
    --to=nilay@linux.ibm.com \
    --cc=briannorris@chromium.org \
    --cc=gjoyce@ibm.com \
    --cc=kees@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@weissschuh.net \
    --cc=nathan@kernel.org \
    --cc=yury.norov@gmail.com \
    /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

all inboxes | Powered by JetHome®