Quellcode durchsuchen

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 vor 5 Jahren
Ursprung
Commit
26494d7c0b
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. +4
    -1
      v8pp/Makefile
  2. +1
    -1
      v8pp/build-v8.sh

+ 4
- 1
v8pp/Makefile Datei anzeigen

@@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern