Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1174581AbdDXUwk (ORCPT ); Mon, 24 Apr 2017 16:52:40 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:33044 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1172632AbdDXUw1 (ORCPT ); Mon, 24 Apr 2017 16:52:27 -0400 MIME-Version: 1.0 In-Reply-To: References: <20161216105634.235457-1-arnd@arndb.de> <3302470.IDcDrWa0u6@wuerfel> From: Kees Cook Date: Mon, 24 Apr 2017 13:52:24 -0700 X-Google-Sender-Auth: SF30pNmgKVPPt7JFp5dSYZNH5E4 Message-ID: Subject: Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? To: Arnd Bergmann Cc: "Maciej W. Rozycki" , Geert Uytterhoeven , linux-arch , linux-kbuild , LKML , "linux-arm-kernel@lists.infradead.org" , Russell King , Andrew Morton , kernel-build-reports@lists.linaro.org, kvmarm@lists.cs.columbia.edu Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 595 Lines: 18 On Mon, Apr 24, 2017 at 1:30 PM, Arnd Bergmann wrote: > How about this approach then: > > - To keep it simple, we update the README.rst to say that a minimum > gcc-4.3 is required, while recommending gcc-4.9 for all architectures > - Support for gcc-4.0 and earlier gets removed from linux/compiler.h, > and instead we add a summary of what I found, explaining that > gcc-4.1 has active users on a few architectures. > - We make the Makefile show a warning once during compilation for > gcc earlier than 4.3. This sounds good to me! -Kees -- Kees Cook Pixel Security