
具体报错为:
Building Library\Bee\artifacts\Android\d8kzr\libil2cpp.so failed with output:
Library/Bee/artifacts/Android/87lik/ayff_tils1.lump.o: In function `std::__ndk1::char_traits<char>::assign(char*, unsigned long, char)':
D:/Program\Unity\2021.3.16f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\..\sysroot\usr\include\c++\v1/__string:228:(.text._ZN6il2cpp5utils9Exception23FormatBaselibErrorStateERKN14il2cpp_baselib18Baselib_ErrorStateE+0×78): relocation truncated to fit: R_AARCH64_CALL26 against symbol `memset@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/ayff_tils1.lump.o: In function `il2cpp::utils::Memory::SetMemoryCallbacks(Il2CppMemoryCallbacks*)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/utils/Memory.cpp:55:(.text._ZN6il2cpp5utils6Memory18SetMemoryCallbacksEP21Il2CppMemoryCallbacks+0×4c): relocation truncated to fit: R_AARCH64_JUMP26 against symbol `mono_set_allocator_vtable’ defined in .text.mono_set_allocator_vtable section in Library/Bee/artifacts/Android/6kuq4/21o7_ono-publib.o
Library/Bee/artifacts/Android/87lik/ayff_tils1.lump.o: In function `il2cpp::utils::MemoryPool::Calloc(unsigned long, unsigned long)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/utils/MemoryPool.cpp:71:(.text._ZN6il2cpp5utils10MemoryPool6CallocEmm+0×1c): relocation truncated to fit: R_AARCH64_JUMP26 against symbol `memset@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/cqxq_e_vm1.lump.o: In function `il2cpp::vm::Array::NewFull(Il2CppClass*, unsigned long*, unsigned long*)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Array.cpp:178:(.text.ZN6il2cpp2vm5Array7NewFullEP11Il2CppClassPmS4+0×28): relocation truncated to fit: R_AARCH64_CALL26 against symbol `il2cpp_array_element_size’ defined in .text.il2cpp_array_element_size section in Library/Bee/artifacts/Android/87lik/sk7s_2cpp0.lump.o
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Array.cpp:233:(.text.ZN6il2cpp2vm5Array7NewFullEP11Il2CppClassPmS4+0×114): relocation truncated to fit: R_AARCH64_CALL26 against symbol `memset@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/cqxq_e_vm1.lump.o: In function `void std::__ndk1::allocator<unsigned long>::construct<unsigned long>(unsigned long*)':
D:/Program\Unity\2021.3.16f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\..\sysroot\usr\include\c++\v1/memory:1825:(.text.ZNSt6ndk16vectorImNS_9allocatorImEEEC2Em[ZNSt6ndk16vectorImNS_9allocatorImEEEC2Em]+0×34): relocation truncated to fit: R_AARCH64_CALL26 against symbol `memset@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/cqxq_e_vm1.lump.o: In function `il2cpp::vm::Array::NewSpecific(Il2CppClass*, unsigned long)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Array.cpp:115:(.text._ZN6il2cpp2vm5Array11NewSpecificEP11Il2CppClassm+0×24): relocation truncated to fit: R_AARCH64_CALL26 against symbol `il2cpp_array_element_size’ defined in .text.il2cpp_array_element_size section in Library/Bee/artifacts/Android/87lik/sk7s_2cpp0.lump.o
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Array.cpp:131:(.text._ZN6il2cpp2vm5Array11NewSpecificEP11Il2CppClassm+0×70): relocation truncated to fit: R_AARCH64_CALL26 against symbol `memset@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/cqxq_e_vm1.lump.o: In function `il2cpp::vm::Assembly::Load(char const*)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Assembly.cpp:118:(.text._ZN6il2cpp2vm8Assembly4LoadEPKc+0×7c): relocation truncated to fit: R_AARCH64_CALL26 against symbol `memset@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/cqxq_e_vm1.lump.o: In function `il2cpp::vm::ends_with(char const*, char const*)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Assembly.cpp:100:(.text.ZN6il2cpp2vmL9ends_withEPKcS2+0×50): relocation truncated to fit: R_AARCH64_CALL26 against symbol `strncmp@@LIBC’ defined in .text section in D:/Program/Unity/2021.3.16f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
Library/Bee/artifacts/Android/87lik/cqxq_e_vm1.lump.o: In function `il2cpp::vm::Object::NewPtrFree(Il2CppClass*)':
E:/SeniorBoot/Unity/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm/Object.cpp:336:(.text._ZN6il2cpp2vm6Object10NewPtrFreeEP11Il2CppClass+0×4c): additional relocation overflows omitted from the output
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEditor.BuildPipeline:BuildPlayer (string[],string,UnityEditor.BuildTarget,UnityEditor.BuildOptions)
ET.BuildHelper:Build (ET.PlatformType,UnityEditor.BuildAssetBundleOptions,UnityEditor.BuildOptions,bool,bool,bool) (at Assets/Scripts/Editor/BuildEditor/BuildHelper.cs:148)