[ODE] autoconf/automake take 5
Jens Thiele
karme at unforgettable.com
Thu Nov 22 12:05:01 MST 2001
Russ Smith wrote:
>>error:
>>strange bus error while accesing a contact struct (the first time)
>>which is on the stack (the dStack)
>>
>
> hmmm - the MIPS chip has more severe alignment restrictions than
> the x86. i believe that doubles must be 8-byte aligned. stack
> allocations with ALLOCA16 are 16 byte aligned. but i don't think
> allocations within a joint group are specially aligned,
> so this may be the problem. access to non-aligned contact joint
> doubles could definitely cause the bus error.
yep doubles must be 8-byte aligned (tested it)
and dStack used a 4-byte alignment? (at least no 8-byte alignment)
i used my malloc hack and 8-byte alignment => ode works on irix :-)
thanks for this one !!
> yes i'm working on this right now. obstack.h and obstack.cpp are
[...]
yep
karme
--
email karme at unforgettable.com
IRC Karme
HP http://www-ti.informatik.uni-tuebingen.de/~thiele
More information about the ODE
mailing list