Same issue https://groups.google.com/forum/#!topic/v8-users/R9cwjajDDto here, any ideas?
On Friday, May 24, 2019 at 6:46:37 PM UTC+8, guodong chen wrote: > > *I use ninja build V8 (Version. 7.6.99) for Android.* > > *Use below ninja config:* > > > > 在此输入代码 > > is_debug = false > is_clang=false > use_custom_libcxx_for_host=false > is_debug = false > target_cpu = "arm" > target_os="android" > v8_target_cpu = "arm" > > libcxx_abi_unstable=false > > fatal_linker_warnings=false > icu_use_data_file=false > libcxx_abi_unstable=false > > symbol_level=0 > use_dbus=false > use_ghash=false > use_gio=false > use_icf=false > v8_enable_embedded_builtins=false > v8_enable_handle_zapping=false > v8_enable_i18n_support=false > v8_optimized_debug=false > v8_use_external_startup_data=false > v8_static_library=true > > 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 > use_drfuzz=false > use_libfuzzer=false > v8_enable_test_features="" > v8_experimental_extra_library_files=[] > v8_extra_library_files=[] > use_glib = false > use_custom_libcxx=false > use_custom_libcxx_for_host=false > v8_enable_i18n_support=false... > > But when I link the static library , I get “ undefined reference“ error. > error: undefined reference to 'v8::platform::NewDefaultPlatform(int, > v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, > std::__ndk1::unique_ptr<v8::TracingController, > std::__ndk1::default_delete<v8::TracingController> >)' > > I find that, Because ninja build v8 use "std::__1" namespace. But Android > Ndk build only support "std::__ndk1" namespace stl. > > So how can I config my ninja to link against Android support stl lib? > > > > -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/72a57086-0f4b-400e-a96e-d6b15f135ffa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
