Hi Igor, Thanks for the reply. I understand the linker errors are due to the fact that it added __Cr flag for the exported signature. I resolved that using the use_custom_libcxx=false
Later I used the below arguments and started building but I got other linker issues from third-party libraries. Please help me solve this errors. *declare_args() { v8_enable_tests = false # Set default value if needed v8_compress_pointers = true # Set to true to enable pointer compression use_absl = true}is_component_build = trueis_debug = falsetarget_cpu = "x64"v8_enable_sandbox = falsev8_enable_backtrace = truev8_enable_disassembler = falsev8_enable_object_print = truev8_enable_verify_heap = truedcheck_always_on = falseuse_custom_libcxx=falsev8_enable_i18n_support = falsev8_enable_object_print = truev8_use_external_startup_data = truetreat_warnings_as_errors = falseis_clang = falsev8_enable_fast_torque = false* The linker errors are as follows. wasm-optimize-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) store-store-elimination-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) instruction.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) wasm-gc-optimize-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) wasm-gc-typed-optimization-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) memory-optimization-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) optimize-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) pretenuring-propagation-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) recreate-schedule.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) turboshaft-graph-interface.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) csa-optimize-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) late-escape-analysis-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) late-load-elimination-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::raw_log_internal::RawLog(enum absl::LogSeverity,char const *,int,char const *,...)" (?RawLog@raw_log_internal@absl@@YAXW4LogSeverity@2@PEBDH1ZZ) wasm-optimize-phase.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) store-store-elimination-phase.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) instruction.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) wasm-gc-optimize-phase.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) wasm-gc-typed-optimization-reducer.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) memory-optimization-reducer.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) optimize-phase.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) pretenuring-propagation-reducer.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) recreate-schedule.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) turboshaft-graph-interface.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) csa-optimize-phase.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) late-escape-analysis-reducer.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) late-load-elimination-reducer.obj : error LNK2001: unresolved external symbol "struct absl::container_internal::FindInfo __cdecl absl::container_internal::find_first_non_full<void>(class absl::container_internal::CommonFields const &,unsigned __int64)" (??$find_first_non_full@X@container_internal@absl@@YA?AUFindInfo@01@AEBVCommonFields@01@_K@Z) optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) store-store-elimination-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) wasm-optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) turboshaft-graph-interface.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) csa-optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) late-escape-analysis-reducer.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) late-load-elimination-reducer.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowIntoSingleGroupShuffleControlBytes(enum absl::container_internal::ctrl_t *,unsigned __int64)const " (?GrowIntoSingleGroupShuffleControlBytes@HashSetResizeHelper@container_internal@absl@@AEBAXPEAW4ctrl_t@23@_K@Z) turboshaft-graph-interface.obj : error LNK2019: unresolved external symbol "void __cdecl absl::container_internal::EraseMetaOnly(class absl::container_internal::CommonFields &,unsigned __int64,unsigned __int64)" (?EraseMetaOnly@container_internal@absl@@YAXAEAVCommonFields@12@_K1@Z) referenced in function "private: void __cdecl v8::internal::wasm::TurboshaftGraphBuildingInterface::BindBlockAndGeneratePhis(class v8::internal::wasm::WasmFullDecoder<struct v8::internal::wasm::Decoder::FullValidationTag,class v8::internal::wasm::TurboshaftGraphBuildingInterface,0> *,class v8::internal::compiler::turboshaft::Block *,struct v8::internal::wasm::Merge<struct v8::internal::wasm::TurboshaftGraphBuildingInterface::Value> *,class v8::internal::compiler::turboshaft::OpIndex *)" (?BindBlockAndGeneratePhis@TurboshaftGraphBuildingInterface@wasm@internal@v8@@AEAAXPEAV?$WasmFullDecoder@UFullValidationTag@Decoder@wasm@internal@v8@@VTurboshaftGraphBuildingInterface@345@$0A@@234@PEAVBlock@turboshaft@compiler@34@PEAU?$Merge@UValue@TurboshaftGraphBuildingInterface@wasm@internal@v8@@@234@PEAVOpIndex@7834@@Z) memory-optimization-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::EraseMetaOnly(class absl::container_internal::CommonFields &,unsigned __int64,unsigned __int64)" (?EraseMetaOnly@container_internal@absl@@YAXAEAVCommonFields@12@_K1@Z) wasm-gc-optimize-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) wasm-gc-typed-optimization-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) pretenuring-propagation-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) recreate-schedule.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) store-store-elimination-phase.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) instruction.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) turboshaft-graph-interface.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) late-escape-analysis-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) late-load-elimination-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) memory-optimization-reducer.obj : error LNK2001: unresolved external symbol "void __cdecl absl::container_internal::DropDeletesWithoutResize(class absl::container_internal::CommonFields &,void const *,struct absl::container_internal::PolicyFunctions const &,void *)" (?DropDeletesWithoutResize@container_internal@absl@@YAXAEAVCommonFields@12@PEBXAEBUPolicyFunctions@12@PEAX@Z) wasm-gc-optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) wasm-gc-typed-optimization-reducer.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) wasm-optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) pretenuring-propagation-reducer.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) recreate-schedule.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) store-store-elimination-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) instruction.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) csa-optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) late-load-elimination-reducer.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) memory-optimization-reducer.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) optimize-phase.obj : error LNK2001: unresolved external symbol "private: void __cdecl absl::container_internal::HashSetResizeHelper::GrowSizeIntoSingleGroupTransferable(class absl::container_internal::CommonFields &,void *,unsigned __int64)" (?GrowSizeIntoSingleGroupTransferable@HashSetResizeHelper@container_internal@absl@@AEAAXAEAVCommonFields@23@PEAX_K@Z) late-escape-analysis-reducer.obj : error LNK2019: unresolved external symbol "void __cdecl absl::base_internal::ThrowStdOutOfRange(char const *)" (?ThrowStdOutOfRange@base_internal@absl@@YAXPEBD@Z) referenced in function "public: class v8::internal::ZoneVector<class v8::internal::compiler::turboshaft::OpIndex> & __cdecl absl::container_internal::raw_hash_map<struct absl::container_internal::FlatHashMapPolicy<class v8::internal::compiler::turboshaft::OpIndex,class v8::internal::ZoneVector<class v8::internal::compiler::turboshaft::OpIndex> >,struct absl::hash_internal::Hash<class v8::internal::compiler::turboshaft::OpIndex>,struct std::equal_to<class v8::internal::compiler::turboshaft::OpIndex>,class v8::internal::ZoneAllocator<struct std::pair<class v8::internal::compiler::turboshaft::OpIndex const ,class v8::internal::ZoneVector<class v8::internal::compiler::turboshaft::OpIndex> > > >::at<class v8::internal::compiler::turboshaft::OpIndex,struct absl::container_internal::FlatHashMapPolicy<class v8::internal::compiler::turboshaft::OpIndex,class v8::internal::ZoneVector<class v8::internal::compiler::turboshaft::OpIndex> > >(class v8::internal::compiler::turboshaft::OpIndex const &)" (??$at@VOpIndex@turboshaft@compiler@internal@v8@@U?$FlatHashMapPolicy@VOpIndex@turboshaft@compiler@internal@v8@@V?$ZoneVector@VOpIndex@turboshaft@compiler@internal@v8@@@45@@container_internal@absl@@@?$raw_hash_map@U?$FlatHashMapPolicy@VOpIndex@turboshaft@compiler@internal@v8@@V?$ZoneVector@VOpIndex@turboshaft@compiler@internal@v8@@@45@@container_internal@absl@@U?$Hash@VOpIndex@turboshaft@compiler@internal@v8@@@hash_internal@3@U?$equal_to@VOpIndex@turboshaft@compiler@internal@v8@@@std@@V?$ZoneAllocator@U?$pair@$$CBVOpIndex@turboshaft@compiler@internal@v8@@V?$ZoneVector@VOpIndex@turboshaft@compiler@internal@v8@@@45@@std@@@internal@v8@@@container_internal@absl@@QEAAAEAV?$ZoneVector@VOpIndex@turboshaft@compiler@internal@v8@@@internal@v8@@AEBVOpIndex@turboshaft@compiler@45@@Z) Thanks, rvoliveti On Tuesday 30 April 2024 at 17:25:28 UTC+5:30 ish...@google.com wrote: > Hello Ramesh, > > There might be a bit of confusion going on here. You are building V8 using > `is_component_build = true` but would like to use `v8_libplatform.lib` as a > static library. Note that V8 can be built either in component or in > non-component mode but not in both modes. > > IIUC the error comes from a component that tries to use libplatform built > in component mode. It seems that you forgot to add v8_libplatform.lib to > the linker input. > > Regards, > Igor > > On Fri, Apr 26, 2024 at 9:48 AM Ramesh Voliveti <rvol...@gmail.com> wrote: > >> Hi All, >> >> I am in the process of building the V8 source code of version 12.3.220 on >> windows mainly. >> >> I used the following GN arguments. >> >> is_debug = true >> v8_enable_i18n_support = true >> is_component_build = true >> symbol_level = 1 >> v8_enable_object_print = true >> v8_use_external_startup_data = true >> >> The build generated the v8 dlls and libraries >> Among then one of the library named v8_libplatform.lib has been used in >> our programs as a static library. >> >> While building our code, we see lot of linker errors. like below. >> Error LNK2001 unresolved external symbol "__declspec(dllimport) class >> std::unique_ptr<class v8::Platform,struct std::default_delete<class >> v8::Platform> > __cdecl v8::platform::NewDefaultPlatform(int,enum >> v8::platform::IdleTaskSupport,enum >> v8::platform::InProcessStackDumping,class std::unique_ptr<class >> v8::TracingController,struct std::default_delete<class >> v8::TracingController> >,enum v8::platform::PriorityMode)" >> (__imp_?NewDefaultPlatform@platform@v8@@YA?AV?$unique_ptr@VPlatform@v8@@U?$default_delete@VPlatform@v8@@@std@@@std@@HW4IdleTaskSupport@12@W4InProcessStackDumping@12@V?$unique_ptr@VTracingController@v8@@U?$default_delete@VTracingController@v8@@@std@@@4@W4PriorityMode@12@@Z) >> >> jsinterpreter >> c:\Code71\docplatform\code\interpreters\jsinterpreter\jsscripthandler.obj >> 1 >> >> Can someone please help me solve these errors? >> >> I tried to use different combinations of gn arguments but ended up with >> same sized library file which is giving linker errors when used in our code. >> >> Kindly help providing the suitable GN arguments that generates perfect >> library files. >> >> My main requirement is to generate the v8.dll, v8.lib,v8_libbase.dll, >> v8_libbase.lib, v8_libplatform.dll and v8_libplatform.lib files. >> >> Thanks in advance. >> >> Best regards, >> rvoliveti >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-users/18ea3b2a-cecb-4438-8d8a-e160427a7433n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/v8-users/18ea3b2a-cecb-4438-8d8a-e160427a7433n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > Igor Sheludko > > Software Engineer > > ish...@google.com > > > Google Germany GmbH > > Erika-Mann-Straße 33 > > 80636 München > > > Geschäftsführer: Paul Manicle, Liana Sebastian > > Registergericht und -nummer: Hamburg, HRB 86891 > > Sitz der Gesellschaft: Hamburg > > > Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten > haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, > löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, > dass die E-Mail an die falsche Person gesendet wurde. > > > > This e-mail is confidential. If you received this communication by > mistake, please don't forward it to anyone else, please erase all copies > and attachments, and please let me know that it has gone to the wrong > person. > > > > > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/199f3c43-b485-43ba-a6c5-0d808f135e90n%40googlegroups.com.