Browse Source

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 years ago
parent
commit
26494d7c0b
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      v8pp/Makefile
  2. +1
    -1
      v8pp/build-v8.sh

+ 4
- 1
v8pp/Makefile View File

archive: archive:
rm -rf v8.a rm -rf v8.a
#ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') #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 echo all included object files listed below
cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o' cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o'
echo all .so files listed below echo all .so files listed below

+ 1
- 1
v8pp/build-v8.sh View File

./tools/dev/gm.py x64.release ./tools/dev/gm.py x64.release


# workaround, see notes.txt # 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 ./tools/dev/gm.py x64.release


#mkdir -p lib #mkdir -p lib

Loading…
Cancel
Save