From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:47704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389123AbfFJOtB (ORCPT ); Mon, 10 Jun 2019 10:49:01 -0400 Date: Mon, 10 Jun 2019 16:48:58 +0200 From: Greg KH Subject: Re: Linux 4.19 and GCC 9 Message-ID: <20190610144858.GA1481@kroah.com> References: <20190517085126.GA3249@kroah.com> <20190517152200.GI8945@kernel.org> <4FE2D490-F379-4CAE-9784-9BF81B7FE258@kernel.org> <20190610074510.GA24746@kroah.com> <20190610142145.GC5937@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Miguel Ojeda Cc: Ignat Korchagin , Ivan Babrou , Arnaldo Carvalho de Melo , Peter Zijlstra , Josh Poimboeuf , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel , Linux Kbuild mailing list , kernel-team On Mon, Jun 10, 2019 at 04:42:27PM +0200, Miguel Ojeda wrote: > On Mon, Jun 10, 2019 at 4:21 PM Greg KH wrote: > > > > > I also checked that 4.19.49 compiles fine with GCC 9, although with a > > > lot of warnings, mostly from objtool, like "warning: objtool: > > > sock_register()+0xd: sibling call from callable instruction with > > > modified stack frame". But it's a start. > > I think Josh Poimboeuf added support for a few related things in GCC 8 > (e.g. 13810435b9a7 ("objtool: Support GCC 8's cold subfunctions")). That commit is already in all stable releases, so does there need to be a gcc 9 specific one? > > I'll look into these after the next round of kernels are released. I > > guess I'll go find a distro that has gcc9 on it to actually test > > things... > > I typically compile a bare-bones GCC for those things, it is quite quick. Pointers to how to do that is appreciated. It's been years since I had to build gcc "from scratch". thanks, greg k-h