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