Re: ARM port
- Posted by Jerome Sep 06, 2011
- 5105 views
mattlewis said...
I seem to recall very similar errors happening. I believe that ARM processors require 16 byte alignment or something. We've probably either missed doing so somewhere or had a regression.
Yes, I use to get this illegal instruction when we first started:
0x002ff9b4 in decompress (c=251) at be_decompress.c:75 75 d = (double)*(float *)string_ptr;
Which was fixed with:
float f; d = (double)*(float*)memcpy((void*)&f, (void*)string_ptr, 4);
Jacques, for your illegal instruction, can you give this a try?
... //--d= *(double *)string_ptr; memcpy(&d, (double *)string_ptr, 8); ...
Thanks,
Ira