Return-Path: Received: from mail-wr1-f65.google.com ([209.85.221.65]:35887 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbeLHNMg (ORCPT ); Sat, 8 Dec 2018 08:12:36 -0500 Subject: Re: [PATCH] x86/retpoline: Fix forcing me to update my compiler To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Zhenzhong Duan , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20181208123816.22952-1-k.marinushkin@gmail.com> <20181208124240.GE30399@zn.tnic> From: Kirill Marinushkin Message-ID: <7d8aa04f-9611-fb69-b11c-21ebcf4580fd@gmail.com> Date: Sat, 8 Dec 2018 14:14:47 +0100 MIME-Version: 1.0 In-Reply-To: <20181208124240.GE30399@zn.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: >> 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? > > https://git.kernel.org/tip/25896d073d8a0403b07e6dec56f58e6c33678207 > The patch which you mentioned fixes the second problem: now I can disable CONFIG_RETPOLINE. 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, Kirill