Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8049816imu; Tue, 4 Dec 2018 01:59:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/VxDWrqAq1DtiSudddvS0lbVAGRvzdI0noijhgviqcuskugW+7PMwpRRbCHSIBJ9Q9cBwfn X-Received: by 2002:a62:cf02:: with SMTP id b2mr20205176pfg.183.1543917547593; Tue, 04 Dec 2018 01:59:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543917547; cv=none; d=google.com; s=arc-20160816; b=JqzlWHmezPVKeyRIlNOn0GVgPnaU9NsJj1ppvjWDUBOAV4F7pzCf9FAQB9c7n7Jn/F +eShvLYZBLOjHGp7x7j/spVmOzf5/cueS4NI4e924URdjILsJiP9kwSmgjZ4LwQITuXJ M9pnj+nhWCrnRn/Rs6njOKj6QJXtT7YxHIKpH2FLyJhXRsAdKx1GZj7JwKNAk+cA44M7 sKE0wioA/S0+B2m8NUA6cdnqrYACCDuKyRmt/mOe412YTS0+nLwihN6Jz4TJTaRmMVfO GbmLlSdmAeVqJb/JGI5VX4P95bnMxjOAmYVqe/HqyCgxekcw/dFAvr9NpmYM+6ZNIS67 1yIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:subject :from:to; bh=g1XGP01L3ukepB1Ud7qsNp/s8LYkbknbK/PlnkGY/uk=; b=sMiIdtSlm/puPly7q2veWJcIqFwKblk9oso5SpfaOm7UjXy8kjsXdTvWYVaT0plEVr zhea9+b8TA/e+DwCP2aiBNHEu/Qpjdf/OfzYd1/ZQGRQT3kTU2Cf0RLV3io61Ixq2CLJ odLD7sSq3uJEFJFHrMo98jFgIoHwpLBMeNd3SMVADAQfoh6gwuo5idgOol6nOb9yt1fc BK1tbajOEGWVV/MsHW3PLEKYoUDhoAQZQXbBO3EKeHcOUbUuKy7rYq2Xe9sR+2CtJa0l cm95fq4dDxp+qG6mxsiUmo/QRXv4QtK99t2TJp/Kr389b2E1X2gwqi7J4AsSRYlA0twZ EPQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si15848755pgb.128.2018.12.04.01.58.51; Tue, 04 Dec 2018 01:59:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726108AbeLDJ6D (ORCPT + 99 others); Tue, 4 Dec 2018 04:58:03 -0500 Received: from mx2.cyber.ee ([193.40.6.72]:51110 "EHLO mx2.cyber.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbeLDJ6D (ORCPT ); Tue, 4 Dec 2018 04:58:03 -0500 To: Zhenzhong Duan , Thomas Gleixner , David Woodhouse From: Meelis Roos Subject: Compiling with old gcc breaks when CONFIG_RETPOLINE is off Cc: LKML Message-ID: <6eeee8da-82ac-f527-9278-7ebcc8756ea1@linux.ee> Date: Tue, 4 Dec 2018 11:58:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: et-EE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just tried 4.20-rc5 on an old K6-2 PC with gcc 5.3.1, got an error about non-retpoline compiler, turned CONFIG_RETPOLINE off and retried. To my surprise, compilation still breaks with arch/x86/Makefile:224: *** You are building kernel with non-retpoline compiler, please update your compiler.. Stop. As I read the Makefile, it should error only when CONFIG_RETPOLINE is enabled, but it still breaks. $ grep -r CONFIG_RETPOLINE .config # CONFIG_RETPOLINE is not set $ grep -r CONFIG_RETPOLINE include/ include/generated/autoconf.h:#define CONFIG_RETPOLINE 1 include/config/auto.conf:CONFIG_RETPOLINE=y So the headers have not been updated yet, maybe? -- Meelis Roos