[ODE] building ODE on Athlon 64

Frederic Marmond zebarbuc at free.fr
Tue Jan 18 13:10:29 MST 2005

I've already made the port, I don't know nobody took care...
I posted the patch few weeks ago, try to find it in the archives...

You need to modify the makefile.unix-gcc, as you've already done, and re-write
few part of assembly code.

Tell me if you hae troubles with my patch.


Quoting Julien LOLLIVIER <julien.lollivier at quiris.com>:

> A friend is trying to port our project to native 64 bits with athlon 64
> platform, and encounter a few issues while building ODE (Mandrake 10.1 amd64
> rc1):
> * He made one change to config/makefile.unix-gcc, adding -L/usr/X11R6/lib64
> ton get libX11 linking.
> At this step, building failed with things like:
> /home/ryle/tmp/ccWWklaG.s:67: Error: `(%esi)' is not a valid 64 bit
> base/index expression
> * So, he tried compiling timer.cpp in "standard" 32 bits, like this:
> g++ -m32 -c -Wall -fno-rtti -fno-exceptions -Wall -fomit-frame-pointer
> -ffast-math -Iinclude -IOPCODE  -DdTRIMESH_ENABLED -DdNODEBUG -O2 -o
> ode/src/timer.o ode/src/timer.cpp
> * Then the whole building process succeed, but there were a lot of warnings
> in Opcode files (see attached log), mostly about wrong casts.
> When using our application with this "ODE64", we got a SIGSEGV at the very
> beginning. I'm not sure (I will post further informations soon), but gdb's
> backtrace showed something like AABBTreeNode::_BuildHierarchy.
> Is someone have any tip about this building ? Can we test something ?
> Xfennec.
> http://raydium.cqfd-corp.org/

Fred Marmond

More information about the ODE mailing list