Looks like you might need to install the g++ package? On Mon, Nov 7, 2016 at 12:39 PM Trekkie Ufo <[email protected]> wrote:
> Hi, managed to install everything on Ubuntu Linux and fired off a V8 build > for Android. > > (1) gn gen out.gn/foo --args='is_debug=false target_cpu="arm64" > v8_target_cpu="arm64" use_goma=false target_os = "android" > is_component_build = true ' > (2) ninja -C out.gn/foo > > I keep getting errors like the following, any suggestions ? > > > compilation terminated. > [604/2337] CXX obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o > FAILED: obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o > ../../third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ > -MMD -MF obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o.d > -DV8_DEPRECATION_WARNINGS -DENABLE_NOTIFICATIONS -DENABLE_PRINTING=1 > -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 > -DUSE_BROWSER_SPELLCHECKER=1 -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC > -DUSE_EXTERNAL_POPUP_MENU=1 -DENABLE_WEBRTC=1 -DDISABLE_NACL > -DENABLE_SUPERVISED_USERS=1 -DSAFE_BROWSING_DB_REMOTE -DCHROMIUM_BUILD > -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 > -DANDROID -DHAVE_SYS_UIO_H -DANDROID_NDK_VERSION=r12b -DCOMPONENT_BUILD > -D__GNU_SOURCE=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 > -DUSING_V8_SHARED -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_I18N_SUPPORT > -DENABLE_HANDLE_ZAPPING -DV8_USE_EXTERNAL_STARTUP_DATA > -DV8_TARGET_ARCH_ARM64 -I../.. -Igen -I../../include -Igen/include -I../.. > -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector > -funwind-tables -fPIC -pipe -ffunction-sections -fno-short-enums > -finline-limit=64 -fno-omit-frame-pointer -gdwarf-3 -g2 > --sysroot=../../third_party/android_tools/ndk/platforms/android-21/arch-arm64 > -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized > -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident > -fdata-sections -ffunction-sections -fno-threadsafe-statics > -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti > -isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include > -isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include > -isystem../../third_party/android_tools/ndk/sources/android/support/include > -fno-exceptions -Wno-deprecated -Wno-narrowing -c > ../../test/fuzzer/wasm-section-fuzzers.cc -o > obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o > In file included from ../../test/fuzzer/wasm-section-fuzzers.h:11:0, > from ../../test/fuzzer/wasm-section-fuzzers.cc:5: > ../../src/wasm/wasm-module.h:8:18: fatal error: memory: No such file or > directory > #include <memory> > ^ > compilation terminated. > [607/2337] CXX > clang_x64_v8_arm64/obj/...pector/inspector/v8-stack-trace-impl.o > ninja: build stopped: subcommand failed. > sanjit@sanjit-VirtualBox:~/v8$ > > > > -- > -- > 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. > -- -- 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.
