Manta Interactive Ray Tracer Development Mailing List

Text archives Help


RE: [MANTA] Mac G5 problems


Chronological Thread 
  • From: Rocky Rhodes <rhodes@sgi.com>
  • To: "'Steven Parker'" <sparker@cs.utah.edu>
  • Cc: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: RE: [MANTA] Mac G5 problems
  • Date: Tue, 31 May 2005 15:11:26 -0700

My phong.cc file was a little different from the one checked into the tree.
I got rid of my changes and now everything looks good.  The changes worked
fine on the Altix, and also looked fine on the Mac with only -O3 compiler
flag.  Some day I'll look into the cause of the problem and report the G5
g++ compiler bug.  ;^)

        Rocky

> -----Original Message-----
> From: Steven Parker [mailto:sparker@cs.utah.edu]
> Sent: Tuesday, May 31, 2005 2:44 PM
> To: Rocky Rhodes
> Cc: 'manta@sci.utah.edu'
> Subject: Re: [MANTA] Mac G5 problems
> 
> You must not be living right.  I have this:
> 
> g++ --version
> powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,
> Inc. build 4061)
> 
> uname -a
> Darwin taz.sci.utah.edu 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10
> 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh
> powerpc
> 
> I just checked out a fresh copy, set the build mode to Release, and it
> worked fine.
> 
> Note that you get a significant performance improvement by adding
> -malign-natural to the set of command line flags.  However, it doesn't
> work on the old gcc, so we didn't make it the default.
> 
> Andrew, or someone else with a Mac - can you check the same thing?
> 
> Steve
> 
> On May 31, 2005, at 3:12 PM, Rocky Rhodes wrote:
> 
> > I'm trying to get manta working on a G5 Mac here.  I've built the main
> > trunk with a RELEASE build type that causes a whole lot of compiler
> > flags to get used.  The resulting binary has some issues, as
> > illustrated by the attached image.  When I compile with only "-O3"
> > the image looks fine.  Anyone seen this before?
> >
> > "g++ -- version" reports powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0
> > 20041026 (Apple Computer, Inc. build 4061).
> >
> >             Rocky
> > <snap.jpg>






Archive powered by MHonArc 2.6.16.

Top of page