Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 08:17:44 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: Compiler problems with gcc-2.7.2.1
Message-ID:  <Pine.BSF.4.01.9809040812070.360-100000@herring.nlsystems.com>
In-Reply-To: <199809032336.JAA04070@cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Sep 1998, John Birrell wrote:

> Doug Rabson wrote:
> > I have been having occaisonal problems with gcc-2.7.2.1 on the alpha where
> > it makes bad register allocation choices, leading to broken code.  I don't
> > think anything in our build tickles this bug but XFree86 certainly does.
> 
> Does this occur without optimization?

It only happens with optimisation.

> 
> > I tracked down a set of patches from RedHat 5.0 which fix the problem but
> > they are for gcc-2.7.2.3.  I am not sure how to go about committing this.
> > I have patched my tree up to 2.7.2.3 and added the RedHat patches but it
> > really needs someone (hopefully not me) to do a proper import of 2.7.2.3.
> 
> What are our options here wrt Alpha _and_ i386?
> 
> If we stick with what we have for 3.0 to avoid a last minute change that
> might destabilize the i386 release, we need to at least release a snapshot
> of FreeBSD/Alpha at the same time and that must contain the tools to
> support building the world. The alpha Alpha 8-) release can contain
> XFree86 libs and clients built on a later compiler if required, since we
> don't build those with the world

That might be ok given that we are not going to call the Alpha bits a
release.

> 
> I'd like to see the compiler issue reviewed after 3.0 in the light of
> the release of egcs and the poor C++ support that gcc 2.7.X has.

It would be a good idea to upgrade to a modern compiler after the release.
I suspect that gcc-2.8.x will be more acceptable for most people.  The C++
support is roughly the same in gcc-2.8.x and egcs-1.x afaik.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 951 1891
					Fax:   +44 181 381 1039


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809040812070.360-100000>