From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05DE4C31E40 for ; Mon, 10 Jun 2019 14:49:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BCEC12089E for ; Mon, 10 Jun 2019 14:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560178142; bh=I+e7n+zRrwqkSFla0H7u1byAB3q/aXz/uGnCzjZUm9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=MpBnJXGxjNRpkQA9Qcz/Vw8DmGYqVCerEGtXnhptK9mJxxUDccBgzHR9r/r5aFy9C mlLJ2xJHzsdjedqj8ARv4e+/ug7nvVlzPVRmseBn9U+xJIqektKmfMPHBoNrYtUh5E +b4dFn5ISg/Kx9mo7MxO6tngr+4afD49ycTHOifE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390957AbfFJOtC (ORCPT ); Mon, 10 Jun 2019 10:49:02 -0400 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 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B288206C3; Mon, 10 Jun 2019 14:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560178141; bh=I+e7n+zRrwqkSFla0H7u1byAB3q/aXz/uGnCzjZUm9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1lOcQ2ZxO/EjTztxyWqMUwKiYkUKjOYTeIBzY2mEwNEG9wSl6sHygFL8vzOcR8KCA 160JRfcijNrTlT+ktqnO0eNoZc2d8yxbQW0c4LYt5DtcvWXqXkNcUmx1zNnF0J0pIk 6BRleEvnh1R9EMjRIM0WArr+gk0mYg73z1KRfyto= Date: Mon, 10 Jun 2019 16:48:58 +0200 From: Greg KH 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 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: User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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