Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target â
From: Greg KH
Date: Fri Aug 02 2019 - 11:56:34 EST
On Fri, Aug 02, 2019 at 03:01:13PM +0200, Miguel Ojeda wrote:
> On Fri, Aug 2, 2019 at 1:25 PM Greg KH <greg@xxxxxxxxx> wrote:
> >
> > But it still doesn't work for 4.14.y and 4.19.y, so we are probably
> > missing something there. So if you want to fix that up, I'd appreciate
> > patches to do so :)
>
> Hm... For 4.19.y and 4.14.y, I cannot see the init/exit_module
> warnings under GCC 9.1.1. What do you mean it does not work?
I see a ton of warnings on those kernels today. I'll look into it next
week after I apply your patches to see what's missing.
thanks,
greg k-h