Open ghost opened 8 years ago
I'm experiencing this problem as well. Can a fix be implemented easily?
big endian?
Yes, big endian.
On Thu, Jun 9, 2016, 00:52 Marko Mikulicic notifications@github.com wrote:
big endian?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cesanta/v7/issues/547#issuecomment-224740930, or mute the thread https://github.com/notifications/unsubscribe/AA7no7Zn2bXs3WFLUI21R5G_Bn3qvVzGks5qJzmpgaJpZM4HvLja .
Is this a 32bit vs 64bit issue? or a big endian vs little endian issue?
v7 runs perfectly fine on both 64bit and 32bit. This is a big-endian issue.
running ./v7_mips -e 'print(1);'
after commit 91118131613f78037df1c71126e388d1a01ed443 give the following output:
"cannot find exception TypeError Exception creation throws an exception TypeError: cannot read property 'prototype' of undefined Assertion failed: v7_is_object(v) (v7.c: get_object_struct: 17840)"
Yes, we're aware of the issues on big-endian platforms; honestly we never addressed them yet. But yes, this thing is important, and we plan to fix it in July 2016 (can't do that earlier due to our local deadlines). We'll report here once we have any progress on that.
Thank you for the quick response, July sounds great! I will be following your progress :+1:
Looking forward for the fix :)
./v7: v7.c: 9223: calc_llen: Assertion `n <= (int) sizeof(len)' failed. Aborted