From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 16 03:00:40 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5A6F16A4CE for ; Wed, 16 Mar 2005 03:00:39 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2B1F43D55 for ; Wed, 16 Mar 2005 03:00:39 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 977CA72DDE; Tue, 15 Mar 2005 19:00:39 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 92AD472DDD; Tue, 15 Mar 2005 19:00:39 -0800 (PST) Date: Tue, 15 Mar 2005 19:00:39 -0800 (PST) From: Doug White To: "Pedro F. Giffuni" In-Reply-To: <20050315194720.21521.qmail@web51610.mail.yahoo.com> Message-ID: <20050315185830.U17717@carver.gumbysoft.com> References: <20050315194720.21521.qmail@web51610.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-sparc64@FreeBSD.org Subject: Re: Fwd: [ports-sparc64@pointyhat.freebsd.org: brlcad-7.0.4 failed on sparc64 5] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 03:00:40 -0000 On Tue, 15 Mar 2005, Pedro F. Giffuni wrote: > > --- Doug White wrote: > > On Mon, 14 Mar 2005, Pedro F. Giffuni wrote: > > > > > Hi guys; > > > > > > Any idea why BRLCAD doesn't build on sparc64? I'd be glad to pass fixes > > > upstream for future releases. > > > > It apperas to be a bug (or overzealous optimization): > > > > Thanks Doug! > > I think a workaround would be to disable -fexpensive-optimizations for the > sparc64. I will work on this and I'll send a followup to the BRLCAD guys. -O3 is the bigger worry. Anything higher than -O2 doesn't get a lot of testing (PARTICULARLY on !i386) and the optimizations can sometimes have unintended side effects. (Heck, -O2 has unintended side effects!) I'd try building with just -O and see what you get. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org