5938 (117.0.5938.150) compilation fails on windows

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: 5938 (117.0.5938.150) compilation fails on windows

Postby linuxcef9 » Tue Oct 10, 2023 4:50 am

edit : duplicated comments so removing this
Last edited by linuxcef9 on Tue Oct 10, 2023 11:14 pm, edited 1 time in total.
linuxcef9
Expert
 
Posts: 143
Joined: Tue Nov 06, 2018 3:08 pm

Re: 5938 (117.0.5938.150) compilation fails on windows

Postby linuxcef9 » Tue Oct 10, 2023 11:04 pm

edit : duplicated comments so removing this
Last edited by linuxcef9 on Tue Oct 10, 2023 11:14 pm, edited 1 time in total.
linuxcef9
Expert
 
Posts: 143
Joined: Tue Nov 06, 2018 3:08 pm

Re: 5938 (117.0.5938.150) compilation fails on windows

Postby linuxcef9 » Tue Oct 10, 2023 11:07 pm

Further, I found below errors with ninja build,

Code: Select all
FAILED: win_clang_x86_for_rust_host_build_tools/compiler_builtins_compiler_builtins_vunknown_build_script.exe win_clang_x86_for_rust_host_build_tools/compiler_builtins_compiler_builtins_vunknown_build_script.exe.pdb
error: linking with `..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe` failed: exit code: 1
= note: lld-link: error: libucrt.lib(exit.obj): machine type x86 conflicts with x64
lld-link: error: libucrt.lib(initterm.obj): machine type x86 conflicts with x64


I found a similar bug https://bugs.chromium.org/p/chromium/is ... id=1465165
As a part of fix, rust was disabled for CEF builds on Windows x86.
As per https://github.com/chromiumembedded/cef/issues/3553, the change was reverted (enabled rust) in 117 as original issue was resolved in chromium.
But I am still seeing the original issue with 117.0.5938.150, any idea, why?

For now, I fixed errors by setting enable_rust=False. Also, is there any side effect due to this change that we need to be aware of?
linuxcef9
Expert
 
Posts: 143
Joined: Tue Nov 06, 2018 3:08 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 192 guests