Hi, i try to compile v8 with gcc on ubuntu 16.04.2 LTS x64, my *gn args*:

is_debug = false
target_cpu = "x64"
v8_target_cpu = "x64"
is_component_build = true
v8_use_external_startup_data = false
v8_enable_i18n_support = false
icu_use_data_file = false
v8_postmortem_support = true
is_clang = false
use_sysroot = false

libglib2.0-dev & libstdc++6-4.7-dev *installed*

ninja -C out.gn/x64.release
ninja: Entering directory `out.gn/x64.release'
[1/767] SOLINK ./libv8_libbase.so
FAILED: libv8_libbase.so libv8_libbase.so.TOC 
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" 
--nm="nm" --sofile="./libv8_libbase.so" --tocfile="./libv8_libbase.so.TOC" 
--output="./libv8_libbase.so"  -- g++ -shared -Wl,--fatal-warnings -fPIC 
-Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed 
-lpthread -Wl,--as-needed -fuse-ld=gold 
-B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads 
-Wl,--thread-count=4 -Wl,--icf=all -nodefaultlibs -m64 -Werror -Wl,-O1 
-Wl,--gc-sections -o "./libv8_libbase.so" -Wl,-soname="libv8_libbase.so" 
@"./libv8_libbase.so.rsp"
obj/v8_libbase/platform-linux.o:platform-linux.cc:function void 
std::__1::vector<v8::base::OS::SharedLibraryAddress, 
std::__1::allocator<v8::base::OS::SharedLibraryAddress> 
>::__push_back_slow_path<v8::base::OS::SharedLibraryAddress>(v8::base::OS::SharedLibraryAddress&&):
> 
error: undefined reference to 
'std::__1::__vector_base_common<true>::__throw_length_error() const'
collect2: error: ld returned 1 exit status
[10/767] CXX obj/v8_base/elements.o
ninja: build stopped: subcommand failed.

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to