POV-Ray : Newsgroups : povray.macintosh : G5 optimization : G5 optimization Server Time
26 Apr 2024 16:10:56 EDT (-0400)
  G5 optimization  
From: popov
Date: 2 Feb 2005 08:50:00
Message: <web.4200d9c11bb956ed95579c20@news.povray.org>
Hi,

I'm trying to built an optimized commandline version of Povray 3.6.1 based
on the latest unix tarball on a 2GHz Powermac G5 running OSX 10.3.7.

In order to optimize for the G5, my gcc compiler flags are -O3 -mcpu=G5
-mtune=G5 -mpowerpc-gpopt -mpowerpc64

Compilation is successful, however running povray -benchmark results in a
segmentation fault at the very beginning of execution.

The reason of the segmentation fault seems to be the -mpowerpc64
optimization flag. If I compile without -mpowerpc64, everything is working
fine and I get a benchmark of 36 minutes.

Is the 3.6.1 source not compatible with the mpowerpc64 flag?

Because this flag is turned on when compiling with -fast (this turns on
various optimization flags), I get also a segmentation fault.

My gcc compiler is:
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)

Any idea?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.