Hi,
Working on chromium version of 13.2.23. We are trying to get v8 builtin pgo files on arm64 architecture, our compilation architecture is x64, so we set v8_enable_builtins_profiling = true,and build configs is set as follow:
{
"arch": "arm64",
"asan": false,
"atomic_object_field_writes": true,
"cet_shadow_stack": false,
"cfi": false,
"clang": true,
"clang_coverage": false,
"code_comments": false,
"component_build": false,
"concurrent_marking": true,
"conservative_stack_scanning": false,
"current_cpu": "x64",
"dcheck_always_on": false,
"debug_code": false,
"DEBUG_defined": false,
"debugging_features": false,
"dict_property_const_tracking": false,
"direct_handle": false,
"disassembler": false,
"full_debug": false,
"gdbjit": false,
"has_jitless": false,
"has_maglev": true,
"has_turbofan": true,
"has_webassembly": true,
"has_wasm_interpreter": false,
"i18n": true,
"is_android": false,
"is_ios": false,
"js_shared_memory": true,
"lite_mode": false,
"local_off_stack_check": false,
"mips_arch_variant": "",
"mips_use_msa": false,
"msan": false,
"official_build": false,
"pointer_compression": true,
"pointer_compression_shared_cage": true,
"runtime_call_stats": true,
"sandbox": true,
"shared_ro_heap": true,
"simd_mips": false,
"simulator_run": true,
"single_generation": false,
"slow_dchecks": false,
"target_cpu": "x64",
"tsan": false,
"ubsan": false,
"use_sanitizer": false,
"v8_cfi": true,
"v8_current_cpu": "arm64",
"v8_target_cpu": "arm64",
"verify_csa": false,
"verify_heap": false,
"verify_predictable": false,
"wasm_random_fuzzers": true,
"memory_corruption_api": false,
"leaptiering": true
}
However, a failure in creating snapshot (return -11) was encountered during building process. Here is the error message:
ninja: Entering directory `
out.gn/arm64.release'
[0/1] Regenerating ninja files
[1098/1887] ACTION //:run_mksnapshot_default(//build/toolchain/linux:clang_x64)
FAILED: [code=245] gen/embedded.S snapshot_blob.bin
python3 ../../tools/run.py ./mksnapshot --turbo_instruction_scheduling --stress-turbo-late-spilling --target_os=linux --target_arch=x64 --embedded_src gen/embedded.S --predictable --no-use-ic --turbo-profiling --target_is_simulator --embedded_variant Default --random-seed 314159265 --startup_blob snapshot_blob.bin --no-native-code-counters
Return code is -11
[1129/1887] CXX obj/test/cctest/cctest_sources/test-api.o
ninja: build stopped: subcommand failed.
Any solution or suggestion to the above issue would be of great value and appreciated! Thanks!