Windows build error using MSVC

52 views
Skip to first unread message

Siam Abdullah

unread,
Apr 24, 2020, 1:05:35 AM4/24/20
to v8-users
Hey I am trying to build V8  (8.3.110.3) in windows using MSVC and having following error: 

[900/907] LINK mksnapshot.exe mksnapshot.exe.pdb
FAILED: mksnapshot.exe mksnapshot.exe.pdb
E:/Serp_V8_Original/v8/DepotTools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe ../../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 F
alse link.exe /nologo /OUT:./mksnapshot.exe /PDB:./mksnapshot.exe.pdb @./mksnapshot.exe.rsp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:REF' specification

exported-macros-assembler-tq.obj : error LNK2019: unresolved external symbol "public: void __cdecl v8::internal::FixedArray::set(int,class v8::internal::Smi)" (?s
et@FixedArray@internal@v8@@QEAAXHVSmi@23@@Z) referenced in function "protected: void __cdecl v8::internal::OrderedHashTable<class v8::internal::OrderedHashMap,2>:
:SetNumberOfBuckets(int)" (?SetNumberOfBuckets@?$OrderedHashTable@VOrderedHashMap@internal@v8@@$01@internal@v8@@IEAAXH@Z)

.\mksnapshot.exe : fatal error LNK1120: 1 unresolved externals

here is the args.gn file content :

is_clang = false
is_component_build = true
is_debug = false
is_official_build = true
target_cpu = "x64"
v8_enable_i18n_support = false
v8_target_cpu = "x64"
v8_use_external_startup_data = false
v8_enable_fast_mksnapshot = false
v8_use_snapshot = false
v8_enable_pointer_compression = true
enable_precompiled_headers = false

would you tell me how do i fix this linking error. Is it possible to skip mksnapshot.exe build part ?

Thank you
Siam

Reply all
Reply to author
Forward
0 new messages