Bugs on Mac OS X 64-bit Release build

Discuss any Chipmunk bugs here.
mindabuse
Posts: 7
Joined: Tue Aug 30, 2011 12:09 pm
Contact:

Re: Bugs on Mac OS X 64-bit Release build

Post by mindabuse »

slembcke wrote:Eeek. That is nasty, and I do a lot of similar things in Chipmunk. Actually I don't understand how a bug like that could have slipped past their QC... Nearly every graphics program on earth does stuff like that.
Heh heh - yeah...

I've done a few tests with the compiler options and found the optimization settings to produce the following results for ChipmunkDemo:

1. -O0 (None) is fine, expected since this is the default for debug builds
2. -O, -O1 (fast) is fine
3. -O2 (faster) is broken
4. -O3 (fastest) is broken
5. -Os (fastest, smallest) is broken
mindabuse
Posts: 7
Joined: Tue Aug 30, 2011 12:09 pm
Contact:

Re: Bugs on Mac OS X 64-bit Release build

Post by mindabuse »

I installed the Xcode 4.2 GM build which includes Apple LLVM Compiler 3.0 and have verified that the bugs related to compiler optimizations with 64-bit builds are now gone.

People may want to be on the look-out for 64-bit "Release" builds with Apple LLVM Compiler 2.1.
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests