Chromium Build Issue

7,202 views
Skip to first unread message

Gokul V G

unread,
May 14, 2024, 1:21:32 PMMay 14
to Chromium-dev
Hi all, 
i am trying to Build Chromium 124, Followed steps mentioned in Chromium Build Steps .But i am getting this particular error and i tried possible solutions available in internet, could solve this, please check the error, and help me resolve the issue,

C:\code\chromium\src>autoninja -C out\Default chrome
ninja: Entering directory `out\Default'
[1420/32035] ACTION //net/data/ssl/chrome_root_store:gen_root_store_inc(//build/toolchain/win:win_clang_x64)
FAILED: gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc
C:/code/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../build/gn_run_binary.py root_store_tool.exe --root-store=../../net/data/ssl/chrome_root_store/root_store.textproto --certs=../../net/data/ssl/chrome_root_store/root_store.certs --write-cpp-root-store=gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc --write-cpp-ev-roots=gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc
root_store_tool.exe failed with exit code 3221225785
[1437/32035] CXX obj/ui/color/mixers/ref_color_mixer.obj
ninja: build stopped: subcommand failed. 

Also a pop-up error box is popping with the Following Error 
the Procedure entry point _CxxFrameHandler4 could not be located in the dyanamic link library c/code/chromium/src/out/default/dbghelp.dll    

Any Idea why this might be happening,


Thank you all

Gokul V G

unread,
May 15, 2024, 1:04:50 PMMay 15
to Chromium-dev
friendly reminder, still stuck with the same issue, 

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/f7f7147b-ff87-4563-97be-b3631aec5a50n%40chromium.org.


--
Your Sincerely,
Gokul VG
Software Developer


AOT Technologies Pvt. Ltd.

3rd Floor, Amstor Building, Technopark,

Thiruvananthapuram, Kerala, India - 695581

http://www.aot-technologies.com 

"Learn something new everyday to ignite your inner self"



Bruce Dawson

unread,
May 15, 2024, 5:49:14 PMMay 15
to Chromium-dev, Gokul V G
That is unexpected. What version(s) of the Windows SDK do you have installed? And, what is the version number of out\default\dbghelp.dll? For me it is 10.0.22621.2428. My best guess would be that you have an old version of the SDK and this is causing problems. If you install the latest version of the SDK then that will probably fix the problem. Note that when you upgrade your Windows SDK it doesn't necessarily update the debugging tools. You generally have to explicitly opt-in to having that component installed.

The error code 3221225785 is 0xC0000139 which is "entry point not found" so that is just another way of reporting the problem with dbghelp.dll.

Gokul V G

unread,
Oct 21, 2024, 5:32:14 PM (11 days ago) Oct 21
to Chromium-dev, Bruce Dawson, Gokul V G, Chromium-dev

Hi Bruce

I believe my SDK version was different, so I updated my SDK using the Visual Studio installer. However, I couldn’t locate the exact version in the installer ( 10.0.22621.2428 ), so I proceeded with this version 10.0.22621.0 and installed the debugging tool. Unfortunately, the same issue occurred during the build step. I then tried the latest version (10.0.26100.0), but the same problem persisted. Available versions as per my VS installer is in the Attachment.please take a look,

I am installing these from Visual Studio. Is there anything I might be missing while installing the SDK, or should I explore other methods to install it?

Additionally, I was unable to check the version number of out\default\dbghelp.dll since it was not readable.

I humbly request your assistance on this matter. Thank you very much in advance!


my Error logs 



C:\code\chromium\src>autoninja -C out\Default chrome
ninja: Entering directory `out\Default'

[4936/49765] ACTION //net/http:generate_transport_security_state(//build/toolchain/win:win_clang_x64)
FAILED: gen/net/http/transport_security_state_static.h
C:/code/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../build/gn_run_binary.py transport_security_state_generator.exe ../../net/http/transport_security_state_static.json ../../net/http/transport_security_state_static_pins.json ../../net/http/transport_security_state_static.pins ../../net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
transport_security_state_generator.exe failed with exit code 3221225785


[4941/49765] ACTION //net/data/ssl/chrome_root_store:gen_root_store_inc(//build/toolchain/win:win_clang_x64)


FAILED: gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc
C:/code/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../build/gn_run_binary.py root_store_tool.exe --root-store=../../net/data/ssl/chrome_root_store/root_store.textproto --certs=../../net/data/ssl/chrome_root_store/root_store.certs --write-cpp-root-store=gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc --write-cpp-ev-roots=gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc
root_store_tool.exe failed with exit code 3221225785

[4953/49765] CXX obj/url/url/origin.obj


ninja: build stopped: subcommand failed.

SDK version.PNG

Gokul V G

unread,
Oct 21, 2024, 5:32:24 PM (11 days ago) Oct 21
to Chromium-dev, Bruce Dawson, Gokul V G

@Bruce, one more thing I noticed is that I am still using Windows 10, as I am using an EC2 instance. Could that be an issue? I worked with Chromium version 127 and prior versions  without encountering this problem, so this is the first time I'm facing it.

Could my Windows version be related to the issue? According to the Chromium build steps, the required SDK version is the Windows 11 SDK Debugging Tools 10.0.26100.1742 or higher

On Thursday, May 16, 2024 at 3:19:14 AM UTC+5:30 Bruce Dawson wrote:

Devon Loehr

unread,
Oct 22, 2024, 6:11:33 PM (10 days ago) Oct 22
to Chromium-dev, Gokul V G, Bruce Dawson

Per my response in the other thread about this, the error is probably caused by updating to the 26100 SDK version on an older computer. We discovered in our testing that `d3dcompiler_47.dll` tries to link against a version of the universal C Runtime which isn't present on older version of Windows (Windows 1909 or earlier, to our knowledge). The failure to load `_CxxFrameHandler4` was one of the symptoms we encountered.

You should be able to fix it by either updating your OS, updating your copy of the UCRT, or replacing `d3dcompiler_47.dll` with a version from the previous SDK. It's possible that the source is some other dll besides `d3dcompiler_47.dll`, in which case you'll need to replace that one instead (also, please let me know because we'll need to make the same change).
Reply all
Reply to author
Forward
0 new messages