I'm trying to Link V8 but i'm getting pages and pages of errors like this one.
liftoff-assembler.cc:(.text. _ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE +0x5db): undefined reference to `std::__1::ios_base::getloc() const' liftoff-assembler.cc:(.text._ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE+0x5e2): undefined reference to `std::__1::ctype<char>::id' liftoff-assembler.cc:(.text._ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE+0x5ea): undefined reference to `std::__1::locale::use_facet(std::__1::locale::id&) const' liftoff-assembler.cc:(.text. _ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE +0x603): undefined reference to `std::__1::locale::~locale()' liftoff-assembler.cc:(.text._ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE+0x63e): undefined reference to `std::__1::ios_base::getloc() const' liftoff-assembler.cc:(.text._ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE+0x645): undefined reference to `std::__1::ctype<char>::id' liftoff-assembler.cc:(.text. _ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE +0x64e): undefined reference to `std::__1::locale::use_facet(std::__1::locale::id&) const' liftoff-assembler.cc:(.text._ZN2v88internal4wasmlsERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEENS1_16LiftoffAssembler8VarStateE+0x668): undefined reference to `std::__1::locale::~locale()' The command I'm using is this g++ -o ReleaseLinux/serverName -pthread-ldl -lrt -std=c++17 -lstdc++fs - static-libstdc++ <list of object files> <list of archive files *.a> /home/ build/servername/supplier_linux/v8/out/x64.release/obj/libv8_monolith.a g++ is this version from SCL g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) I'm building V8 using this tag 6.9.427.23 and the following command which builds with g++ gn gen --args="is_clang=false use_sysroot=false is_debug=false v8_use_snapshot=true v8_use_external_startup_data=false treat_warnings_as_errors=false v8_static_library=true v8_monolithic=true" out/x64.release ninja -C out/x64.release v8_monolith I'm stumped as to what the issue is here anyone got suggestions on how to fix this ? -- -- 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. For more options, visit https://groups.google.com/d/optout.