From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:39594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754232AbeD2TgH (ORCPT ); Sun, 29 Apr 2018 15:36:07 -0400 Date: Sun, 29 Apr 2018 14:53:55 +0200 From: Greg KH To: Fredrik =?iso-8859-1?Q?Sch=F6n?= Cc: stable@vger.kernel.org Subject: Re: Fix build of stable-4.16.5 and 4.14.37 with GCC 8.0.1 Message-ID: <20180429125355.GA8247@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: 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