Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1171303AbdDYHGr (ORCPT ); Tue, 25 Apr 2017 03:06:47 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:35423 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752996AbdDYHGi (ORCPT ); Tue, 25 Apr 2017 03:06:38 -0400 MIME-Version: 1.0 In-Reply-To: References: <20161216105634.235457-1-arnd@arndb.de> <3302470.IDcDrWa0u6@wuerfel> From: Geert Uytterhoeven Date: Tue, 25 Apr 2017 09:06:36 +0200 X-Google-Sender-Auth: L-VaXNsn2OTADNqTCR0u-d5_0o8 Message-ID: Subject: Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? To: Kees Cook Cc: Arnd Bergmann , "Maciej W. Rozycki" , 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: 994 Lines: 26 On Mon, Apr 24, 2017 at 10:52 PM, Kees Cook wrote: > 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! +1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds