Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-05 Thread Miguel Ojeda
On Mon, Aug 5, 2019 at 1:55 PM Greg KH wrote: > > I think I got it working now, all looks good for 4.9.y, 4.14.y and > 4.19.y for gcc9 so far. I'll leave 4.4.y alone :) You are welcome! I am glad we can now use gcc 9 easily. I will be keeping a look into gcc 10. :) Cheers, Miguel

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-05 Thread Greg KH
On Fri, Aug 02, 2019 at 06:55:53PM +0200, Miguel Ojeda wrote: > On Fri, Aug 2, 2019 at 5:56 PM Greg KH wrote: > > > > 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. > > Yeah, the objtool ones -- I thought you

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Miguel Ojeda
On Fri, Aug 2, 2019 at 5:56 PM Greg KH wrote: > > 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. Yeah, the objtool ones -- I thought you were referring to the -Wmissing-attributes that Rolf asked about (I am not

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Greg KH
On Fri, Aug 02, 2019 at 03:01:13PM +0200, Miguel Ojeda wrote: > On Fri, Aug 2, 2019 at 1:25 PM Greg KH 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...

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Miguel Ojeda
On Fri, Aug 2, 2019 at 1:25 PM Greg KH 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

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Greg KH
On Fri, Aug 02, 2019 at 12:39:38PM +0200, Miguel Ojeda wrote: > On Fri, Aug 2, 2019 at 12:33 PM Greg KH wrote: > > > > On Fri, Aug 02, 2019 at 12:19:33PM +0200, Miguel Ojeda wrote: > > > On Fri, Aug 2, 2019 at 10:17 AM Rolf Eike Beer wrote: > > > > > > > > Am Samstag, 8. Juni 2019, 14:00:34 CEST

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Greg KH
On Fri, Aug 02, 2019 at 01:00:30PM +0200, Miguel Ojeda wrote: > On Fri, Aug 2, 2019 at 12:33 PM Greg KH wrote: > > > > On Fri, Aug 02, 2019 at 12:19:33PM +0200, Miguel Ojeda wrote: > > > On Fri, Aug 2, 2019 at 10:17 AM Rolf Eike Beer wrote: > > > > > > > > Am Samstag, 8. Juni 2019, 14:00:34 CEST

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Miguel Ojeda
On Fri, Aug 2, 2019 at 12:33 PM Greg KH wrote: > > On Fri, Aug 02, 2019 at 12:19:33PM +0200, Miguel Ojeda wrote: > > On Fri, Aug 2, 2019 at 10:17 AM Rolf Eike Beer wrote: > > > > > > Am Samstag, 8. Juni 2019, 14:00:34 CEST schrieb Miguel Ojeda: > > > > On Thu, Jun 6, 2019 at 8:59 PM Greg KH

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Miguel Ojeda
On Fri, Aug 2, 2019 at 12:33 PM Greg KH wrote: > > On Fri, Aug 02, 2019 at 12:19:33PM +0200, Miguel Ojeda wrote: > > On Fri, Aug 2, 2019 at 10:17 AM Rolf Eike Beer wrote: > > > > > > Am Samstag, 8. Juni 2019, 14:00:34 CEST schrieb Miguel Ojeda: > > > > On Thu, Jun 6, 2019 at 8:59 PM Greg KH

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Greg KH
On Fri, Aug 02, 2019 at 12:19:33PM +0200, Miguel Ojeda wrote: > On Fri, Aug 2, 2019 at 10:17 AM Rolf Eike Beer wrote: > > > > Am Samstag, 8. Juni 2019, 14:00:34 CEST schrieb Miguel Ojeda: > > > On Thu, Jun 6, 2019 at 8:59 PM Greg KH wrote: > > > > "manually fixing it up" means "hacked it to

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Miguel Ojeda
On Fri, Aug 2, 2019 at 10:17 AM Rolf Eike Beer wrote: > > Am Samstag, 8. Juni 2019, 14:00:34 CEST schrieb Miguel Ojeda: > > On Thu, Jun 6, 2019 at 8:59 PM Greg KH wrote: > > > "manually fixing it up" means "hacked it to pieces" to me, I have no > > > idea what the end result really was :) > > >

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Greg KH
On Fri, Aug 02, 2019 at 10:17:04AM +0200, Rolf Eike Beer wrote: > Am Samstag, 8. Juni 2019, 14:00:34 CEST schrieb Miguel Ojeda: > > On Thu, Jun 6, 2019 at 8:59 PM Greg KH wrote: > > > "manually fixing it up" means "hacked it to pieces" to me, I have no > > > idea what the end result really was :)

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-08-02 Thread Rolf Eike Beer
Am Samstag, 8. Juni 2019, 14:00:34 CEST schrieb Miguel Ojeda: > On Thu, Jun 6, 2019 at 8:59 PM Greg KH wrote: > > "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,

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 09:19:15AM +0200, Rolf Eike Beer wrote: > Am Donnerstag, 6. Juni 2019, 20:59:00 CEST schrieb Greg KH: > > On Thu, Jun 06, 2019 at 08:25:28PM +0200, Miguel Ojeda wrote: > > > On Thu, Jun 6, 2019 at 5:29 PM Greg KH wrote: > > > > And if you want this, you should look at how

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-12 Thread Rolf Eike Beer
Am Donnerstag, 6. Juni 2019, 20:59:00 CEST schrieb Greg KH: > On Thu, Jun 06, 2019 at 08:25:28PM +0200, Miguel Ojeda wrote: > > On Thu, Jun 6, 2019 at 5:29 PM Greg KH wrote: > > > And if you want this, you should look at how the backports to 4.14.y > > > worked, they did not include a3f8a30f3f00

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-08 Thread Miguel Ojeda
On Thu, Jun 6, 2019 at 8:59 PM Greg KH wrote: > > "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... I will give it a go whenever I get some free

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-06 Thread Greg KH
On Thu, Jun 06, 2019 at 08:25:28PM +0200, Miguel Ojeda wrote: > On Thu, Jun 6, 2019 at 5:29 PM Greg KH 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

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-06 Thread Miguel Ojeda
On Thu, Jun 6, 2019 at 5:29 PM Greg KH 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

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-06 Thread Greg KH
On Thu, Jun 06, 2019 at 05:27:46PM +0200, Greg KH wrote: > On Thu, Jun 06, 2019 at 03:16:03PM +0200, Rolf Eike Beer wrote: > > I have at least these 2 instances: > > > > > > In file included from > > /tmp/e2/build/linux-4.9.180/include/drm/drm_vma_manager.h:28, > > from

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-06 Thread Greg KH
On Thu, Jun 06, 2019 at 03:16:03PM +0200, Rolf Eike Beer wrote: > I have at least these 2 instances: > > > In file included from > /tmp/e2/build/linux-4.9.180/include/drm/drm_vma_manager.h:28, > from /tmp/e2/build/linux-4.9.180/include/drm/drmP.h:78, > from >

Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-06 Thread Rolf Eike Beer
I have at least these 2 instances: In file included from /tmp/e2/build/linux-4.9.180/include/drm/drm_vma_manager.h:28, from /tmp/e2/build/linux-4.9.180/include/drm/drmP.h:78, from /tmp/e2/build/linux-4.9.180/include/drm/drm_modeset_helper.h:26,