I was able to bisect the issue to the following commit in which the V8 DEPS were updated: https://chromium.googlesource.com/v8/v8/+/843535b893968a89f98b295cd7b1b265ca2927c1
On Monday, February 11, 2019 at 3:13:59 PM UTC+2, Darin Dimitrov wrote: > > I am trying to cross compile V8 for Android (ARM) on an Ubuntu host using > the latest NDK 19: > > gn gen outgn/arm-release --args="is_debug=false symbol_level=0 > target_cpu=\"arm\" v8_target_cpu=\"arm\" target_os=\"android\"" > > ninja -C outgn/arm-release v8_libplatform > > And then I try to inspect the exported symbols from the resulting object > file: > > nm -C outgn/arm-release/obj/v8_libplatform/default-platform.o | grep > "v8::platform::DefaultPlatform::DefaultPlatform" > > outputs the following when building V8 7.2.502.25: > > 00000001 T v8::platform::DefaultPlatform::DefaultPlatform(v8::platform:: > IdleTaskSupport, std::__ndk1::unique_ptr<v8::TracingController, std:: > __ndk1::default_delete<v8::TracingController> >) > > and the following when building V8 7.3.492.10: > > 00000001 T v8::platform::DefaultPlatform::DefaultPlatform(v8::platform:: > IdleTaskSupport, std::__1::unique_ptr<v8::TracingController, std::__1:: > default_delete<v8::TracingController> >) > > Notice the "std::__ndk1" vs "std::__1". It looks like some different STL > is used in 7.3. > > As a result I am getting errors when I try to link against > "libv8_libplatform.a" in Android studio: > > error: undefined reference to > 'v8::platform::DefaultPlatform::DefaultPlatform(v8::platform::IdleTaskSupport, > > std::__ndk1::unique_ptr<v8::TracingController, > std::__ndk1::default_delete<v8::TracingController> >)' > > Do you know what might have changed in the compilation process of V8 > between those two versions that would result in such behavior? And is it > possible to somehow control this using some build flags? > -- -- 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.