-
Notifications
You must be signed in to change notification settings - Fork 186
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
luv is supported arm64 or not #112
Comments
lua does support arm64. luajit seems also working on arm64. |
I don't have any arm64 hardware to test on. Is this for new iOS/android As far as I know, luv should support it. Its simply bindings between Lua
|
iphone 5s and newer uses ARM64 processor. i got luajit and luv working on a shell of a jailbroken ios 8.1.2 iphone 5. |
wow. sweet |
@imzyxwvu, how did you build it? I just tried luvi in an aarch64 linaro chroot (using qemu-aarch64-static) and luajit fails saying architecture not supported. |
@creationix i built one for iOS, not ARM64 but should work on it. luajit built for ios won't enable jit because Apple just allow signed native code. |
As far as I know, luajit-2.1 has official support that makes sure it works on ARM64 devices: http://repo.or.cz/w/luajit-2.0.git/blob_plain/refs/heads/v2.1:/doc/install.html |
Luajit 2.1 is making progress on arm64. See https://github.com/luajit/luajit/issues?utf8=%E2%9C%93&q=is%3Aissue++64+ |
Also see the arm64 tag over there. |
I got a new odroid C2 and just built luvit! A small patch was required to luv to allow luajit to configure properly. e4f2a80 There is still some issue in luvi's openssl asm code, but if you build with with the tim@odroid64:~/lit$ luvi -v
luvi v2.7.5
rex: 8.37 2015-04-28
libuv: 1.9.1
ssl: OpenSSL 1.0.2g 1 Mar 2016, lua-openssl 0.5.1
tim@odroid64:~/lit$ lit -v
lit version: 3.4.3
luvi version: v2.7.5
tim@odroid64:~/lit$ luvit -v
luvit version: 2.11.5
luvi version: v2.7.5
rex version: 8.37 2015-04-28
libuv version: 1.9.1
ssl version: OpenSSL 1.0.2g 1 Mar 2016, lua-openssl 0.5.1
tim@odroid64:~/lit$ uname -a
Linux odroid64 3.14.65-73 #1 SMP PREEMPT Tue Aug 2 08:21:02 BRT 2016 aarch64 aarch64 aarch64 GNU/Linux
tim@odroid64:~/lit$ file `which luvi`
/usr/local/bin/luvi: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=b503f3aacc86539b1f21f68fa1d4f3d6cf57a643, not stripped
tim@odroid64:~/lit$ ls -lh `which luvi`
-rwxr-xr-x 1 tim tim 3.4M Aug 4 23:07 /usr/local/bin/luvi |
luv is really supported arm64/aarch64 when use luajit v2.1 |
I want to use luv for cocos2d-x game, but don't sure lua is supported arm64 or not.
The text was updated successfully, but these errors were encountered: