Fwd: [ports-sparc64@pointyhat.freebsd.org: brlcad-7.0.4 failed on sparc64 5]

Doug White dwhite at gumbysoft.com
Tue Mar 15 19:00:40 PST 2005


On Tue, 15 Mar 2005, Pedro F. Giffuni wrote:

>
> --- Doug White <dwhite at gumbysoft.com> 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 at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-sparc64 mailing list