These patches seem to fix this problem. I haven't tested the resulting gij very extensively, but it can at least execute "hello world" type stuff now. p.
Attachment:
arm-gij.dpatch
Description: application/shellscript
Attachment:
arm-libffi.dpatch
Description: application/shellscript