Re: Linux 4.19 and GCC 9
From: Miguel Ojeda
Date: Mon Jun 10 2019 - 10:47:05 EST
On Mon, Jun 10, 2019 at 4:21 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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")).
> 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
I typically compile a bare-bones GCC for those things, it is quite quick.