Messages in this thread | | | From | Masahiro Yamada <> | Date | Thu, 18 Jul 2019 02:22:02 +0900 | 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@canonical.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@canonical.com>
Applied to linux-kbuild. Thanks.
-- Best Regards Masahiro Yamada
| |