Skip to content

Instantly share code, notes, and snippets.

@zumoshi

zumoshi/log.txt Secret

Created July 13, 2021 18:43
Show Gist options
  • Save zumoshi/6a0dee361a1293820f7fae102b3c85fa to your computer and use it in GitHub Desktop.
Save zumoshi/6a0dee361a1293820f7fae102b3c85fa to your computer and use it in GitHub Desktop.
Sentry Native Sdk build mingw64 fail
bor@BorTower MINGW64 /b
$ git clone --recurse-submodules https://github.com/getsentry/sentry-native.git
Cloning into 'sentry-native'...
remote: Enumerating objects: 5143, done.
remote: Counting objects: 100% (411/411), done.
remote: Compressing objects: 100% (236/236), done.
remote: Total 5143 (delta 219), reused 298 (delta 160), pack-reused 4732
Receiving objects: 100% (5143/5143), 2.34 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (3556/3556), done.
Submodule 'external/breakpad' (https://github.com/getsentry/breakpad.git) registered for path 'external/breakpad'
Submodule 'external/crashpad' (https://github.com/getsentry/crashpad.git) registered for path 'external/crashpad'
Submodule 'external/libunwindstack-ndk' (https://github.com/getsentry/libunwindstack-ndk) registered for path 'external/libunwindstack-ndk'
Submodule 'external/third_party/lss' (https://chromium.googlesource.com/linux-syscall-support) registered for path 'external/third_party/lss'
Cloning into '/b/sentry-native/external/breakpad'...
remote: Enumerating objects: 19744, done.
remote: Counting objects: 100% (241/241), done.
remote: Compressing objects: 100% (136/136), done.
remote: Total 19744 (delta 117), reused 177 (delta 100), pack-reused 19503
Receiving objects: 100% (19744/19744), 40.89 MiB | 1.00 MiB/s, done.
Resolving deltas: 100% (15468/15468), done.
Cloning into '/b/sentry-native/external/crashpad'...
remote: Enumerating objects: 19796, done.
remote: Counting objects: 100% (657/657), done.
remote: Compressing objects: 100% (369/369), done.
remote: Total 19796 (delta 331), reused 470 (delta 287), pack-reused 19139
Receiving objects: 100% (19796/19796), 8.17 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (14552/14552), done.
Cloning into '/b/sentry-native/external/libunwindstack-ndk'...
remote: Enumerating objects: 1528, done.
remote: Counting objects: 100% (122/122), done.
remote: Compressing objects: 100% (94/94), done.
remote: Total 1528 (delta 39), reused 60 (delta 17), pack-reused 1406
Receiving objects: 100% (1528/1528), 838.43 KiB | 970.00 KiB/s, done.
Resolving deltas: 100% (1012/1012), done.
Cloning into '/b/sentry-native/external/third_party/lss'...
remote: Total 221 (delta 135), reused 221 (delta 135)
Receiving objects: 100% (221/221), 188.54 KiB | 523.00 KiB/s, done.
Resolving deltas: 100% (135/135), done.
Submodule path 'external/breakpad': checked out 'ba407b2ff475e93a8d325ae20e8777befd0c5c43'
Submodule path 'external/crashpad': checked out '5cf3032b2281cf0928acc8bccf69f91ccf26b939'
Submodule 'third_party/lss/lss' (https://chromium.googlesource.com/linux-syscall-support) registered for path 'external/crashpad/third_party/lss/lss'
Submodule 'third_party/mini_chromium/mini_chromium' (https://chromium.googlesource.com/chromium/mini_chromium) registered for path 'external/crashpad/third_party/mini_chromium/mini_chromium'
Submodule 'third_party/zlib/zlib' (https://chromium.googlesource.com/chromium/src/third_party/zlib) registered for path 'external/crashpad/third_party/zlib/zlib'
Cloning into '/b/sentry-native/external/crashpad/third_party/lss/lss'...
remote: Total 221 (delta 135), reused 221 (delta 135)
Receiving objects: 100% (221/221), 188.54 KiB | 245.00 KiB/s, done.
Resolving deltas: 100% (135/135), done.
Cloning into '/b/sentry-native/external/crashpad/third_party/mini_chromium/mini_chromium'...
remote: Total 1905 (delta 930), reused 1905 (delta 930)
Receiving objects: 100% (1905/1905), 912.38 KiB | 912.00 KiB/s, done.
Resolving deltas: 100% (930/930), done.
Cloning into '/b/sentry-native/external/crashpad/third_party/zlib/zlib'...
remote: Total 1978 (delta 1182), reused 1978 (delta 1182)
Receiving objects: 100% (1978/1978), 1022.43 KiB | 924.00 KiB/s, done.
Resolving deltas: 100% (1182/1182), done.
Submodule path 'external/crashpad/third_party/lss/lss': checked out '7bde79cc274d06451bf65ae82c012a5d3e476b5a'
Submodule path 'external/crashpad/third_party/mini_chromium/mini_chromium': checked out '2470faf722b0fd259ca11c045fdb370e09037c4e'
Submodule path 'external/crashpad/third_party/zlib/zlib': checked out '13dc246a58e4b72104d35f9b1809af95221ebda7'
Submodule path 'external/libunwindstack-ndk': checked out 'a4c27d48deff95fe922fe9733ef5c1339bdbf4fb'
Submodule path 'external/third_party/lss': checked out '171a36a8e0d1e456f63d342a09f811f9273a64af'
bor@BorTower MINGW64 /b
$ cd sentry-native/
bor@BorTower MINGW64 /b/sentry-native
$ export MINGW_ROOT=C:/msys64/mingw64
bor@BorTower MINGW64 /b/sentry-native
$ pacman -S --needed - < ./toolchains/msys2-mingw64-pkglist.txt
warning: mingw-w64-x86_64-uasm-2.53.r668.8f8feb7-1 is up to date -- skipping
warning: mingw-w64-x86_64-clang-12.0.0-8 is up to date -- skipping
warning: mingw-w64-x86_64-lld-12.0.0-8 is up to date -- skipping
warning: mingw-w64-x86_64-ninja-1.10.2-1 is up to date -- skipping
warning: mingw-w64-x86_64-cmake-3.20.5-3 is up to date -- skipping
there is nothing to do
bor@BorTower MINGW64 /b/sentry-native
$ cmake -GNinja -Bbuild -H. -DCMAKE_TOOLCHAIN_FILE=toolchains/msys2.cmake
-- The C compiler identification is Clang 12.0.0
-- The CXX compiler identification is Clang 12.0.0
-- The ASM compiler identification is Clang
-- Found assembler: C:/msys64/mingw64/bin/clang.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- SENTRY_TRANSPORT=winhttp
-- SENTRY_BACKEND=crashpad
-- SENTRY_LIBRARY_TYPE=SHARED
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long
-- Check size of long - done
-- Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version "1.2.11")
-- The ASM_MASM compiler identification is unknown
-- Found assembler: C:/msys64/mingw64/bin/uasm.exe
-- Configuring done
-- Generating done
-- Build files have been written to: B:/sentry-native/build
bor@BorTower MINGW64 /b/sentry-native
$ ninja -C build
ninja: Entering directory `build'
[1/295] Linking CXX static library crashpad_build\compat\libcrashpad_compat.a
[2/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_extensions.cc.obj
[3/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_byte_array_writer.cc.obj
[4/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_context_writer.cc.obj
[5/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_crashpad_info_writer.cc.obj
[6/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_exception_writer.cc.obj
[7/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_annotation_writer.cc.obj
[8/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_memory_writer.cc.obj
[9/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_misc_info_writer.cc.obj
[10/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_file_writer.cc.obj
[11/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_memory_info_writer.cc.obj
[12/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_stream_writer.cc.obj
[13/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_string_writer.cc.obj
[14/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_handle_writer.cc.obj
[15/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_module_crashpad_info_writer.cc.obj
[16/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_thread_id_map.cc.obj
[17/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_rva_list_writer.cc.obj
[18/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_simple_string_dictionary_writer.cc.obj
[19/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_system_info_writer.cc.obj
[20/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_user_stream_writer.cc.obj
[21/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_writer_util.cc.obj
[22/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_user_extension_stream_data_source.cc.obj
[23/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_module_writer.cc.obj
[24/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/annotation_snapshot.cc.obj
[25/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_unloaded_module_writer.cc.obj
[26/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_writable.cc.obj
[27/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/handle_snapshot.cc.obj
[28/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/minidump_context_converter.cc.obj
[29/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/crashpad_info_client_options.cc.obj
[30/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/capture_memory.cc.obj
[31/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/minidump_string_list_reader.cc.obj
[32/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/memory_snapshot.cc.obj
[33/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/minidump_string_reader.cc.obj
[34/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/cpu_context.cc.obj
[35/295] Building CXX object crashpad_build/minidump/CMakeFiles/crashpad_minidump.dir/minidump_thread_writer.cc.obj
[36/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/minidump_simple_string_dictionary_reader.cc.obj
[37/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/minidump_annotation_reader.cc.obj
[38/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/exception_snapshot_minidump.cc.obj
[39/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/memory_snapshot_minidump.cc.obj
[40/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/system_snapshot_win.cc.obj
[41/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/thread_snapshot_win.cc.obj
[42/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/unloaded_module_snapshot.cc.obj
[43/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/system_snapshot_minidump.cc.obj
[44/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/thread_snapshot_minidump.cc.obj
[45/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/module_snapshot_minidump.cc.obj
[46/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/cpu_context_win.cc.obj
[47/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/capture_memory_delegate_win.cc.obj
[48/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/minidump/process_snapshot_minidump.cc.obj
[49/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/exception_snapshot_win.cc.obj
[50/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/memory_map_region_snapshot_win.cc.obj
[51/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/crashpad_types/crashpad_info_reader.cc.obj
[52/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/process_reader_win.cc.obj
[53/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/pe_image_annotations_reader.cc.obj
[54/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/pe_image_resource_reader.cc.obj
[55/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/pe_image_reader.cc.obj
[56/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/process_subrange_reader.cc.obj
[57/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/zlib.cc.obj
[58/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/net/http_body_gzip.cc.obj
[59/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/net/http_body.cc.obj
[60/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/uuid.cc.obj
[61/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/module_snapshot_win.cc.obj
[62/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/file_helper.cc.obj
[63/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/file_io.cc.obj
[64/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/delimited_file_reader.cc.obj
[65/295] Building CXX object crashpad_build/snapshot/CMakeFiles/crashpad_snapshot.dir/win/process_snapshot_win.cc.obj
[66/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/net/http_multipart_builder.cc.obj
[67/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/scoped_remove_file.cc.obj
[68/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/file_reader.cc.obj
[69/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/file_seeker.cc.obj
[70/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/initialization_state_dcheck.cc.obj
[71/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/random_string.cc.obj
[72/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/lexing.cc.obj
[73/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/range_set.cc.obj
[74/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/reinterpret_bytes.cc.obj
[75/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/scoped_forbid_return.cc.obj
[76/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/file_writer.cc.obj
[77/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/output_stream_file_writer.cc.obj
[78/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/metrics.cc.obj
[79/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/string_file.cc.obj
[80/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/net/url.cc.obj
[81/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/pdb_structures.cc.obj
[82/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stdlib/strnlen.cc.obj
[83/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/process/process_memory.cc.obj
[84/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/numeric/checked_address_range.cc.obj
[85/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/time.cc.obj
[86/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stdlib/string_number_conversion.cc.obj
[87/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stdlib/aligned_allocator.cc.obj
[88/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stdlib/strlcpy.cc.obj
[89/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/process/process_memory_range.cc.obj
[90/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stream/log_output_stream.cc.obj
[91/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/string/split_string.cc.obj
[92/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/net/http_transport.cc.obj
[93/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stream/base94_output_stream.cc.obj
[94/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stream/zlib_output_stream.cc.obj
[95/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stream/file_encoder.cc.obj
[96/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/thread/thread.cc.obj
[97/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/stream/file_output_stream.cc.obj
[98/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/thread/worker_thread.cc.obj
[99/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/directory_reader_win.cc.obj
[100/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/file_io_win.cc.obj
[101/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/file/filesystem_win.cc.obj
[102/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/thread/thread_log_messages.cc.obj
[103/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/clock_win.cc.obj
[104/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/command_line.cc.obj
[105/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/time_win.cc.obj
[106/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/paths_win.cc.obj
[107/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/synchronization/semaphore_win.cc.obj
[108/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/initial_client_data.cc.obj
[109/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/process/process_memory_win.cc.obj
[110/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/thread/thread_win.cc.obj
[111/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/get_module_information.cc.obj
[112/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/net/http_transport_win.cc.obj
[113/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/critical_section_with_debug_info.cc.obj
[114/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/exception_handler_server.cc.obj
[115/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/handle.cc.obj
[116/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/get_function.cc.obj
[117/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/loader_lock.cc.obj
[118/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/nt_internals.cc.obj
[119/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/ntstatus_logging.cc.obj
[120/295] Building ASM_MASM object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/safe_terminate_process.asm.obj
UASM v2.53, May 26 2021, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
safe_terminate_process.asm: 74 lines, 2 passes, 3 ms, 0 warnings, 0 errors
[121/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/scoped_local_alloc.cc.obj
[122/295] Building ASM_MASM object crashpad_build/util/CMakeFiles/crashpad_util.dir/misc/capture_context_win.asm.obj
UASM v2.53, May 26 2021, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
capture_context_win.asm: 528 lines, 2 passes, 5 ms, 0 warnings, 0 errors
[123/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/debug/alias.cc.obj
[124/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/scoped_process_suspend.cc.obj
[125/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/module_version.cc.obj
[126/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/session_end_watcher.cc.obj
[127/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/registration_protocol_win.cc.obj
[128/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/process/memory.cc.obj
[129/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/scoped_handle.cc.obj
[130/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/scoped_set_event.cc.obj
[131/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/third_party/icu/icu_utf.cc.obj
[132/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/files/file_path.cc.obj
[133/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/stringprintf.cc.obj
[134/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/files/scoped_file.cc.obj
[135/295] Building CXX object crashpad_build/util/CMakeFiles/crashpad_util.dir/win/process_info.cc.obj
[136/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/string_number_conversions.cc.obj
[137/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/process/process_metrics_win.cc.obj
[138/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/utf_string_conversions.cc.obj
[139/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/utf_string_conversion_utils.mingw.cc.obj
FAILED: crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/utf_string_conversion_utils.mingw.cc.obj
C:\msys64\mingw64\bin\clang++.exe -DCRASHPAD_LSS_SOURCE_EMBEDDED -I../external/crashpad/third_party/mini_chromium/mini_chromium -I../external/crashpad/third_party/mini_chromium -I../external/crashpad -fuse-ld=lld -O3 -g -DNDEBUG -municode -Wno-format -Wno-unknown-pragmas -std=gnu++14 -MD -MT crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/utf_string_conversion_utils.mingw.cc.obj -MF crashpad_build\third_party\mini_chromium\CMakeFiles\mini_chromium.dir\utf_string_conversion_utils.mingw.cc.obj.d -o crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/utf_string_conversion_utils.mingw.cc.obj -c ../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:24:33: error: unknown type name 'char16'
bool ReadUnicodeCharacter(const char16* src,
^
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:61:51: error: unknown type name 'string16'
size_t WriteUnicodeCharacter(uint32_t code_point, string16* output) {
^
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:63:35: error: unknown type name 'char16'
output->push_back(static_cast<char16>(code_point));
^
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:103:62: error: unknown type name 'string16'
template void PrepareForUTF16Or32Output(const char*, size_t, string16*);
^
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:93:9: error: member reference base type 'int' is not a structure or union
output->clear();
~~~~~~^ ~~~~~
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:103:15: note: in instantiation of function template specialization 'base::PrepareForUTF16Or32Output<int>' requested here
template void PrepareForUTF16Or32Output(const char*, size_t, string16*);
^
../external/crashpad/third_party/mini_chromium/utf_string_conversion_utils.mingw.cc:97:11: error: member reference base type 'int' is not a structure or union
output->reserve(src_len);
~~~~~~^ ~~~~~~~
6 errors generated.
[140/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/logging.cc.obj
[141/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/rand_util.cc.obj
[142/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/scoped_clear_last_error_win.cc.obj
[143/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/string_util_win.cc.obj
[144/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/synchronization/lock.cc.obj
[145/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/synchronization/lock_impl_win.cc.obj
[146/295] Building CXX object crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/threading/thread_local_storage.cc.obj
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment