Messages in this thread | | | Date | Thu, 6 Jun 2019 20:59:00 +0200 | From | Greg KH <> | Subject | Re: Linux 4.9.180 build fails wi th gcc 9 and 'cleanup module' specifies less restrictive attr ibute than its target … |
| |
On Thu, Jun 06, 2019 at 08:25:28PM +0200, Miguel Ojeda wrote: > On Thu, Jun 6, 2019 at 5:29 PM Greg KH <greg@kroah.com> wrote: > > > > And if you want this, you should look at how the backports to 4.14.y > > worked, they did not include a3f8a30f3f00 ("Compiler Attributes: use > > feature checks instead of version checks"), as that gets really messy... > > I am confused -- I interpreted Rolf's message as reporting that he > already successfully built 4.9 by applying a6e60d84989f > ("include/linux/module.h: copy __init/__exit attrs to > init/cleanup_module") and manually fixing it up. But maybe I am > completely wrong... :-)
"manually fixing it up" means "hacked it to pieces" to me, I have no idea what the end result really was :)
If someone wants to send me some patches I can actually apply, that would be best...
thanks,
greg k-h
| |