-
-
[未解决,已结帖] [求助]Ollvm编译arm64-v8a失败 50.00雪花
-
发表于: 2018-12-24 15:47 1956
-
搞Ollvm时,编译其他ABI正常,但是编译arm64-v8a失败了,报以下错误
rm -f /opt/libs/arm64-v8a/lib*.so /opt/libs/armeabi/lib*.so /opt/libs/armeabi-v7a/lib*.so /opt/libs/armeabi-v7a-hard/lib*.so /opt/libs/mips/lib*.so /opt/libs/mips64/lib*.so /opt/libs/x86/lib*.so /opt/libs/x86_64/lib*.so rm -f /opt/libs/arm64-v8a/gdbserver /opt/libs/armeabi/gdbserver /opt/libs/armeabi-v7a/gdbserver /opt/libs/armeabi-v7a-hard/gdbserver /opt/libs/mips/gdbserver /opt/libs/mips64/gdbserver /opt/libs/x86/gdbserver /opt/libs/x86_64/gdbserver rm -f /opt/libs/arm64-v8a/gdb.setup /opt/libs/armeabi/gdb.setup /opt/libs/armeabi-v7a/gdb.setup /opt/libs/armeabi-v7a-hard/gdb.setup /opt/libs/mips/gdb.setup /opt/libs/mips64/gdb.setup /opt/libs/x86/gdb.setup /opt/libs/x86_64/gdb.setup [arm64-v8a] SharedLibrary : libhello.so /opt/android-ndk-r10d/toolchains/obfuscator-llvm-4.0/prebuilt/linux-x86_64/bin/clang++ -Wl,-soname,libhello.so -shared --sysroot=/opt/android-ndk-r10d/platforms/android-21/arch-arm64 /opt/obj/local/arm64-v8a/objs/hello/hello.o -lgcc /opt/obj/local/arm64-v8a/libc++_shared.so -gcc-toolchain /opt/android-ndk-r10d/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -target aarch64-none-linux-android -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -L/opt/android-ndk-r10d/platforms/android-21/arch-arm64/usr/lib -llog -landroid -lc -lc -lm -o /opt/obj/local/arm64-v8a/libhello.so /opt/android-ndk-r10d/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: unrecognized option '--fix-cortex-a53-843419' /opt/android-ndk-r10d/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: use the --help option for usage information clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [/opt/obj/local/arm64-v8a/libhello.so] Error 1
更换了其他ndk,已经自己解决了这个问题,能退吗
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
最后于 2018-12-25 17:40
被lanken编辑
,原因: 已经自己解决了,能退吗
赞赏
看原图
赞赏
雪币:
留言: