Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: I come not to bury GCC, but to praise it? (fwd)
@ 2001-02-05  6:18 Andrew A. Gill
  2001-02-05 13:36 ` David Woodhouse
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew A. Gill @ 2001-02-05  6:18 UTC (permalink / raw)
  To: AXP-list

OK.  Straight from the horse's mouth.

---------- Forwarded message ----------
Date: Sun, 04 Feb 2001 22:09:44 -0800 (PST)
From: Linus Torvalds <torvalds@transmeta.com>
To: Andrew A. Gill <superluser@mail.isc.rit.edu>
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




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-02-08  5:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-05  6:18 I come not to bury GCC, but to praise it? (fwd) Andrew A. Gill
2001-02-05 13:36 ` David Woodhouse
2001-02-05 22:16   ` W Bauske
2001-02-05 23:10     ` I hate to complain, but Greg Meno
2001-02-05 21:24       ` James Fowler
2001-02-06 12:53         ` Rich Payne
2001-02-06 13:35           ` Richard June
2001-02-05 23:29       ` Maurice Hilarius
2001-02-06 11:52         ` Nelson Brito
2001-02-06 13:05           ` Maurice Hilarius
2001-02-06 19:52       ` VNC w/o X? SteveCraft
2001-02-07 16:10         ` Speedracer
     [not found]       ` <Pine.LNX.4.21.0102061451560.18959-100000@bigpapa.nothinbut .net>
2001-02-07 21:41         ` Rob Byrnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox