From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 20DF42F18D for ; Mon, 5 Feb 2001 01:20:33 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f156Kdq31428 for axp-list@listman.redhat.com; Mon, 5 Feb 2001 01:20:39 -0500 Received: from filer2.rit.edu (filer2.isc.rit.edu [129.21.2.226]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f156KYd31420 for ; Mon, 5 Feb 2001 01:20:34 -0500 Received: from res104a-017.rh.rit.edu ("port 3721"@[129.21.104.17]) by osfmail.rit.edu (PMDF V6.0-24 #41785) with ESMTP id <0G8900I8GTJG22@osfmail.rit.edu> for axp-list@redhat.com; Mon, 05 Feb 2001 01:18:52 -0500 (EST) Date: Mon, 05 Feb 2001 01:18:52 -0500 (EST) From: "Andrew A. Gill" Subject: Re: I come not to bury GCC, but to praise it? (fwd) X-Sender: To: AXP-list Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors OK. Straight from the horse's mouth. ---------- Forwarded message ---------- Date: Sun, 04 Feb 2001 22:09:44 -0800 (PST) From: Linus Torvalds To: Andrew A. Gill Subject: Re: I come not to bury GCC, but to praise it? [ Feel free to forward to axp-list or whatever ] On Sun, 4 Feb 2001, Andrew A. Gill wrote: > > You have been quite vocal (from what I have seen) on RedHat's GCC > snapshot being used for development. Recently, on the Alpha Linux list, > one of the RedHat folks made some comments that seem to be contrary. > > I thought that I would ask you to clarify what you meant, and help us > figure out what you really meant. Basically, we have two different versions of "gcc-2.96". There's the original RH-7.0 gcc-2.96, and that one is known to be broken. People can still use it, but we _know_ for example that it miscompiles at least reiserfs on x86. It so happens that it probably is better on Alpha, because the bugs are less likely to show up on alpha ("long long" is same as "long", and not nearly the same kind of register pressure anyway), but in any case it's something to be avoided unless you just cannot find anything else. There's the _other_ gcc-2.96. This is the current redhat compiler if you update to their rawhide (or whatever their beta is called), I think they name the RPM something like gcc-2.96-96, as opposed to tbe original 2.96-57. Or something. This other gcc doesn't have any _known_ bugs, and I'd actually be fairly interested in hearing what happens with it. In addition to this simple issue of two 2.96 compilers is another, fairly practical issue: it's clear that RH can't just go back to 2.95.2 or anything like that. Once they released with gcc-2.96, they were kind of stuck. For political as well as just technical reasons (ie now they have all the libraries compiled with the 2.96 C++ calling conventions etc, so it's more pain than it's worth to backtrack). So I entirely understand RH wanting to stay with 2.96. Which is ok as long as it's a _fixed_ 2.96. Right now, the fixed (as opposed to the originally shipping) gcc-2.96 actually seems to not only have had no known bugs found, but it's known to also _not_ miscompile some stuff that older, more "stable" compilers get wrong. Now, the kernel has worked around those issues, so that's not a big deal per se, but it's a good sign of the stability of the compiler itself. So I'm basically still of the opinion that it was incredibly stupid of RH to ship with an unproven compiler without even asking the gcc steering committee. But what's done is done, and apart from lambasting them on the 'net in order to hopefully shame them into not doing the same mistake in the near future, there's nothing I or anybody else can do about that. So the best action is to just grumble a bit, and live with it, and work at making sure that the newer 2.96 compilers are _solid_. I doubt we'll see a real gcc-3.0 release for some time yet, and even when it comes it will take time to stabilize, so we'll probably live with the 2.96 series for at least half a year. Could be more. And the more people that bite the bullet, the better. As long as people are aware of the inherent risk in testing new compilers. Even if that risk looks fairly small with the new 2.96-version. Linus