Re: [PATCH 1/2] x86: Force asm-goto

From: Peter Zijlstra
Date: Tue Mar 20 2018 - 11:50:48 EST


On Tue, Mar 20, 2018 at 09:45:54AM -0600, Jonathan Corbet wrote:
> On Mon, 19 Mar 2018 16:41:25 +0100
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > A primary prerequisite for this is of course that the compiler
> > supports asm-goto. This effecively lifts the minimum GCC version to
> > build an x86 kernel to gcc-4.5.
>
> Given that, how about a patch to Documentation/Changes to reflect the new
> reality? It's not in RST yet, so you should be able to go there without
> ill effect :)


That thing says:

GCC
---

The gcc version requirements may vary depending on the type of CPU in your
computer. jon

Which is still entirely accurate. And afaik the 3.2 minimum listed there
still works for !x86.