On Thu, Jul 18, 2019 at 1:07 AM Seth Forshee <seth.forshee@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx> Applied to linux-kbuild. Thanks. -- Best Regards Masahiro Yamada