Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761487AbXHUR4G (ORCPT ); Tue, 21 Aug 2007 13:56:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761362AbXHURzy (ORCPT ); Tue, 21 Aug 2007 13:55:54 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:44480 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760160AbXHURzy (ORCPT ); Tue, 21 Aug 2007 13:55:54 -0400 Date: Tue, 21 Aug 2007 18:54:53 +0100 From: Russell King To: Adrian Bunk Cc: Randy Dunlap , Linus Torvalds , Andrew Morton , Jarek Poplawski , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: RFC: drop support for gcc < 4.0 Message-ID: <20070821175453.GB19819@flint.arm.linux.org.uk> Mail-Followup-To: Adrian Bunk , Randy Dunlap , Linus Torvalds , Andrew Morton , Jarek Poplawski , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org References: <20070821132038.GA22254@ff.dom.local> <20070821093103.3c097d4a.randy.dunlap@oracle.com> <20070821173550.GC30705@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070821173550.GC30705@stusta.de> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1942 Lines: 42 On Tue, Aug 21, 2007 at 07:35:50PM +0200, Adrian Bunk wrote: > On Tue, Aug 21, 2007 at 09:31:03AM -0700, Randy Dunlap wrote: > > On Tue, 21 Aug 2007 15:20:38 +0200 Jarek Poplawski wrote: > > > > > Here are some more of, probably well-known, warnings with attached > > > testing-only .config. > > >... > > > drivers/pci/msi.c:686: warning: weak declaration of `arch_msi_check_device' after first use results in unspecified behavior > > > drivers/pci/msi.c:698: warning: weak declaration of `arch_setup_msi_irqs' after first use results in unspecified behavior > > > drivers/pci/msi.c:718: warning: weak declaration of `arch_teardown_msi_irqs' after first use results in unspecified behavior > > >... > > > > What gcc version? I don't get the arch_ warnings in drivers/pci/msi.c. > > Obviously a gcc <= 3.4 [1], and therefore no unit-at-a-time. > > You can reproduce it with a more recent gcc when adding > -fno-unit-at-a-time to the CFLAGS. > > And it's becoming a real maintainance problem that not only this problem > but also other problems like some section mismatches [2] are only > present without unit-at-a-time. > > Currently we support 6 different stable gcc release series, and it might > be the right time to consider dropping support for the older ones. > > Are there any architectures still requiring a gcc < 4.0 ? I want to keep support for gcc 3.4.3 for ARM for the forseeable future. >From my point of view, gcc 4 compilers have been something of a development thing as far as the ARM architecture goes. Also, gcc 3.4.3 is faster and significantly less noisy than gcc 4. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/