From owner-freebsd-current Thu Dec 30 1:38:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from rah.star-gate.com (216-200-29-190.snj0.flashcom.net [216.200.29.194]) by hub.freebsd.org (Postfix) with ESMTP id C9DF014FB1; Thu, 30 Dec 1999 01:38:35 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.3/8.9.3) with ESMTP id BAA49705; Thu, 30 Dec 1999 01:37:41 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199912300937.BAA49705@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Wemm Cc: obrien@FreeBSD.org, current@FreeBSD.org Subject: Re: gcc compile error In-reply-to: Your message of "Thu, 30 Dec 1999 17:23:52 +0800." <19991230092352.42BEA1CC6@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 30 Dec 1999 01:37:41 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > "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