Debian built Lua 5.1.3 on mips, sparc and powerpc (and 5.1.4 on sparc
and powerpc). A "hello, world" program is run during the build
process, so at a very simple level, the compiled binary works.
Much better than mine in any case :)
You should try to attach a debugger and obtain a backtrace. If this
is difficult, you could try to reproduce the issue in a more complete,
but ABI-compatible test environment.
I can't attach a debugger, because I need a JTAG adapter that I don't have and can't afford right now. About reproducing the issue in a more complete testing environment, I'm thinking about how to do this, although my options seem to be quite limited.
Best,
Bogdan