Hi,
my OSX build of V8 failed with an error
ERROR at //BUILD.gn:3584:5: Unable to load "/Volumes/Disk2/v8/third_party/zlib/BUILD.gn".
correctly so, as there is no zlib in v8/third_party .
Along the suggestion there, I also added v8_disable_snapshot_compression = true to my
args.gn
After the warning
> Did you mean "v8_enable_snapshot_compression"?
I then used an v8_enable_snapshot_compression = false
Next is a compile error:
[939/1601] CXX obj/v8_base_without_compiler/snapshot-compression.o
FAILED: obj/v8_base_without_compiler/snapshot-compression.o
../../src/snapshot/snapshot-compression.cc:10:10: fatal error: 'third_party/zlib/google/compression_utils_portable.h' file not found
v8_enable_snapshot_compression takes me to a define V8_SNAPSHOT_COMPRESSION
Next attempt: add several #ifdef V8_SNAPSHOT_COMPRESSION in snapshot-compression.cc, snapshot-utils.cc and so forth.
A dead end, more and more dependencies - snapshot compression is to stay, IMO that argument / option is toast.
Therefor maybe it is easier to add "third_party/zlib" .
Next problem though: Considering that reference to … "google/compression_utils_portable.h" this is likely to be a special build.
As I am pretty new to V8, how should I continue?
Thanks,
Dirk