[ODE] build errors on intel mac osx 10.4.6

Christopher Moore christopher.e.moore at gmail.com
Mon May 8 12:23:43 MST 2006


Using the latest nightly snapshot of ODE (060223) I tried building on an
Intel Mac OSX 10.4.6

after only changing config/user-settings to PLATFORM=osx I got the following
error:

ode/src/timer.cpp: In function 'void dTimerEnd()':
ode/src/timer.cpp:130: error: PIC register '%ebx' clobbered in 'asm'
make: *** [ode/src/timer.o] Error 1
128-193-138-55:~/Desktop/ode-060223 chrismoore$

I found the same error when building version 0.5
The error went away when I removed the "%ebx" from the list of clobbered
registers in the serialize() function in ode/src/timer.cpp.  I wasn't sure
why this compiler issue came up, or if this is a safe fix for it.

Under the intel mac osx 10.4.6 the "test_ode.exe" program fails on
testMassFunctions() #1 and #5, and segfaults on dTestSolveLCP()

Just writing to inform,
--Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060508/e3f980e6/attachment.htm


More information about the ODE mailing list