[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASPqp6eK_3bx2PPQ6nUyh=7RBhABNxNY0Yw7vqdn=Ej1g@mail.gmail.com>
Date: Thu, 18 Jul 2019 02:22:02 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Seth Forshee <seth.forshee@...onical.com>
Cc: Michal Marek <michal.lkml@...kovi.net>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] kbuild: add -fcf-protection=none when using retpoline flags
On Thu, Jul 18, 2019 at 1:07 AM Seth Forshee <seth.forshee@...onical.com> wrote:
>
> The gcc -fcf-protection=branch option is not compatible with
> -mindirect-branch=thunk-extern. The latter is used when
> CONFIG_RETPOLINE is selected, and this will fail to build with
> a gcc which has -fcf-protection=branch enabled by default. Adding
> -fcf-protection=none when building with retpoline enabled
> prevents such build failures.
>
> Signed-off-by: Seth Forshee <seth.forshee@...onical.com>
Applied to linux-kbuild. Thanks.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists