This is going to be interesting ... perhaps.

Soldato
Joined
13 Jan 2003
Posts
24,193
I'm currently compiling the version of gcc I used to use with kubuntu.. interesting as it has a proper -march=core2 optimisation flag and it's the experimental branch for autovectorisation..

Although I think a lot of the previous av branch changes have been merged with mainline, it has resulted in some good performance increases for kubuntu on my x2 4400.. so it will be interesting to see what the likes of openoffice and stellarium etc will give on my MBP as they did give pretty good results before :D

Before anyone says anything.. the xcode gcc version does not understand what a core2 is thus does not have native support..

I might have to look at compiling PoV then running the standard examples as a benchmark.

twiddles thumbs... fans@6,000rpm captain and she's holdin' steady@63degC.
 
currently the POV 3.7beta is being a PITA...

BOOM, Mr Jobs says:
Code:
povray(2376,0xa003dfa0) malloc: *** error for object 0xa06242d8: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x958e76e1 in __gnu_cxx::__exchange_and_add ()
(gdb) back
#0  0x958e76e1 in __gnu_cxx::__exchange_and_add ()
#1  0x958b1ac4 in std::locale::_Impl::_M_replace_category ()
#2  0x958b131b in std::locale::~locale ()
#3  0x0001220e in vfe::vfePlatform::UnixOptionsProcessor::process_povray_conf (this=0x5005d0) at basic_ios.h:268
#4  0x0001343d in vfe::vfePlatform::UnixOptionsProcessor::UnixOptionsProcessor (this=0x5005d0, session=0xffffffff) at unix/unixoptions.cpp:194
#5  0x00025249 in vfe::vfePlatform::vfeUnixSession::vfeUnixSession (this=0x801200, id=-1) at unix/vfeplatform.cpp:131
#6  0x00004609 in main (argc=2, argv=0xbffffa34) at unix/unixconsole.cpp:485

Most inconsiderate.. looks like there's a very subtle library difference...
 
Last edited:
Got it working my setting the architecture type to i386 in the POV build.. so that 32bit! The issue is todo with 64bit app vs 32bit library (so the system isn't getting it right or there's a bug in the 64bit version of the Xcode GCC 4.0.1..).

Roll on..
Code:
Macintosh:gcc Nick$ ./g++ --version
g++ (GCC) 4.3.0 20080330 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
Last edited:
Back
Top Bottom