V8 VM build on the Pi is broken. Canīt build a fresh shell on the Pi | |
Jun 07,2017 | See https://bugs.chromium.org/p/v8/issues/detail?id=6458 |
cd ~ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=~/depot_tools:$PATH fetch v8Note that if you already downloaded V8 you should update with
cd ~/v8 git pull origin master gclient sync
tools/dev/v8gen.py arm.release
python gypfiles/gyp_v8
# arm specific flags. GYPFLAGS += -Darm_version=7 GYPFLAGS += -Darm_float_abi=hard # fpu: armfpu=xxx # xxx: vfp, vfpv3-d16, vfpv3, neon. ifeq ($(armfpu),) GYPFLAGS += -Darm_fpu=default else GYPFLAGS += -Darm_fpu=$(armfpu) endif # float abi: armfloatabi=softfp/hard ifeq ($(armfloatabi),) ifeq ($(hardfp),) GYPFLAGS += -Darm_float_abi=default endif else GYPFLAGS += -Darm_float_abi=$(armfloatabi) endif
There is a bug building required tools to build V8 on the Pi. See https://bugs.chromium.org/p/v8/issues/detail?id=6458 |
The gyp way do NOT work anymore :-(cd v8 make native -j 4 hardfp=on vf3p=off |
How to build V8 on Raspberry Pi (3 model B) ? |