Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Thomas Lindroth <thomas.lindroth@gmail.com>
Cc: stable@vger.kernel.org, keescook@chromium.org
Subject: Re: Could the fix for broken gcc-plugins with gcc-11 be backported to 5.10?
Date: Mon, 6 Dec 2021 14:27:07 +0100	[thread overview]
Message-ID: <Ya4PqyRnxqB+5VaV@kroah.com> (raw)
In-Reply-To: <dbf6b329-03ae-fc92-80a6-8f80d88e28cf@gmail.com>

On Mon, Dec 06, 2021 at 02:24:29PM +0100, Thomas Lindroth wrote:
> On 12/6/21 14:04, Greg KH wrote:
> > On Mon, Dec 06, 2021 at 01:59:31PM +0100, Thomas Lindroth wrote:
> > > Build support for gcc-plugins are not detected with gcc-11 in lts kernels.
> > > Gentoo and Arch apply their own patch to fix the problem in their distribution
> > > kernels but I would prefer if a proper fix was applied upstream.
> > > 
> > > https://bugs.gentoo.org/814200 a gentoo report with the relevant info.
> > > 
> > > I've searched for any upstream discussions about the problem but I've only found
> > > one message saying the backport needs an additional fix. That was almost a year
> > > ago. https://www.spinics.net/lists/stable/msg438000.html
> > 
> > We can not take a patch in a stable kernel release unless it is already
> > in Linus's tree.  Please work to get a patch accepted there first,
> > before worrying about older kernel versions.
> > 
> > thanks,
> > 
> > greg k-h
> > 
> 
> The problem was fixed in Linus tree in commit 67a5a68013056cbcf0a647e36cb6f4622fb6a470
> "gcc-plugins: fix gcc 11 indigestion with plugins..." added in v5.11
> 
> That's the patch that needed some kind of additional fix before it could be backported
> but that fix never materialized.

If you have a working version, based on a distro's use, please provide
it and I will be glad to pick it up.

thanks,

greg k-h

  reply	other threads:[~2021-12-06 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 12:59 Could the fix for broken gcc-plugins with gcc-11 be backported to 5.10? Thomas Lindroth
2021-12-06 13:04 ` Greg KH
2021-12-06 13:24   ` Thomas Lindroth
2021-12-06 13:27     ` Greg KH [this message]
2021-12-06 13:59       ` Thomas Lindroth
2021-12-06 14:41         ` Greg KH
2021-12-06 20:29           ` Kees Cook
2021-12-08 13:06             ` Greg KH

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=Ya4PqyRnxqB+5VaV@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=keescook@chromium.org \
    --cc=stable@vger.kernel.org \
    --cc=thomas.lindroth@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