Re: [PATCH] x86/retpoline: Fix forcing me to update my compiler

From: Kirill Marinushkin
Date: Sat Dec 08 2018 - 08:12:43 EST

>> First problem: I cannot compile the kernel with my version of compiler

>> Second problem: when I disable the feature - it cannot take effect,
>> because the parse-time error happens before `syncconfig`

On 12/08/18 13:42, Borislav Petkov wrote:
> Does this help?

The patch which you mentioned fixes the second problem: now I can disable
But, the first problem is still here: with defconfig and gcc v6.4.0, kernel
doesn't build, with this message:

$ make
scripts/kconfig/conf --syncconfig Kconfig
You are building kernel with non-retpoline compiler.
Please update your compiler.
make: *** [arch/x86/Makefile:311: checkbin] Error 1

I don't think that this is a proper behavior. I suggest to allow compilation

Best Regards,