I have been trying to get an Android build of Chromium to go to completion using these instructions here:
It's blowing up with this error - looks like it is failing to build V8
ninja: Entering directory `out/Default'
[3/28844] ACTION //v8:run_mksnapshot_d...toolchain/android:android_clang_arm64)
FAILED: gen/v8/src/builtins/builtins-effects.cc gen/v8/embedded.S snapshot_blob.bin
python3 ../../v8/tools/run.py ./clang_x64_v8_arm64/mksnapshot --turbo_instruction_scheduling --stress-turbo-late-spilling --target_os=android --target_arch=arm64 --embedded_src gen/v8/embedded.S --predictable --no-use-ic --builtins-effects-src gen/v8/src/builtins/builtins-effects.cc --turbo-elide-frames --embedded_variant Default --random-seed 314159265 --startup_blob snapshot_blob.bin --native-code-counters --concurrent-builtin-generation --concurrent-turbofan-max-threads=0 --verify-heap
Return code is -5
[10/28844] CXX obj/components/viz/service/service/compositor_frame_sink_impl.o
ninja: build stopped: subcommand failed.
It's interesting also because the system log is throwing this at the same time:
[9415835.830972] traps: V8 DefaultWorke[3175233] trap int3 ip:5bf95e06329d sp:77c1f17fe450 error:0 in mksnapshot[5bf959ff5000+448e000]
I used the instructions at the top of this post, so I am using that build configuration. I suspect it's something wrong with my machine setup. I don't think I am running out of memory or threads. Any ideas of what to look at?
Thanks,
-Ted