当前位置: 代码迷 >> 综合 >> [RK3288][Android5.1]调试笔记 --- 编译报错error: unsupported reloc 43
  详细解决方案

[RK3288][Android5.1]调试笔记 --- 编译报错error: unsupported reloc 43

热度:89   发布时间:2023-10-09 13:27:53.0

Platform: RK3288
OS: Android 5.1.1
Kernel: v3.10.0

问题:

firefly-3288 编译Android报错,Ubuntu版本为16.04;

问题日志:

prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol std::string::_Rep::_S_empty_rep_storage
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol std::string::_Rep::_S_empty_rep_storage
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol std::string::_Rep::_S_empty_rep_storage
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol std::string::_Rep::_S_empty_rep_storage
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol JniConstants::fileDescriptorClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol JniConstants::fileDescriptorClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol JniConstants::fileDescriptorClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol JniConstants::fileDescriptorClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol JniConstants::referenceClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::bidiRunClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::bigDecimalClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::booleanClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::byteClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::byteArrayClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::calendarClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::characterClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::charsetICUClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::constructorClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::floatClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::deflaterClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::doubleClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::errnoExceptionClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::fieldClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::fieldPositionIteratorC                                                                               lass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::fileDescriptorClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::gaiExceptionClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::inet6AddressClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::inetAddressClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::inetSocketAddressClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::inetUnixAddressClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::inflaterClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::inputStreamClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::integerClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::localeDataClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::longClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::methodClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::mutableIntClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::mutableLongClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::objectClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::objectArrayClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::outputStreamClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::parsePositionClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::patternSyntaxException                                                                               Class
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::realToStringClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::referenceClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::shortClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::socketClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::socketImplClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::stringClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structAddrinfoClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structFlockClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structGroupReqClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structGroupSourceReqCl                                                                               ass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structLingerClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structPasswdClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structPollfdClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structStatClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structStatVfsClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structTimevalClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structUcredClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniConstants.o: unsupported reloc 43 against global symbol JniConstants::structUtsnameClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/toStringArray.o: unsupported reloc 43 against global symbol JniConstants::stringClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/toStringArray.o: unsupported reloc 43 against global symbol JniConstants::stringClass
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES                                                                               /libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:270: error: unsuppor                                                                               ted reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:270: error: unsuppor                                                                               ted reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:235: error: unsuppor                                                                               ted reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:235: error: unsuppor                                                                               ted reloc 43
libnativehelper/JNIHelp.cpp:310: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:311: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:332: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:322: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:338: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:89: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:90: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:91: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:92: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:93: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:94: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:95: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:96: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:97: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:98: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:99: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:100: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:101: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:102: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:103: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:104: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:105: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:106: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:107: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:108: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:109: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:110: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:111: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:112: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:113: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:114: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:115: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:116: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:117: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:118: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:119: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:120: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:121: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:122: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:123: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:124: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:125: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:126: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:127: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:128: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:129: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:130: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:131: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:132: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:133: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:134: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:135: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:136: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:137: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:138: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:139: error: unsupported reloc 43
libnativehelper/JniConstants.cpp:140: error: unsupported reloc 43
libnativehelper/toStringArray.cpp:21: error: unsupported reloc 43
libnativehelper/toStringArray.cpp:21: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:40: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:45: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
host C++: dalvikvm <= art/dalvikvm/dalvikvm.cc#### make failed to build some targets (25:13 (mm:ss)) ####

解决方法:

cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld

 

  相关解决方案