[ODE] [fix] ode doesn't compile on 64 bit platforms
Tanguy Fautre
tanguy.fautre at spaceapplications.com
Thu Dec 8 02:45:51 MST 2005
Bram Stolk wrote:
> J. Perkins wrote:
>
>>On 12/6/05, Russell Smith <russ at q12.org> wrote:
>>
>>
>>>i've applied your patch. thanks!
>>>
>>>On 12/5/05, Dmitry Marakasov <amdmi3 at mail.ru> wrote:
>>>
>>>
>>>>There seem to be a problem when compiling ode library on non-x86 archs
>>>>(i.e. amd64, ia64). I've ran into this when porting XMoto game
>>>>(xmoto.sf.net) to freebsd - this game use ode, but ode ports are marked
>>>>broken for non-x86 archs in the FreeBSD ports collection, as ode doesn't
>>>>compile on these.
>>
>>
>>Russ, did you apply to unstable?
>
>
> Unstable use configure.in, not configure.c
>
> I tried changing configure.in, but:
>
> If I understand the patch correctly, it is the intention to
> replace
> "mov \$0,%%eax;\n"
> with
> "mov %%eax,(%%esi);\n"
>
> If I do this, my pentium is no longer detected due to segm violation:
>
> configure:7274: checking for a Pentium CPU
> configure:7299: cc -o conftest -g -O2 conftest.c >&5
> configure:7302: $? = 0
> configure:7304: ./conftest
> ../ode/configure: line 7305: 5908 Segmentation fault ./conftest$ac_exeext
>
>
>
>>Jason
>>
I'm not sure this modification is needed on the UNSTABLE branch. It has
been compiling just fine on AMD64 for quite some time now.
What about IA64?
I don't really see how this patch could be related to IA64, though.
Tanguy
More information about the ODE
mailing list