Build command failed. Error while executing process C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\Paphatadthansawan\ppsspp\android\.externalNativeBuild\cmake\normalOptimized\armeabi-v7a --target ppsspp_jni} [1/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_source_zip.c.o [2/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_unchange_all.c.o [3/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_stat_init.c.o [4/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_unchange.c.o [5/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_stat_index.c.o [6/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_source_function.c.o [7/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_stat.c.o [8/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_strerror.c.o [9/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_unchange_archive.c.o [10/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_get_file_comment.c.o [11/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_set_archive_comment.c.o [12/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_get_archive_flag.c.o [13/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_get_num_files.c.o [14/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_name_locate.c.o [15/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_get_archive_comment.c.o [16/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_new.c.o [17/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_get_name.c.o [18/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_rename.c.o [19/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_open.c.o [20/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_replace.c.o [21/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_memdup.c.o [22/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_set_archive_flag.c.o [23/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_source_file.c.o [24/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_source_free.c.o [25/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_source_filep.c.o [26/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_source_buffer.c.o [27/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_set_name.c.o [28/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_set_file_comment.c.o [29/627] Building C object CMakeFiles/kirk.dir/ext/libkirk/ec.c.o [30/627] Building CXX object CMakeFiles/cityhash.dir/ext/native/ext/cityhash/city.cpp.o [31/627] Building CXX object CMakeFiles/rg_etc1.dir/ext/native/ext/rg_etc1/rg_etc1.cpp.o [32/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/png.c.o [33/627] Building C object CMakeFiles/kirk.dir/ext/libkirk/SHA1.c.o [34/627] Building C object CMakeFiles/libzip.dir/ext/native/ext/libzip/zip_unchange_data.c.o [35/627] Building C object CMakeFiles/kirk.dir/ext/libkirk/kirk_engine.c.o [36/627] Building CXX object CMakeFiles/gason.dir/ext/native/ext/gason/gason.cpp.o [37/627] Building C object CMakeFiles/kirk.dir/ext/libkirk/amctrl.c.o [38/627] Building C object CMakeFiles/kirk.dir/ext/libkirk/AES.c.o [39/627] Linking CXX static library libgason.a [40/627] Linking CXX static library libcityhash.a [41/627] Building C object CMakeFiles/kirk.dir/ext/libkirk/bn.c.o [42/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngmem.c.o [43/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngget.c.o [44/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngtrans.c.o [45/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngwrite.c.o [46/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngrutil.c.o [47/627] Linking C static library libkirk.a [48/627] Linking CXX static library librg_etc1.a [49/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngerror.c.o [50/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngrio.c.o [51/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngwtran.c.o [52/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngread.c.o [53/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngset.c.o [54/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngpread.c.o [55/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngwio.c.o [56/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngrtran.c.o [57/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/pngwutil.c.o [58/627] Building ASM object CMakeFiles/png17.dir/ext/native/ext/libpng17/arm/filter_neon.S.o [59/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/arm/arm_init.c.o [60/627] Building C object CMakeFiles/png17.dir/ext/native/ext/libpng17/arm/filter_neon_intrinsics.c.o [61/627] Building CXX object CMakeFiles/xbrz.dir/ext/xbrz/xbrz.cpp.o [62/627] Building C object CMakeFiles/xxhash.dir/ext/xxhash.c.o [63/627] Building C object CMakeFiles/sfmt19937.dir/ext/sfmt19937/SFMT.c.o [64/627] Building CXX object ext/glslang/OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.o [65/627] Linking C static library libxxhash.a In file included from C:\Users\Paphatadthansawan\ppsspp\ext\sfmt19937\SFMT.c:26: In file included from ../../../../../ext/sfmt19937/SFMT.h:69: ../../../../../ext/sfmt19937/SFMT-params.h:7:4: warning: "SFMT_MEXP is not defined. I assume MEXP is 19937." [-W#warnings] #warning "SFMT_MEXP is not defined. I assume MEXP is 19937." ^ 1 warning generated. [66/627] Linking C static library libsfmt19937.a [67/627] Building CXX object ext/glslang/glslang/OSDependent/Unix/CMakeFiles/OSDependent.dir/ossource.cpp.o [68/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslTokenStream.cpp.o [69/627] Building CXX object ext/glslang/SPIRV/CMakeFiles/SPVRemapper.dir/SPVRemapper.cpp.o [70/627] Linking CXX static library ext\glslang\glslang\OSDependent\Unix\libOSDependent.a [71/627] Linking CXX static library ext\glslang\OGLCompilersDLL\libOGLCompiler.a [72/627] Linking C static library libpng17.a [73/627] Building CXX object ext/snappy/CMakeFiles/snappy.dir/snappy-c.cpp.o [74/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslParseHelper.cpp.o [75/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslGrammar.cpp.o [76/627] Building CXX object ext/glslang/SPIRV/CMakeFiles/SPVRemapper.dir/doc.cpp.o [77/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslParseables.cpp.o [78/627] Building CXX object ext/snappy/CMakeFiles/snappy.dir/snappy.cpp.o [79/627] Linking CXX static library ext\snappy\libsnappy.a [80/627] Building C object ext/udis86/CMakeFiles/udis86.dir/decode.c.o [81/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslAttributes.cpp.o [82/627] Building C object ext/udis86/CMakeFiles/udis86.dir/syn-intel.c.o [83/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslOpMap.cpp.o [84/627] Building C object ext/udis86/CMakeFiles/udis86.dir/udis86.c.o [85/627] Building CXX object ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslScanContext.cpp.o [86/627] Building C object ext/udis86/CMakeFiles/udis86.dir/syn-att.c.o [87/627] Building C object ext/udis86/CMakeFiles/udis86.dir/itab.c.o [88/627] Building C object ext/udis86/CMakeFiles/udis86.dir/syn.c.o [89/627] Building CXX object ext/discord-rpc-build/CMakeFiles/discord-rpc.dir/__/discord-rpc/src/serialization.cpp.o [90/627] Linking C static library ext\udis86\libudis86.a [91/627] Building CXX object ext/discord-rpc-build/CMakeFiles/discord-rpc.dir/__/discord-rpc/src/rpc_connection.cpp.o [92/627] Linking CXX static library libxbrz.a [93/627] Building CXX object ext/SPIRV-Cross-build/CMakeFiles/spirv-cross-core.dir/__/SPIRV-Cross/spirv_cfg.cpp.o [94/627] Building CXX object ext/SPIRV-Cross-build/CMakeFiles/spirv-cross-core.dir/__/SPIRV-Cross/spirv_cross_util.cpp.o [95/627] Building CXX object ext/SPIRV-Cross-build/CMakeFiles/spirv-cross-core.dir/__/SPIRV-Cross/spirv_cross.cpp.o [96/627] Linking CXX static library ext\glslang\SPIRV\libSPVRemapper.a [97/627] Building CXX object ext/discord-rpc-build/CMakeFiles/discord-rpc.dir/__/discord-rpc/src/discord_rpc.cpp.o [98/627] Building CXX object ext/discord-rpc-build/CMakeFiles/discord-rpc.dir/__/discord-rpc/src/discord_register_linux.cpp.o [99/627] Building CXX object ext/discord-rpc-build/CMakeFiles/discord-rpc.dir/__/discord-rpc/src/connection_unix.cpp.o [100/627] Building CXX object CMakeFiles/Common.dir/Common/MipsEmitter.cpp.o [101/627] Building C object CMakeFiles/zlib.dir/ext/zlib/zutil.c.o [102/627] Building CXX object CMakeFiles/Common.dir/Common/CPUDetect.cpp.o [103/627] Building CXX object CMakeFiles/Common.dir/Common/ABI.cpp.o [104/627] Building CXX object CMakeFiles/Common.dir/Common/x64Analyzer.cpp.o [105/627] Building CXX object CMakeFiles/Common.dir/Common/x64Emitter.cpp.o [106/627] Building C object CMakeFiles/zlib.dir/ext/zlib/trees.c.o [107/627] Building CXX object CMakeFiles/Common.dir/Core/Util/DisArm64.cpp.o [108/627] Building CXX object CMakeFiles/Common.dir/Common/ColorConvNEON.cpp.o [109/627] Linking CXX static library ext\discord-rpc-build\libdiscord-rpc.a [110/627] Building CXX object CMakeFiles/Common.dir/Common/Thunk.cpp.o [111/627] Building CXX object CMakeFiles/Common.dir/Common/Arm64Emitter.cpp.o [112/627] Building C object CMakeFiles/zlib.dir/ext/zlib/uncompr.c.o [113/627] Building CXX object CMakeFiles/Common.dir/Common/ArmEmitter.cpp.o [114/627] Building CXX object CMakeFiles/Common.dir/Common/MipsCPUDetect.cpp.o [115/627] Building CXX object CMakeFiles/Common.dir/Common/ArmCPUDetect.cpp.o [116/627] Building C object CMakeFiles/zlib.dir/ext/zlib/gzwrite.c.o C:\Users\Paphatadthansawan\ppsspp\ext\zlib\gzwrite.c:84:15: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] got = write(state->fd, strm->next_in, strm->avail_in); ^ C:\Users\Paphatadthansawan\ppsspp\ext\zlib\gzwrite.c:101:33: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (have && ((got = write(state->fd, state->x.next, have)) < 0 || ^ C:\Users\Paphatadthansawan\ppsspp\ext\zlib\gzwrite.c:573:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (close(state->fd) == -1) ^ 3 warnings generated. [117/627] Building C object CMakeFiles/zlib.dir/ext/zlib/inflate.c.o C:\Users\Paphatadthansawan\ppsspp\ext\zlib\inflate.c:1507:61: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; ~~~ ^ 1 warning generated. [118/627] Building C object CMakeFiles/zlib.dir/ext/zlib/inffast.c.o [119/627] Building C object CMakeFiles/zlib.dir/ext/zlib/infback.c.o [120/627] Building C object CMakeFiles/zlib.dir/ext/zlib/inftrees.c.o [121/627] Building C object CMakeFiles/zlib.dir/ext/zlib/adler32.c.o FAILED: C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi16 --gcc-toolchain=C:/Users/Paphatadthansawan/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/Paphatadthansawan/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -DAMD_EXTENSIONS -DENABLE_HLSL -DENABLE_OPT=0 -DGLSLANG_OSINCLUDE_UNIX -DMOBILE_DEVICE -DNV_EXTENSIONS -DUSING_GLES2 -D__STDC_CONSTANT_MACROS -I../../../../../ext/native -I../../../../../ -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -mfpu=neon -Wa,--noexecstack -Wformat -Werror=format-security -std=gnu++11 -Wno-switch -Wno-uninitialized -Oz -DNDEBUG -O3 -D_NDEBUG -fPIC -Wno-multichar -Wno-deprecated-register -fsigned-char -mfpu=neon -include C:/Users/Paphatadthansawan/ppsspp/ppsspp_config.h -fno-strict-aliasing -Wall -Wuninitialized -Wunused -Wunused-local-typedefs -Wunused-parameter -Wunused-value -Wunused-variable -Wno-reorder -std=c++11 -MD -MT ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslParseHelper.cpp.o -MF ext\glslang\hlsl\CMakeFiles\HLSL.dir\hlslParseHelper.cpp.o.d -o ext/glslang/hlsl/CMakeFiles/HLSL.dir/hlslParseHelper.cpp.o -c C:\Users\Paphatadthansawan\ppsspp\ext\glslang\hlsl\hlslParseHelper.cpp LLVMSymbolizer: error reading file: 'kernel32.pdb': LLVM was not compiled with support for DIA. This usually means that you are not using MSVC, or your Visual Studio installation is corrupt. LLVMSymbolizer: error reading file: 'ntdll.pdb': LLVM was not compiled with support for DIA. This usually means that you are not using MSVC, or your Visual Studio installation is corrupt. #0 0x0000000000af4c27 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6f4c27) #1 0x0000000000b63b65 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x763b65) #2 0x0000000000b6657c (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x76657c) #3 0x0000000000b69696 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x769696) #4 0x0000000000b18d3d (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x718d3d) #5 0x0000000000d31977 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x931977) #6 0x0000000000d31c03 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x931c03) #7 0x0000000000d32359 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x932359) #8 0x0000000001210d7c (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0xe10d7c) #9 0x0000000002d30942 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2930942) #10 0x0000000001ee1c34 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1ae1c34) #11 0x000000000190c1f6 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x150c1f6) #12 0x00000000015ecd76 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x11ecd76) #13 0x00000000015c6b65 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x11c6b65) #14 0x000000000166e401 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x126e401) #15 0x0000000000402fac (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2fac) #16 0x0000000002f9e8dd (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x2b9e8dd) #17 0x0000000000401395 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1395) #18 0x00000000004014c8 (C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x14c8) #19 0x00007ffec9eb7e94 (C:\WINDOWS\System32\KERNEL32.DLL+0x17e94) #20 0x00007ffecbada251 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6a251) clang++: error: clang frontend command failed due to signal (use -v to see invocation) Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn) Target: armv7-none-linux-android16 Thread model: posix InstalledDir: C:\Users\Paphatadthansawan\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin clang++: note: diagnostic msg: PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script. 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\PAPHAT~1\AppData\Local\Temp\hlslParseHelper-566d83.cpp clang++: note: diagnostic msg: C:\Users\PAPHAT~1\AppData\Local\Temp\hlslParseHelper-566d83.sh clang++: note: diagnostic msg: ******************** ninja: build stopped: subcommand failed.