Skip to content
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

mac上编译make_android_luajit_arm64.sh报错 #1176

Open
do3jack opened this issue Nov 27, 2024 · 0 comments
Open

mac上编译make_android_luajit_arm64.sh报错 #1176

do3jack opened this issue Nov 27, 2024 · 0 comments

Comments

@do3jack
Copy link

do3jack commented Nov 27, 2024

arm64-v8a可以编译成功, x86和v7a失败. 下边是v7a失败的log.

Building armv7 lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src clean
rm -f luajit libluajit.a libluajit.so host/minilua host/buildvm lj_vm.S lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h host/buildvm_arch.h jit/vmdef.lua .o host/.o *.obj *.lib *.exp *.dll *.exe *.manifest *.pdb *.ilk
==== Building LuaJIT 2.1.0-beta3 ====
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src
HOSTCC host/minilua.o
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'arm' [-Wignored-optimization-argument]
HOSTLINK host/minilua
ld: unknown/unsupported architecture name for: -arch armv4t
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [host/minilua] Error 1
make: *** [default] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant