Compilation issues for CEF 89 under Windows 10 x64

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.

Re: Compilation issues for CEF 89 under Windows 10 x64

Postby Phylanx » Fri May 20, 2022 12:57 am

Hi!

Somehow I got blocked by spamhouse.org, don't know how and why...
I wrote PMs with Marshall and am posting the communication here for completeness.

This was the answer I wanted to post:

We want to build CEF 32 bit binaries to use them for JCEFs Java integration.
If both of them would work then we will think about using the dev build settings (if they have significant benefits, e.g. build faster, provide more debug infos, build runs through,...) for development.
Otherwise we will use the release options for our dev builds also (we try to be the closest to the customers installation as possible).

Marshall answered:

Somehow I got blocked by spamhouse.org, don't know how and why...
Is there anything you can do to unblock us?


You should be able to contact spamhouse.org and report the false positive.

We want to build CEF 32 bit binaries to use them for JCEFs Java integration.


You should use the official release build configuration in that case.
Phylanx
Expert
 
Posts: 201
Joined: Thu Aug 11, 2016 8:17 am

Re: Compilation issues for CEF 89 under Windows 10 x64

Postby Phylanx » Fri May 20, 2022 1:16 am

I started a build yesterday with adding the following environment variable:

Code: Select all
set GN_DEFINES=is_official_build=true use_thin_lto=false


Build failed with another message:
Code: Select all
[26688/40614] ..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes:user "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include" "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" -DZLIB_CONST -DUSE_AURA=1 -DOFFICIAL_BUILD "-DCR_CLANG_REVISION=\"n353803-99ac9ce7-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 -DBUILDING_CEF_SHARED -DUSING_CHROMIUM_INCLUDES -DWEBP_EXTERN=extern -D_WTL_NO_AUTOMATIC_NAMESPACE -DVK_USE_PLATFORM_WIN32_KHR -DUSE_EGL -DTOOLKIT_VIEWS=1 -DSYNC_PASSWORD_REUSE_DETECTION_ENABLED -DSYNC_PASSWORD_REUSE_WARNING_ENABLED -DON_FOCUS_PING_ENABLED -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=wchar_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_WIN -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP "-DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\"" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC "-DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\"" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 "-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"" -DGR_GL_FUNCTION_TYPE=__stdcall -DVK_USE_PLATFORM_WIN32_KHR -DV8_USE_EXTERNAL_STARTUP_DATA -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DV8_DEPRECATION_WARNINGS "-DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.appspot.com/ssl-aggregate-address/\"" -DPERFETTO_IMPLEMENTATION -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DHUNSPELL_STATIC -DHUNSPELL_CHROME_CLIENT -DUSE_HUNSPELL -DVR_USE_COMMAND_BUFFER -DGL_GLEXT_PROTOTYPES -I../.. -Igen -I../../cef -I../../third_party/libwebp/src -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/wtl/include -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/jsoncpp/generated -I../../third_party/vulkan_headers/include -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/boringssl/src/include -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan_headers/include -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa_headers -I../../v8/include -Igen/v8/include -Igen/third_party/metrics_proto -Igen -Igen/components/policy/proto -I../../third_party/re2/src -Igen -Igen -Igen -Igen -I../../third_party/libaddressinput/src/cpp/include -Igen -Igen -Igen -Igen -Igen -Igen -I../../third_party/flatbuffers/src/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/cacheinvalidation/overrides -I../../third_party/cacheinvalidation/src -I../../third_party/zlib -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/win -I../../third_party/crashpad/crashpad/compat/non_elf -Igen -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 -fmsc-version=1916 /guard:cf,nochecks -m32 /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 /wd4267 -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 /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -Xclang -debug-info-kind=constructor /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors /TP /wd4577 /GR- -I../../buildtools/third_party/libc++/trunk/include -Wno-deprecated-declarations /c ../../chrome/browser/policy/chrome_browser_cloud_management_controller.cc /Foobj/chrome/browser/browser/chrome_browser_cloud_management_controller.obj /Fd"obj/chrome/browser/browser_cc.pdb"
ninja: error: exception: 0xE06D7363
ninja: warning: minidump created: C:\depot\infrastructure\modifiedthirdparty\chromium\4147\cef\temp\\ninja_crash_dump_84480.dmp
Traceback (most recent call last):
  File ".\automate\automate-git.py", line 1510, in <module>
    if options.buildlogfile else None)
  File ".\automate\automate-git.py", line 70, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "C:\dev\Chromium\CEF4147\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python\bin\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-v', '-C', 'out\\Release_GN_x86', 'cefclient']' returned non-zero exit status 2


Does anybody know what ninja: error: exception: 0xE06D7363 means?
Google just printed some random C++ Compiler Exceptions but nothing specific...
Also, I added the crash dump, might be someone can find it useful...
Attachments
ninja_crash_dump_84480.zip
(64.83 KiB) Downloaded 123 times
Phylanx
Expert
 
Posts: 201
Joined: Thu Aug 11, 2016 8:17 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 24 guests