Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 01:37:41 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        obrien@FreeBSD.org, current@FreeBSD.org
Subject:   Re: gcc compile error 
Message-ID:  <199912300937.BAA49705@rah.star-gate.com>
In-Reply-To: Your message of "Thu, 30 Dec 1999 17:23:52 %2B0800." <19991230092352.42BEA1CC6@overcee.netplex.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> "David O'Brien" wrote:
> > On Wed, Dec 29, 1999 at 11:37:18AM -0800, Amancio Hasty wrote:
> > > This is the scoop. 
> > ..snip.. 
> > > gcc -v
> > > Using builtin specs.
> > > gcc version 2.95.2 19991024 (release)
> > ..snip..
> > > Without -O or -O2 the program compiles okay.
> > 
> > What other platforms w/gcc 2.95 have you tried to build this X11 version
> > on?  What other non-Linux platforms w/gcc 2.95 have you tried to build
> > this X11 version on?  Do you have a problem if you download the official
> > GCC 2.95.2 release and build it the old GNU'fashion way?  Does a purely
> > stock GCC 2.95 bomb on this??  If so, it is a GCC problem and the issue
> > should be raised with Cygnus.  
> 
> Yes it is a gcc-2.95.2 bug.  It's fixed in the 2.96 snapshot in
> ports/lang/gcc-devel.
> 
Yeap,
gcc-devel installed from the ports directory:

 gcc -v 
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.0/2.96/specs
gcc version 2.96 19991110 (experimental)
{root} gcc -c -O2 bug.c

That is as Peter said the bug is fixed on the 2.96 snapshot and I am currently
rebuilding X on my other system will find out more when the build finishes in
about 1/2 hour.


	Take Care




-- 

 Amancio Hasty
 hasty@rah.star-gate.com




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?199912300937.BAA49705>