Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934533AbcLTJ7d (ORCPT ); Tue, 20 Dec 2016 04:59:33 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:35960 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934340AbcLTJ7b (ORCPT ); Tue, 20 Dec 2016 04:59:31 -0500 Date: Tue, 20 Dec 2016 10:59:20 +0100 From: Heiko Carstens To: Arnd Bergmann Cc: Sebastian Andrzej Siewior , linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@vger.kernel.org, Russell King , Andrew Morton , kernel-build-reports@lists.linaro.org, kvmarm@lists.cs.columbia.edu, Geert Uytterhoeven Subject: Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? References: <20161216105634.235457-1-arnd@arndb.de> <20161216170043.taaanbg5objnxjlh@breakpoint.cc> <2778134.jZdhGefl4B@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2778134.jZdhGefl4B@wuerfel> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16122009-0020-0000-0000-000002E153A1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16122009-0021-0000-0000-00003FC4B92F Message-Id: <20161220095920.GD4893@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-20_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1612200155 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 19 On Fri, Dec 16, 2016 at 11:00:27PM +0100, Arnd Bergmann wrote: > On Friday, December 16, 2016 6:00:43 PM CET Sebastian Andrzej Siewior wrote: > > On 2016-12-16 11:56:21 [+0100], Arnd Bergmann wrote: > > > The original gcc-4.3 release was in early 2008. If we decide to still > > > support that, we probably want the first 10 quirks in this series, > > > while gcc-4.6 (released in 2011) requires none of them. > > > > It this min gcc thingy ARM only? > > This is part of the question that I'm trying to figure out myself. > > Clearly having the same minimum version across all architectures simplifies > things a lot, because many of the bugs in old versions are architecture > independent. Then again, some architectures implicitly require a new version > because an old one never existed (e.g. arm64 or risc-v), while some other > architectures may require an old version. FWIW, s390 requires gcc 4.3 or newer since two years already. For older compilers we enforce a compile error (see arch/s390/kernel/asm-offsets.c).