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

-- 
-- 
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.

Reply via email to