Unfortunately, when
use_custom_libcxx=true (seems to be the gm.py default?), I'm getting undefined symbols.
stderr: ld.lld: error: undefined symbol: v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, std::unique_ptr<v8::TracingController, std::default_delete<v8::TracingController> >)
nm -gAC libv8_libplatform.so | grep "v8::platform::NewDefaultPlatform" shows:
libv8_libplatform.so:0000000000013240 T v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, std::__Cr::unique_ptr<v8::TracingController, std::__Cr::default_delete<v8::TracingController> >)
So my build system is expecting std::unique_ptr for NewDefaultPlatform(), and the shared lib uses std::__Cr.
My current solution is to try to avoid using the custom toolchain via use_custom_libcxx=false