-
Notifications
You must be signed in to change notification settings - Fork 258
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
[BUG] 23.1.77 Build errors on Unity 2022.3.21f1 #2019
Comments
I cannot reproduce either - for the two files included in Temp.zip (r4h2qj8y89242-8ece50.cpp and lrg2xbmegvh20-168f12.cpp). Such cases are frequently due to low memory when running the build - redo your build with a lower parallelism. Re-open with reproducers for any crash that happens consistently (with a separate bug per crash). |
Also to set expectations, any crash or fix is unlikely to get backported to r23 as it is no longer supported. We could only help with finding reasonable workarounds. |
That's reasonable. By the way, when you mention low memory, do you mean RAM? Because I have 64GB DDR5 RAM (PC is brand new). I don't think memories are corrupt, because MEMTEST didn't show that. Also about lower parallelism, any advice on how to do that? |
Your machine might be swapping when running several memory-intensive tasks. Use a smaller number for the |
Can you be more specific here please? Thank you! I am still trying to find a solution on DDR5 Memory |
How are you building your code - is it android studio or cmake/ninja? |
Unity |
Description
Other people from my team don't encounter this issue. We've just upgraded from Unity 2021 to 2022. Running older version of NDK (Unity won't let me user newer), getting these errors during build:
Temp.zip
Error 1:
`Building Library\Bee\artifacts\Android\x6ly2\gthgw7ld4s71.o failed with output:
PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: C:/Android/SDK/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -marm -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__ -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -faddrsig -mllvm -hoist-common-insts=1 -DANDROID -DHAVE_INTTYPES_H -no-canonical-prefixes -funwind-tables -fstack-protector -fomit-frame-pointer -std=c++11 -Wswitch -Wno-trigraphs -Wno-tautological-compare -Wno-invalid-offsetof -Wno-implicitly-unsigned-literal -Wno-integer-overflow -Wno-shift-negative-value -Wno-unknown-attributes -Wno-implicit-function-declaration -Wno-null-conversion -Wno-missing-declarations -Wno-unused-value -Wno-pragma-once-outside-header -fvisibility=hidden -fexceptions -fno-rtti -g -Os -fPIC -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DGC_NOT_DLL -DIL2CPP_DEFAULT_DATA_DIR_PATH=Data -DNDEBUG -I. "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/bdwgc/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/pch" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Platforms/Android/Include" -o Library/Bee/artifacts/Android/x6ly2/gthgw7ld4s71.o -fcolor-diagnostics -fdiagnostics-absolute-paths -target armv7a-linux-androideabi22 -fstrict-aliasing -fdiagnostics-format=msvc -c -x c++ Library/Bee/artifacts/Android/x6ly2/lrg2xbmegvh20.lump.cpp
#0 0x00007ff6d1046d75 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1456d75)
Clang3.8 cross-compile linker issues libc (undefined references) #1 0x00007ff6d1046e39 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1456e39)
ndk-gdb fails on OS X #2 0x00007ff6d232dbe5 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x273dbe5)
ndk-gdb.py fails #3 0x00007ff6d3611f45 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a21f45)
ndk-gdb.py --project option treats ~/... as a relative path #4 0x00007ff6d360a548 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a1a548)
Unknown argument -mandroid #5 0x00007ff6d36179aa (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a279aa)
asan_device_setup error bricks phone #6 0x00007ff6d360dee7 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a1dee7)
no renderscript headers/library in r11 #7 0x00007ff6d360f0cf (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a1f0cf)
clang __thread caused linker error #8 0x00007ff6d360a548 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a1a548)
Clang not compiled with OpenMP support #9 0x00007ff6d360a47d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a1a47d)
error: undefined reference to '__atomic_exchange_4' #10 0x00007ff6d35f8e19 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a08e19)
Support for _POSIX_THREAD_SAFE_FUNCTIONS #11 0x00007ff6d35f7296 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a07296)
ld.bfd 2.25.51 packaged with NDK r11 produces unsupported R_ARM_COPY relocation #12 0x00007ff6d35f642b (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a0642b)
No support for debugging library projects #13 0x00007ff6d36002f1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a102f1)
Using precompiled header causes compilation error of tagged files #14 0x00007ff6d35f68dd (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a068dd)
Compile error when including <complex> #15 0x00007ff6d35f642b (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a0642b)
Compile error when using clang and precompiled headers #16 0x00007ff6d35fa846 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a0a846)
r11: libc++_static.a contains symbols in libc.a (causes multiple definition error) #17 0x00007ff6d35f6a78 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a06a78)
Extraction instructions are wrong #18 0x00007ff6d35f642b (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a0642b)
r11: some commands removed from NDK_ROOT #19 0x00007ff6d36002f1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a102f1)
ndk-stack does not work with 64-bit binaries #20 0x00007ff6d36010b4 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3a110b4)
Clang produces much larger binaries than GCC #21 0x00007ff6d2fe0e67 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33f0e67)
NDK r11 for Linux size / hash mismatch #22 0x00007ff6d357b2dc (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x398b2dc)
NDK r11 undefined reference #23 0x00007ff6d357950e (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x398950e)
ndk-stack file is missing #24 0x00007ff6d3578e31 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3988e31)
NDK 2.0.0 fails to installs as part of Android Studio 1.5.1 (Download finished with wrong size) #25 0x00007ff6d35ab67e (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39bb67e)
Why did you deprecate GCC? #26 0x00007ff6d2fde684 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ee684)
Why is native code compiled with -fno-strict-aliasing? #27 0x00007ff6d358739d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x399739d)
Unable to use Clang as part of Android Studio #28 0x00007ff6d3586e88 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3996e88)
r11b: ndk-which dosen't work #29 0x00007ff6d35ab873 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39bb873)
Missing 64 bit FILE stream functions #30 0x00007ff6d2fde684 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ee684)
armeabi libatomic.a uses ifuncs #31 0x00007ff6d358739d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x399739d)
clang doesn't make the difference between UL & ULL sufixes #32 0x00007ff6d3586e88 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3996e88)
Cannot find module with tag 'cpufeatures' in import path #33 0x00007ff6d35ab6f1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39bb6f1)
clang doesn't export explicit specializations function templates #34 0x00007ff6d2fde684 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ee684)
Arm gdb missing #35 0x00007ff6d2fdd2a1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ed2a1)
ndk r11b __cxxabi_config still missing #36 0x00007ff6d2504bce (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2914bce)
Issues with autoconf & libtool #37 0x00007ff6d1130374 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1540374)
Clang toolchains are still named *-clang3.6 #38 0x00007ff6d02b9da0 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6c9da0)
libc++_shared (both hard float abi variants) fail to load properly #39 0x00007ff6d0334473 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x744473)
No way of detecting the exact version of the NDK programmatically #40 0x00007ff6cfbf6482 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6482)
make-standalone-toolchain.sh doesn't work with Cygwin #41 0x00007ff6cfbf4661 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4661)
ndk r11b libc.so files don't contain all the symbols that r10e libc.so files did #42 0x00007ff6d0f44156 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1354156)
r11 clang: undefined reference to 'dladdr' #43 0x00007ff6d0167d11 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x577d11)
r11 clang: undefined reference to 'isnan' '__isinf' #44 0x00007ff6d0f43bf4 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1353bf4)
Invalid toolchain path for Windows x86 #45 0x00007ff6d0282424 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x692424)
ndk-gdb.py script is not working on Windows #46 0x00007ff6d0282809 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x692809)
x86_64 prebuilt libraries are not linking correctly #47 0x00007ff6d0295786 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6a5786)
undefined references #48 0x00007ff6cfbf3dcd (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3dcd)
NDK r11b contains duplicated file #49 0x00007ff6cfbf1395 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1395)
Dump native callstack programmatically in Android #50 0x00007ff6cfbf14c8 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x14c8)
NDK r11b: the ndk-gdb.py debugger for Mac is not working. #51 0x00007ffd1a65257d (C:\Windows\System32\KERNEL32.DLL+0x1257d)
Old NDK download links not available #52 0x00007ffd1bf0aa48 (C:\Windows\SYSTEM32\ntdll.dll+0x5aa48)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android22
Thread model: posix
InstalledDir: C:/Android/SDK/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin
clang++: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\olekk\AppData\Local\Temp\lrg2xbmegvh20-168f12.cpp
clang++: note: diagnostic msg: C:\Users\olekk\AppData\Local\Temp\lrg2xbmegvh20-168f12.sh
clang++: note: diagnostic msg:`
Error 2:
`Building Library\Bee\artifacts\Android\87lik\xz316dbmorj4.o failed with output:
PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: C:/Android/SDK/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -march=armv8-a -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -faddrsig -mllvm -hoist-common-insts=1 -DANDROID -DHAVE_INTTYPES_H -no-canonical-prefixes -funwind-tables -fstack-protector -fomit-frame-pointer -std=c++11 -Wswitch -Wno-trigraphs -Wno-tautological-compare -Wno-invalid-offsetof -Wno-implicitly-unsigned-literal -Wno-integer-overflow -Wno-shift-negative-value -Wno-unknown-attributes -Wno-implicit-function-declaration -Wno-null-conversion -Wno-missing-declarations -Wno-unused-value -Wno-pragma-once-outside-header -fvisibility=hidden -fexceptions -fno-rtti -g -Os -fPIC -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DTARGET_ARM64 -DGC_NOT_DLL -DIL2CPP_DEFAULT_DATA_DIR_PATH=Data -DNDEBUG -I. "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/bdwgc/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/pch" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Platforms/Android/Include" -o Library/Bee/artifacts/Android/87lik/xz316dbmorj4.o -fcolor-diagnostics -fdiagnostics-absolute-paths -target aarch64-linux-android22 -fstrict-aliasing -fdiagnostics-format=msvc -c -x c++ Library/Bee/artifacts/Android/87lik/gom449ymmnuj1.lump.cpp
#0 0x0000029b17b11d68
Clang3.8 cross-compile linker issues libc (undefined references) #1 0x0000029b17b08c38
ndk-gdb fails on OS X #2 0x0000029b17b08c38
ndk-gdb.py fails #3 0x0000029b17b11d68
ndk-gdb.py --project option treats ~/... as a relative path #4 0x0000029b17b11d68
Unknown argument -mandroid #5 0x0000029b17b08c38
asan_device_setup error bricks phone #6 0x0000029b17b08c38
no renderscript headers/library in r11 #7 0x0000029b17b11d68
clang __thread caused linker error #8 0x0000029b17b11d68
Clang not compiled with OpenMP support #9 0x0000029b17b114a8
error: undefined reference to '__atomic_exchange_4' #10 0x0000029b17b08c38
Support for _POSIX_THREAD_SAFE_FUNCTIONS #11 0x0000029b17b11b58
ld.bfd 2.25.51 packaged with NDK r11 produces unsupported R_ARM_COPY relocation #12 0x0000029b17b11bd8
No support for debugging library projects #13 0x00007ff6d3b11bca (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3f21bca)
Using precompiled header causes compilation error of tagged files #14 0x0000029b17b08c38
Compile error when including <complex> #15 0x0000029b17b08c38
Compile error when using clang and precompiled headers #16 0x0000029b17b11bd8
r11: libc++_static.a contains symbols in libc.a (causes multiple definition error) #17 0x0000029b17b11bd8
Extraction instructions are wrong #18 0x0000029b17b08c38
r11: some commands removed from NDK_ROOT #19 0x0000029b17b08c38
ndk-stack does not work with 64-bit binaries #20 0x0000029b17b11d68
Clang produces much larger binaries than GCC #21 0x0000029b17b11d68
NDK r11 for Linux size / hash mismatch #22 0x00007ff600000001
NDK r11 undefined reference #23 0x00007ff6d40a9710 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x44b9710)
ndk-stack file is missing #24 0x0000000000001398
NDK 2.0.0 fails to installs as part of Android Studio 1.5.1 (Download finished with wrong size) #25 0x0000029b17b10aa8
Why did you deprecate GCC? #26 0x00000000000003b9
Why is native code compiled with -fno-strict-aliasing? #27 0x000000ca393fafb0
Unable to use Clang as part of Android Studio #28 0x00007ffd1beed1aa (C:\Windows\SYSTEM32\ntdll.dll+0x3d1aa)
r11b: ndk-which dosen't work #29 0x00007ffd1beec7ba (C:\Windows\SYSTEM32\ntdll.dll+0x3c7ba)
Missing 64 bit FILE stream functions #30 0x00007ffd19ad1966 (C:\Windows\System32\ucrtbase.dll+0x11966)
armeabi libatomic.a uses ifuncs #31 0x0000029b17b08c38
clang doesn't make the difference between UL & ULL sufixes #32 0x0000029b17b08c38
Cannot find module with tag 'cpufeatures' in import path #33 0x0000029b17b11d68
clang doesn't export explicit specializations function templates #34 0x0000029b17b11d68
Arm gdb missing #35 0x000000ca393fb519
ndk r11b __cxxabi_config still missing #36 0x00007ff6d40a9710 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x44b9710)
Issues with autoconf & libtool #37 0x00007ffd000003ff
Clang toolchains are still named *-clang3.6 #38 0x0000029b17b74600
libc++_shared (both hard float abi variants) fail to load properly #39 0x0000029b17b745f0
No way of detecting the exact version of the NDK programmatically #40 0x000000ca393fb1f0
make-standalone-toolchain.sh doesn't work with Cygwin #41 0x00007ffd1beef2d8 (C:\Windows\SYSTEM32\ntdll.dll+0x3f2d8)
ndk r11b libc.so files don't contain all the symbols that r10e libc.so files did #42 0x0000000000000002
r11 clang: undefined reference to 'dladdr' #43 0x0000029b17b09a30
r11 clang: undefined reference to 'isnan' '__isinf' #44 0x00007ff6d038f46a (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x79f46a)
Invalid toolchain path for Windows x86 #45 0x00007ff6d0363160 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x773160)
ndk-gdb.py script is not working on Windows #46 0x00007ff6d0390da1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7a0da1)
x86_64 prebuilt libraries are not linking correctly #47 0x00007ff6d03cd28d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7dd28d)
undefined references #48 0x0000029b17b5a590
NDK r11b contains duplicated file #49 0x0000029b13681370
Dump native callstack programmatically in Android #50 0x0000029b17b5a6e8
NDK r11b: the ndk-gdb.py debugger for Mac is not working. #51 0x0000029b169bb2f8
Old NDK download links not available #52 0x00007ff6d03d21c2 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e21c2)
GDB 7.10 from NDK r11b is not working on OS X/Windows #53 0x00007ff6d03baf23 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7caf23)
A weird, yet critical issue with x86 and OpenGL ES #54 0x00007ff6cfe2a748 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x23a748)
Sha1.h disappeared from all the platforms on NDK r11b ? #55 0x00007ff6cfe30f53 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x240f53)
ndk-which should work with different ABIs #56 0x00007ff6cfe2af72 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x23af72)
GDB 7.10 from NDK r11b crashes while debugging Unreal Engine 4.10 demo #57 0x00007ff6d0e6d1e1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x127d1e1)
Kindly help me,while installing android studio i got this error #58 0x00007ff6d11c8683 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x15d8683)
Kindly help me,while installing android studio i got this error (extract:error writing to file android.sdk.7z) #59 0x00007ff6d2504b13 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2914b13)
GDB 7.10 from NDK r11b returns inconsistent MI result record for -exec-step command #60 0x00007ff6d1130374 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1540374)
GDB MI command -thread-info takes about 1 second to complete #61 0x00007ff6d02b9da0 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6c9da0)
Please define the NDK_PROJECT_PATH variable to point to it #62 0x00007ff6d0334473 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x744473)
ndk-gdb from NDK r11c for Windows x64 can't start the debugging session - it just outputs ERROR: Failed to find running process 'com.example.native_activity' #63 0x00007ff6cfbf6482 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6482)
ndk-gdb from NDK r11c for Windows x64 --tui option is not working #64 0x00007ff6cfbf4661 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4661)
r11c for linux lacks x86 toolchain #65 0x00007ff6d0f44156 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1354156)
libatomic.a contains relocs unknown to old android linker #66 0x00007ff6d0167d11 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x577d11)
[REG] r11x gcc-4.9 miscompiles Qt #67 0x00007ff6d0f43bf4 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1353bf4)
drop the unreachable arm stl libs #68 0x00007ff6d0282424 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x692424)
clang3.4 and clang3.5 toolchains are gone #69 0x00007ff6d0282809 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x692809)
SIGSEGV in basic_string copy constructor when compiling with clang toolchain #70 0x00007ff6d0295786 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6a5786)
NDK r11c contains 2 duplicate folders located at toolchains\llvm\prebuilt\windows-x86_64\lib64\clang\ #71 0x00007ff6cfbf3dcd (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3dcd)
fdprintf() available in stdio.h, but not libc.so #72 0x00007ff6cfbf1395 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1395)
Gradle toolchain = "clang" not work with Windows #73 0x00007ff6cfbf14c8 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x14c8)
fatal error: rs/cpp/utils/RefBase.h: No such file or directory #74 0x00007ffd1a65257d (C:\Windows\System32\KERNEL32.DLL+0x1257d)
Clang 3.8 from NDK r11c for Windows x86_64 can't correctly determine the linker's executable name #75 0x00007ffd1bf0aa48 (C:\Windows\SYSTEM32\ntdll.dll+0x5aa48)
`
Error 3:
`Building Library\Bee\artifacts\Android\x6ly2\f4ec2f9me9qd.o failed with output:
PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: C:/Android/SDK/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -marm -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__ -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -faddrsig -mllvm -hoist-common-insts=1 -DANDROID -DHAVE_INTTYPES_H -no-canonical-prefixes -funwind-tables -fstack-protector -fomit-frame-pointer -std=c++11 -Wswitch -Wno-trigraphs -Wno-tautological-compare -Wno-invalid-offsetof -Wno-implicitly-unsigned-literal -Wno-integer-overflow -Wno-shift-negative-value -Wno-unknown-attributes -Wno-implicit-function-declaration -Wno-null-conversion -Wno-missing-declarations -Wno-unused-value -Wno-pragma-once-outside-header -fvisibility=hidden -fexceptions -fno-rtti -g -Os -fPIC -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DGC_NOT_DLL -DIL2CPP_DEFAULT_DATA_DIR_PATH=Data -DNDEBUG -I. "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/bdwgc/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/pch" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Platforms/Android/Include" -o Library/Bee/artifacts/Android/x6ly2/f4ec2f9me9qd.o -fcolor-diagnostics -fdiagnostics-absolute-paths -target armv7a-linux-androideabi22 -fstrict-aliasing -fdiagnostics-format=msvc -c -x c++ Library/Bee/artifacts/Android/x6ly2/r4h2qj8y89242.lump.cpp
#0 0x00007ff6d223a4a5 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x264a4a5)
Clang3.8 cross-compile linker issues libc (undefined references) #1 0x0000023b9be3d930
ndk-gdb fails on OS X #2 0x0000023b9b2f2b70
ndk-gdb.py fails #3 0x000000e1739f9be8
ndk-gdb.py --project option treats ~/... as a relative path #4 0x0000023b9b2819a0
Unknown argument -mandroid #5 0x000000e1739f9dd8
asan_device_setup error bricks phone #6 0x000000e1739f9b30
no renderscript headers/library in r11 #7 0x0000023b9b2f29c0
clang __thread caused linker error #8 0x00007ff6d2226a4c (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2636a4c)
Clang not compiled with OpenMP support #9 0x00007ff6d2226208 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2636208)
error: undefined reference to '__atomic_exchange_4' #10 0x00007ff6d222960d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x263960d)
Support for _POSIX_THREAD_SAFE_FUNCTIONS #11 0x00007ff6d202fbc5 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x243fbc5)
ld.bfd 2.25.51 packaged with NDK r11 produces unsupported R_ARM_COPY relocation #12 0x00007ff6d35c5e18 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39d5e18)
No support for debugging library projects #13 0x00007ff6d35c315e (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39d315e)
Using precompiled header causes compilation error of tagged files #14 0x00007ff6d35c1085 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39d1085)
Compile error when including <complex> #15 0x00007ff6d35be79e (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39ce79e)
Compile error when using clang and precompiled headers #16 0x00007ff6d35b219b (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39c219b)
r11: libc++_static.a contains symbols in libc.a (causes multiple definition error) #17 0x00007ff6d2fe032a (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33f032a)
Extraction instructions are wrong #18 0x00007ff6d2fdfe35 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33efe35)
r11: some commands removed from NDK_ROOT #19 0x00007ff6d2fdecf4 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33eecf4)
ndk-stack does not work with 64-bit binaries #20 0x00007ff6d358739d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x399739d)
Clang produces much larger binaries than GCC #21 0x00007ff6d3586e88 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3996e88)
NDK r11 for Linux size / hash mismatch #22 0x00007ff6d35ab873 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39bb873)
NDK r11 undefined reference #23 0x00007ff6d2fde684 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ee684)
ndk-stack file is missing #24 0x00007ff6d358739d (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x399739d)
NDK 2.0.0 fails to installs as part of Android Studio 1.5.1 (Download finished with wrong size) #25 0x00007ff6d3586e88 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3996e88)
Why did you deprecate GCC? #26 0x00007ff6d35ab6f1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x39bb6f1)
Why is native code compiled with -fno-strict-aliasing? #27 0x00007ff6d2fde684 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ee684)
Unable to use Clang as part of Android Studio #28 0x00007ff6d2fdd2a1 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x33ed2a1)
r11b: ndk-which dosen't work #29 0x00007ff6d2504bce (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2914bce)
Missing 64 bit FILE stream functions #30 0x00007ff6d1130374 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1540374)
armeabi libatomic.a uses ifuncs #31 0x00007ff6d02b9da0 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6c9da0)
clang doesn't make the difference between UL & ULL sufixes #32 0x00007ff6d0334473 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x744473)
Cannot find module with tag 'cpufeatures' in import path #33 0x00007ff6cfbf6482 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6482)
clang doesn't export explicit specializations function templates #34 0x00007ff6cfbf4661 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4661)
Arm gdb missing #35 0x00007ff6d0f44156 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1354156)
ndk r11b __cxxabi_config still missing #36 0x00007ff6d0167d11 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x577d11)
Issues with autoconf & libtool #37 0x00007ff6d0f43bf4 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1353bf4)
Clang toolchains are still named *-clang3.6 #38 0x00007ff6d0282424 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x692424)
libc++_shared (both hard float abi variants) fail to load properly #39 0x00007ff6d0282809 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x692809)
No way of detecting the exact version of the NDK programmatically #40 0x00007ff6d0295786 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6a5786)
make-standalone-toolchain.sh doesn't work with Cygwin #41 0x00007ff6cfbf3dcd (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3dcd)
ndk r11b libc.so files don't contain all the symbols that r10e libc.so files did #42 0x00007ff6cfbf1395 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1395)
r11 clang: undefined reference to 'dladdr' #43 0x00007ff6cfbf14c8 (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x14c8)
r11 clang: undefined reference to 'isnan' '__isinf' #44 0x00007ffd1a65257d (C:\Windows\System32\KERNEL32.DLL+0x1257d)
Invalid toolchain path for Windows x86 #45 0x00007ffd1bf0aa48 (C:\Windows\SYSTEM32\ntdll.dll+0x5aa48)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android22
Thread model: posix
InstalledDir: C:/Android/SDK/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin
clang++: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\olekk\AppData\Local\Temp\r4h2qj8y89242-8ece50.cpp
clang++: note: diagnostic msg: C:\Users\olekk\AppData\Local\Temp\r4h2qj8y89242-8ece50.sh
clang++: note: diagnostic msg:
`
Error 4:
`Building Library\Bee\artifacts\Android\87lik\jh0g3my9yqdk.o failed with output:
PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: C:/Android/SDK/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -march=armv8-a -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -faddrsig -mllvm -hoist-common-insts=1 -DANDROID -DHAVE_INTTYPES_H -no-canonical-prefixes -funwind-tables -fstack-protector -fomit-frame-pointer -std=c++11 -Wswitch -Wno-trigraphs -Wno-tautological-compare -Wno-invalid-offsetof -Wno-implicitly-unsigned-literal -Wno-integer-overflow -Wno-shift-negative-value -Wno-unknown-attributes -Wno-implicit-function-declaration -Wno-null-conversion -Wno-missing-declarations -Wno-unused-value -Wno-pragma-once-outside-header -fvisibility=hidden -fexceptions -fno-rtti -g -Os -fPIC -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DTARGET_ARM64 -DGC_NOT_DLL -DIL2CPP_DEFAULT_DATA_DIR_PATH=Data -DNDEBUG -I. "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/bdwgc/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/pch" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.21f1/Editor/Data/il2cpp/external/baselib/Platforms/Android/Include" -o Library/Bee/artifacts/Android/87lik/jh0g3my9yqdk.o -fcolor-diagnostics -fdiagnostics-absolute-paths -target aarch64-linux-android22 -fstrict-aliasing -fdiagnostics-format=msvc -c -x c++ Library/Bee/artifacts/Android/87lik/r4h2qj8y89242.lump.cpp
#0 0x00007ff6cfe0f53f (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x21f53f)
Clang3.8 cross-compile linker issues libc (undefined references) #1 0x00007ff6cfe1293b (C:\Android\SDK\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x22293b)
`
Affected versions
r26
Canary version
No response
Host OS
Windows
Host OS version
10.0.22631 N/A Build 22631
Affected ABIs
x86_64
Build system
ndk-build
Other build system
No response
minSdkVersion
44
Device API level
No response
The text was updated successfully, but these errors were encountered: