How to report bugs of v8?

80 views
Skip to first unread message

Quan Chen

unread,
Aug 31, 2018, 3:09:23 AM8/31/18
to v8-users
I'm new to v8 and I'm trying to build static lib of v8. The problem I got is, after following the steps described in the link below I got build errors at step 5:

And the messages are like this:
ninja: Entering directory `out.gn/x64.release'
[1571/1585] LINK cctest.exe cctest.exe.pdb
FAILED: cctest.exe cctest.exe.pdb
ninja -t msvc -e environment.x64 -- ../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo /OUT:./cctest.exe /PDB:./cctest.exe.pdb @./cctest.exe.rsp
lld-link.exe: error: <root>: undefined symbol: mainCRTStartup
[1576/1585] LINK v8_simple_wasm_code_fuzzer.exe v8_simple_wasm_code_fuzzer.exe.pdb
ninja: build stopped: subcommand failed.


I need to work with v8 so I can work with the v8 dev team on the verification of this issue. So, how can I contact the dev team to report this issue and finally get the v8 static libs I need?

Thanks,
Quan

Quan Chen

unread,
Aug 31, 2018, 3:10:48 AM8/31/18
to v8-users
As stated in the link above, the args I set are:
is_component_build = false
v8_static_library = true
use_custom_libcxx = false
use_custom_libcxx_for_host = false

Also, I'm working with what I can get from github, the v8 version is 7.0.

Quan Chen

unread,
Aug 31, 2018, 3:34:44 AM8/31/18
to v8-users
Bug reported here: https://bugs.chromium.org/p/v8/issues/detail?id=8119
Will also track status in this thread.

Quan Chen

unread,
Aug 31, 2018, 11:42:01 AM8/31/18
to v8-users
The issue for the linking error is still unknown, but this issue won't block the generation of the static libs. 

The problem for the libs is that by default, the argument "use_lld" is set to true, which will cause a thin archive for the final v8_base.lib, and this kind of lib won't be read by MSVC's link.exe. 

To make it work, you may want to try to set it to false in \v8\build\config\compiler\compiler.gni, then build it again. You will get two huge v8_base_0.lib and v8_base_1.lib.

For more information, please refer to the bug link below. 

jamilir

unread,
Sep 22, 2018, 12:46:18 AM9/22/18
to v8-users
I am building V8 to use it by libadblockplus , but libadblockplus needs  a lib file i.e.   v8/out.gn/x64.Release/obj.lib
I am also getting this error FAILED: cctest.exe cctest.exe.pdb
Is this the error which is causing obj.lib not to be build ?
Reply all
Reply to author
Forward
0 new messages