All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix build of stable-4.16.5 and 4.14.37 with GCC 8.0.1
@ 2018-04-28 19:19 Fredrik Schön
  2018-04-29 12:53 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Fredrik Schön @ 2018-04-28 19:19 UTC (permalink / raw)
  To: gregkh; +Cc: stable

GCC 8.0.1 as shipped with Fedora 28 beta fails to build Linux-stable
4.16.5 and 4.14.37. Cherry-picking the below commits from mainline
fixes the build. Build and boot tested on x86-64

4.16.5:
854e55ad289e objtool, perf: Fix GCC 8 -Wrestrict error

4.14.37:
854e55ad289e objtool, perf: Fix GCC 8 -Wrestrict error
ad343a98e74e tools/lib/subcmd/pager.c: do not alias select() params

Regards,
Fredrik

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fix build of stable-4.16.5 and 4.14.37 with GCC 8.0.1
  2018-04-28 19:19 Fix build of stable-4.16.5 and 4.14.37 with GCC 8.0.1 Fredrik Schön
@ 2018-04-29 12:53 ` Greg KH
       [not found]   ` <CA+D5iA+ntdK55DKHaO5EyNWcKri6eMp-D3qT3VFfO8LQTB7R9w@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2018-04-29 12:53 UTC (permalink / raw)
  To: Fredrik Schön; +Cc: stable

On Sat, Apr 28, 2018 at 09:19:25PM +0200, Fredrik Sch�n wrote:
> GCC 8.0.1 as shipped with Fedora 28 beta fails to build Linux-stable
> 4.16.5 and 4.14.37. Cherry-picking the below commits from mainline
> fixes the build. Build and boot tested on x86-64
> 
> 4.16.5:
> 854e55ad289e objtool, perf: Fix GCC 8 -Wrestrict error
> 
> 4.14.37:
> 854e55ad289e objtool, perf: Fix GCC 8 -Wrestrict error
> ad343a98e74e tools/lib/subcmd/pager.c: do not alias select() params

All now queued up, thanks!

How about build warnings for gcc 8?  Anything we need to make it build
"clean" there?  I do have a fedora system around here, I guess I could
try it out myself later this week...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fix build of stable-4.16.5 and 4.14.37 with GCC 8.0.1
       [not found]   ` <CA+D5iA+ntdK55DKHaO5EyNWcKri6eMp-D3qT3VFfO8LQTB7R9w@mail.gmail.com>
@ 2018-04-29 23:35     ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2018-04-29 23:35 UTC (permalink / raw)
  To: Fredrik Schön; +Cc: stable

On Sun, Apr 29, 2018 at 10:15:03PM +0200, Fredrik Sch�n wrote:
> 2018-04-29 14:53 GMT+02:00 Greg KH <gregkh@linuxfoundation.org>:
> > How about build warnings for gcc 8?  Anything we need to make it build
> > "clean" there?  I do have a fedora system around here, I guess I could
> > try it out myself later this week...
> 
> There are a ton of build warnings of the kind:
> 
> mm/vmscan.o: warning: objtool: shrink_slab.part.44()+0x120: sibling call
> from callable instruction with modified stack frame
> 
> I don't know how to fix them, unfortunately.

Do they show up in Linus's tree?  I thought Arnd was working on gcc 8
warning fixes a while ago...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-29 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-28 19:19 Fix build of stable-4.16.5 and 4.14.37 with GCC 8.0.1 Fredrik Schön
2018-04-29 12:53 ` Greg KH
     [not found]   ` <CA+D5iA+ntdK55DKHaO5EyNWcKri6eMp-D3qT3VFfO8LQTB7R9w@mail.gmail.com>
2018-04-29 23:35     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.