瀏覽代碼

Fix v8 archive and experimentally disable the workaround I made in the past.

Should be related to the following runtime issue:

 #
 # Fatal error in , line 0
 # Failed to deserialize the V8 snapshot blob. This can mean that the
 snapshot blob file is corrupted or missing.
 #
 #
 #
 #FailureMessage Object: 0x7f40ed7b8230
master
Ray Burgemeestre 5 年之前
父節點
當前提交
26494d7c0b
共有 2 個檔案被更改,包括 5 行新增2 行删除
  1. +4
    -1
      v8pp/Makefile
  2. +1
    -1
      v8pp/build-v8.sh

+ 4
- 1
v8pp/Makefile 查看文件

@@ -27,7 +27,10 @@ build:
archive:
rm -rf v8.a
#ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o')
ar rvs v8.a $$(find ./v8/out/x64.release/ -type f -name '*.o')
# third_party/
# excluding buildtools/third_party directory which contains libc++ etc., or you will get linker errors.
# ./out/x64.release/obj/buildtools/third_party/libc++/libc++/
ar rvs v8.a $$(find ./v8/out/x64.release/ -type f -name '*.o' | grep -v "buildtools/third_party/libc++/libc++")
echo all included object files listed below
cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o'
echo all .so files listed below

+ 1
- 1
v8pp/build-v8.sh 查看文件

@@ -35,7 +35,7 @@ gclient sync -r 7.5.288.23 #https://github.com/pmed/v8-nuget/
./tools/dev/gm.py x64.release

# workaround, see notes.txt
echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn
#echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn
./tools/dev/gm.py x64.release

#mkdir -p lib

Loading…
取消
儲存