09-06-2023 01:32 AM
Using Unity3d 2021.3.27
Oculus Package v56
Build process fails when I set the ScriptDebugging flag on; with the following error:
Building Library\Bee\artifacts\Android\d8kzr\libil2cpp.so failed with output:
Library/Bee/artifacts/Android/87lik/2bu4ed5r2ps3.o: In function `il2cpp::os::PathErrnoToErrorCode(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int)':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/Error.cpp:227:(.text._ZN6il2cpp2os20PathErrnoToErrorCodeERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEi+0x54): relocation truncated to fit: R_AARCH64_CALL26 against symbol `access@@LIBC' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/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/2bu4ed5r2ps3.o: In function `std::__ndk1::_DeallocateCaller::__do_call(void*)':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/include/c++/v1/new:334:(.text._ZN6il2cpp2os20PathErrnoToErrorCodeERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEi+0x70): relocation truncated to fit: R_AARCH64_CALL26 against symbol `operator delete(void*)' defined in .text._ZdlPv section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android\libc++_static.a(new.o)
Library/Bee/artifacts/Android/87lik/2bu4ed5r2ps3.o: In function `PosixAutoLock':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:44:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x14): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_mutex_lock@@LIBC' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/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/2bu4ed5r2ps3.o: In function `il2cpp::os::EventImpl::Set()':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/EventImpl.cpp:26:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x2c): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_cond_broadcast@@LIBC' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/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/2bu4ed5r2ps3.o: In function `~PosixAutoLock':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:46:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x34): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_mutex_unlock@@LIBC' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:46:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x50): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_mutex_unlock@@LIBC' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/22/libc.so
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x58): relocation truncated to fit: R_AARCH64_CALL26 against symbol `_Unwind_Resume' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x\libgcc_real.a(unwind-dw2.o)
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:46:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x5c): relocation truncated to fit: R_AARCH64_CALL26 against symbol `__clang_call_terminate' defined in .text.__clang_call_terminate[__clang_call_terminate] section in Library/Bee/artifacts/Android/d8kzr/yilyaeoth72i.o
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:46:(.text._ZN6il2cpp2os9EventImpl3SetEv+0x60): relocation truncated to fit: R_AARCH64_CALL26 against symbol `__clang_call_terminate' defined in .text.__clang_call_terminate[__clang_call_terminate] section in Library/Bee/artifacts/Android/d8kzr/yilyaeoth72i.o
Library/Bee/artifacts/Android/87lik/2bu4ed5r2ps3.o: In function `PosixAutoLock':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:44:(.text._ZN6il2cpp2os9EventImpl5ResetEv+0x14): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_mutex_lock@@LIBC' defined in .text section in C:/Program Files/Unity/Hub/Editor/2021.3.27f1/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/2bu4ed5r2ps3.o: In function `~PosixAutoLock':
C:/Program Files/Unity/Hub/Editor/2021.3.27f1/Editor/Data/il2cpp/libil2cpp/os/Posix/PosixHelpers.h:46:(.text._ZN6il2cpp2os9EventImpl5ResetEv+0x20): additional relocation overflows omitted from the output
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Anyone seen something like this?