I've been using V8 on X64 Linux for several years, but not previously building with GN. For the future, I want to use the same version of V8, under Linux, on both X64 and ARM64 (have a working development board with Ubuntu Linux up and running).
After fetch(ing) the current source, I have no problem building the X64 version. Using identical GN options (except "target_cpu=arm64") the Ninja build fails half way through with the following: *[619/1394] AR obj/build/config/sanitizers/liboptions_sources.aFAILED: obj/build/config/sanitizers/liboptions_sources.a python "../../build/toolchain/gcc_ar_wrapper.py" --output=obj/build/config/sanitizers/liboptions_sources.a --ar="aarch64-linux-gnu-ar" rcsD @"obj/build/config/sanitizers/liboptions_sources.a.rsp"Traceback (most recent call last): File "../../build/toolchain/gcc_ar_wrapper.py", line 66, in <module> sys.exit(main()) File "../../build/toolchain/gcc_ar_wrapper.py", line 62, in main return subprocess.call(wrapper_utils.CommandToRun(command)) File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exceptionOSError: [Errno 2] No such file or directory[621/1394] ACTION //:js2c(//build/toolchain/linux:clang_arm64)ninja: build stopped: subcommand failed.* The exact GN command line is: gn gen out/arm --args='is_debug=false symbol_level=0 enable_nacl=false is_official_build=true v8_use_snapshot=false v8_enable_i18n_support=false target_cpu="arm64"' I really don't have time to get down and dirty, especially since this appears to be a build configuration problem. Does anybody have a simple solution? Ultimately, I would like to build natively on the ARM64 box, but I understand from the docs that this is not yet supported? Does anybody have any experience with this? Thanx for any help. -- -- 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.
