Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751232AbVL3JhP (ORCPT ); Fri, 30 Dec 2005 04:37:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751233AbVL3JhO (ORCPT ); Fri, 30 Dec 2005 04:37:14 -0500 Received: from zproxy.gmail.com ([64.233.162.193]:10320 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S1751232AbVL3JhM convert rfc822-to-8bit (ORCPT ); Fri, 30 Dec 2005 04:37:12 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CdtVDpdSFANT2CV+k5WyqlcXMKUJNAa+U1aKNejnp+upljVc6t4S9q4fCjwu0A2Ke8bOfRnGHzK/Ww4Be1Qeboqou7sJdTliJ5/jzMcBVXlu7AAAMmlYVvo104VtPD5TDgViUi+nEQNJhYVaDj0erTX+ZE8ayR/qApgVypl1iJM= Message-ID: <9a8748490512300137g190cc5fdub14f26d74c5973ca@mail.gmail.com> Date: Fri, 30 Dec 2005 10:37:08 +0100 From: Jesper Juhl To: Willy Tarreau Subject: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers Cc: Linus Torvalds , Ingo Molnar , Andrew Morton , arjan@infradead.org, linux-kernel@vger.kernel.org, mpm@selenic.com In-Reply-To: <20051230092800.GB30681@w.ods.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <20051228212313.GA4388@elte.hu> <20051228214845.GA7859@elte.hu> <20051228201150.b6cfca14.akpm@osdl.org> <20051229073259.GA20177@elte.hu> <20051229231615.GV15993@alpha.home.local> <9a8748490512300033occeec40xab3b4f49624c08c5@mail.gmail.com> <20051230092800.GB30681@w.ods.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2603 Lines: 55 On 12/30/05, Willy Tarreau wrote: > On Fri, Dec 30, 2005 at 09:33:14AM +0100, Jesper Juhl wrote: > > On 12/30/05, Willy Tarreau wrote: > > > > > > > > Can't we elect a recommended gcc version that distro makers could > > > ship under the name kgcc as it has been the case for some time, > > > and try to stick to that version for as long as possible ? The only > > > real reason to upgrade it would be to support newer archs, while at > > > the moment, we try to support compilers which are shipped as default > > > *user-space* compilers. > > > > > As I see it, doing that would > > - put extra work on distributors. > > In the short term, yes. In the mid-term, I don't think so. Having one package > which does not need to change and another one which evolves regardless of > kernel needs is less work than ensuring that a single package is still > compatible with everyone's needs. Think about support too : "what gcc version > did you use ?" would simply become "did you build with kgcc ?" > > > - bloat users systems with the need to have two gcc versions installed. > > $ size /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/cc1 > text data bss dec hex filename > 3430228 2680 746688 4179596 3fc68c /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/cc1 > It's not much, agreed, but if the users regular gcc can build the kernel it's still unnessesary extra bloat to have two gcc's. But you are right, the bloat issue is just a minor thing. > You don't even need libgcc nor c++ to build the kernel. Anyway, it should > not be an absolute requirement, but the *recommended* and *supported* version. > > > - decrease testing with different gcc versions, which sometimes uncover bugs. > > gcc testing should not consume kernel developpers' time, but gcc's users. > How many kernel bugs have finally been attributed to a recent change in gcc ? > A lot I think. Uncovering bugs in gcc is useful but not the primary goal of > kernel developpers. > That's not what I meant. I meant that building the kernel with different gcc versions sometimes uncover bugs in the *kernel*. I was not talking about finding bugs in gcc. -- Jesper Juhl Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - 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/