This flag should mangle as such: ld: error: undefined symbol: v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, std::unique_ptr<v8::TracingController, std::default_delete<v8::TracingController> >) Instead of: (note the std::__Cr:: instead of std::) 000000000000f5e0 T v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, std::__Cr::unique_ptr<v8::TracingController, std::__Cr::default_delete<v8::TracingController> >)master
@@ -40,6 +40,8 @@ archive: | |||
cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o' | |||
# We'll use this one below.. | |||
ls -al ./v8/out/x64.release/obj/libv8_monolith.a | |||
# We'll also include .so files.. | |||
find ./v8/out/x64.release/ -name '*v8*.so' -type f | |||
package: | |||
rm -rf out | |||
@@ -51,6 +53,8 @@ package: | |||
# Legacy include our own v8.a | |||
cp -prv v8.a out/opt/cppse/build/v8pp/lib | |||
cp -prv v8/out/x64.release/obj/libv8_monolith.a out/opt/cppse/build/v8pp/lib | |||
# We'll also include .so files.. | |||
find ./v8/out/x64.release/ -name '*v8*.so' -type f | xargs -n 1 cp -prv -t out/opt/cppse/build/v8pp/lib | |||
cp -prv v8pp/v8pp out/opt/cppse/build/v8pp/include/ | |||
cp -prv v8/include out/opt/cppse/build/v8pp/include/v8 |
@@ -38,12 +38,17 @@ gclient sync -r 7.5.288.23 #https://github.com/pmed/v8-nuget/ | |||
echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn | |||
echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn | |||
echo "v8_use_snapshot = false" | tee -a out/x64.release/args.gn | |||
echo "use_custom_libcxx = false" | tee -a out/x64.release/args.gn | |||
./tools/dev/gm.py x64.release | |||
# also produce the static .a | |||
ninja -C out/x64.release v8_monolith | |||
echo "is_component_build = true" | tee -a out/x64.release/args.gn | |||
ninja -C out/x64.release | |||
#mkdir -p lib | |||
#cp out/Release/lib.target/*.so lib | |||
#cp out/Release/lib* lib |