Hi v8-users,
My C++ server app statically links against v8.
My build broke when updating from 6.0 to 6.1. It looks like V8 now pulls in and builds libc++ as part of its own build. However, no libc++.a is generated, nor are the libc++ objects included in the regular static library outputs. So, naturally, I get link errors.
I tried manually linking in the libc++ object files, but this reveals a second problem: I also link against the system-installed libprotobuf, which uses libstdc++. As libprotobuf uses std types in its ABI (my bad), this means my app needs to be linked against libstdc++ as well. I can't statically link against both C++ libs as this produces duplicate symbols.
Is there a recommended approach to take here? Can I tell v8 to use libstdc++? Or do I need to vendor in libprotobuf so that I can build everything against libc++ from here on out?
Thanks,
-Kenton