Problem with building of CEF for ARM64 branch: 4183

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Problem with building of CEF for ARM64 branch: 4183

Postby JozefK » Tue Feb 23, 2021 12:58 pm

Hi, I'm trying to build CEF for ARM64 (cross compilation on Win10)
Branch: 85.3.9+gb045a6e+chromium-85.0.4183.102

I have compatible depot_tools for mentioned CEF branch.
Im getting compilation errors for 3rd party library 'crashpad'. Seems like file
...src\third_party\crashpad\crashpad\snapshot\win\system_snapshot_win.cc
is included in build and ARCH_CPU_ARM64 is defined.


My commandline:
Code: Select all
"python2.exe" automate-git.py --download-dir=D:\cef3\cef3\BuildScript\internal-build --branch=4183 --checkout=b045a6e --no-distrib-archive --no-depot-tools-update --depot-tools-dir="..\depot_tools" --no-debug-build --force-clean --arm64-build --build-target=cefsimple


Code: Select all
[15:00:12] :    [Step 1/3] [22303/64455] CXX obj/third_party/crashpad/crashpad/snapshot/snapshot/system_snapshot_win.obj
[15:00:12] :    [Step 1/3] FAILED: obj/third_party/crashpad/crashpad/snapshot/snapshot/system_snapshot_win.obj
[15:00:12] :    [Step 1/3] ..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes:user "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -DUSE_AURA=1 -DOFFICIAL_BUILD "-DCR_CLANG_REVISION=\"n356902-4e813bbd-1\"" -D_HAS_NODISCARD -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_NO_AUTO_LINK -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOPENSSL_NO_ASM -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -I../.. -Igen -I../../third_party/crashpad/crashpad -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/win -I../../third_party/crashpad/crashpad/compat/non_elf -I../../third_party/zlib /wd4201 -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /guard:cf,nochecks --target=arm64-windows /Brepro -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /W4 -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -Xclang -debug-info-kind=constructor /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-trigraphs /TP /wd4577 /GR- -I../../buildtools/third_party/libc++/trunk/include /c ../../third_party/crashpad/crashpad/snapshot/win/system_snapshot_win.cc /Foobj/third_party/crashpad/crashpad/snapshot/snapshot/system_snapshot_win.obj /Fd"obj/third_party/crashpad/crashpad/snapshot/snapshot_cc.pdb"
[15:00:12] :    [Step 1/3] ../../third_party/crashpad/crashpad/snapshot/win/system_snapshot_win.cc(274,3): error: use of undeclared identifier 'NOTREACHED'
[15:00:12] :    [Step 1/3]   NOTREACHED();
[15:00:12] :    [Step 1/3]   ^
[15:00:12] :    [Step 1/3] ../../third_party/crashpad/crashpad/snapshot/win/system_snapshot_win.cc(289,3): error: use of undeclared identifier 'NOTREACHED'
[15:00:12] :    [Step 1/3]   NOTREACHED();
[15:00:12] :    [Step 1/3]   ^
[15:00:12] :    [Step 1/3] ../../third_party/crashpad/crashpad/snapshot/win/system_snapshot_win.cc(305,3): error: use of undeclared identifier 'NOTREACHED'
[15:00:12] :    [Step 1/3]   NOTREACHED();
[15:00:12] :    [Step 1/3]   ^
[15:00:12] :    [Step 1/3] ../../third_party/crashpad/crashpad/snapshot/win/system_snapshot_win.cc(324,3): error: use of undeclared identifier 'NOTREACHED'
[15:00:12] :    [Step 1/3]   NOTREACHED();
[15:00:12] :    [Step 1/3]   ^
[15:00:12] :    [Step 1/3] ../../third_party/crashpad/crashpad/snapshot/win/system_snapshot_win.cc(355,3): error: use of undeclared identifier 'NOTREACHED'
[15:00:12] :    [Step 1/3]   NOTREACHED();
[15:00:12] :    [Step 1/3]   ^
[15:00:12] :    [Step 1/3] 5 errors generated.
[15:00:12] :    [Step 1/3] [22304/64455] CXX obj/third_party/crashpad/crashpad/snapshot/snapshot/system_snapshot_minidump.obj


Appreciate any help. Thank you.
J.
JozefK
Techie
 
Posts: 20
Joined: Mon Feb 27, 2017 3:24 pm

Re: Problem with building of CEF for ARM64 branch: 4183

Postby magreenblatt » Tue Feb 23, 2021 1:52 pm

Building Windows ARM64 is only supported starting with M88.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: Problem with building of CEF for ARM64 branch: 4183

Postby JozefK » Tue Feb 23, 2021 1:56 pm

Thank you Marshall for your quick and clear reply. You saved me a lot of headache. Thanks.
JozefK
Techie
 
Posts: 20
Joined: Mon Feb 27, 2017 3:24 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 28 guests