-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lua port is built with the wrong architecture (x86) #59
Comments
This would be awesome to fix for the 0.5 release |
Hi Vaskas, nice to see you back ! https://github.com/BerryFarm/berrymuch/tree/update-fix-crosscompile-lua The compilation went running fine; But "ar" step fails like below ..
Not sure how to fix this |
Ok gcc is calling "ar" with the following arguments: 676 execve("/root/bbndk/host_10_3_1_12/linux/x86/usr/bin/arm-unknown-nto-qnx8.0.0eabi-ar.orig", ["/root/bbndk/host_10_3_1_12/linux/x86/usr/bin/arm-unknown-nto-qnx8.0.0eabi-ar.orig", "liblua.a", "lapi.o", "lcode.o", "lctype.o", "ldebug.o", "ldo.o", "ldump.o", "lfunc.o", "lgc.o", "llex.o", "lmem.o", "lobject.o", "lopcodes.o", "lparser.o", "lstate.o", "lstring.o", "ltable.o", "ltm.o", "lundump.o", "lvm.o", "lzio.o", "lauxlib.o", "lbaselib.o", "lbitlib.o", "lcorolib.o", "ldblib.o", "liolib.o", "lmathlib.o", "loslib.o", "lstrlib.o", "ltablib.o", "loadlib.o", "linit.o"], [/* 21 vars */]) = 0 So we need to find a way to fix the gcc call to "ar" Tried to update AR inside Makefile, without any success |
Ok we're very close to something ( see branch update-fix-lua )
|
@karawitan luaopen_utf8.o is not getting compiled hence the symbol is missing, I think you need to tweak |
Apparently Lua is not cross-compiled:
The text was updated successfully, but these errors were encountered: