Last active
May 9, 2022 07:59
-
-
Save VitalyAnkh/d453d6361a7457f758c8c9af73ca46b9 to your computer and use it in GitHub Desktop.
tools/dev/gm.py riscv32.debug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tools/dev/gm.py riscv32.debug | |
# mkdir -p out/riscv32.debug | |
# echo > out/riscv32.debug/args.gn << EOF | |
is_component_build = true | |
is_debug = true | |
symbol_level = 2 | |
target_cpu = "x86" | |
v8_target_cpu = "riscv32" | |
use_goma = false | |
v8_enable_backtrace = true | |
v8_enable_fast_mksnapshot = true | |
v8_enable_slow_dchecks = true | |
v8_optimized_debug = false | |
EOF | |
# gn gen out/riscv32.debug | |
Done. Made 177 targets from 98 files in 121ms | |
# autoninja -C out/riscv32.debug d8 | |
ninja: Entering directory `out/riscv32.debug' | |
[1980/1988] ACTION //:run_mksnapshot_default(//build/toolchain/linux:clang_x86) | |
FAILED: gen/embedded.S snapshot_blob.bin | |
python3 ../../tools/run.py ./mksnapshot --turbo_instruction_scheduling --target_os=linux --target_arch=x86 --embedded_src gen/embedded.S --target_is_simulator --embedded_variant Default --random-seed 314159265 --startup_blob snapshot_blob.bin --native-code-counters --no-turbo-rewrite-far-jumps --no-turbo-verify-allocation --no-enable-slow-asserts --verify-heap | |
# | |
# Fatal error in ../../src/compiler/backend/riscv32/instruction-selector-riscv32.cc, line 547 | |
# unreachable code | |
# | |
# | |
# | |
#FailureMessage Object: 0xffbda798 | |
==== C stack trace =============================== | |
/home/vitalyr/projects/dev/cpp/v8/v8/out/riscv32.debug/libv8_libbase.so(v8::base::debug::StackTrace::StackTrace()+0x2c) [0xf7fa338c] | |
/home/vitalyr/projects/dev/cpp/v8/v8/out/riscv32.debug/libv8_libplatform.so(+0x5359e) [0xf7eed59e] | |
/home/vitalyr/projects/dev/cpp/v8/v8/out/riscv32.debug/libv8_libbase.so(V8_Fatal(char const*, int, char const*, ...)+0x134) [0xf7f68cf4] | |
./mksnapshot(v8::internal::compiler::InstructionSelector::VisitLoad(v8::internal::compiler::Node*)+0x127) [0x59b1aa27] | |
./mksnapshot(v8::internal::compiler::InstructionSelector::VisitNode(v8::internal::compiler::Node*)+0xbf) [0x59e9e44f] | |
./mksnapshot(v8::internal::compiler::InstructionSelector::VisitBlock(v8::internal::compiler::BasicBlock*)+0xa78) [0x59e96938] | |
./mksnapshot(v8::internal::compiler::InstructionSelector::SelectInstructions()+0x2d5) [0x59e953d5] | |
./mksnapshot(v8::internal::compiler::InstructionSelectionPhase::Run(v8::internal::compiler::PipelineData*, v8::internal::Zone*, v8::internal::compiler::Linkage*)+0x16b) [0x5a1e50bb] | |
./mksnapshot(void v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::InstructionSelectionPhase, v8::internal::compiler::Linkage*&>(v8::internal::compiler::Linkage*&)+0x8d) [0x5a1d829d] | |
./mksnapshot(v8::internal::compiler::PipelineImpl::SelectInstructions(v8::internal::compiler::Linkage*)+0x4e9) [0x5a1cfe49] | |
./mksnapshot(v8::internal::compiler::Pipeline::GenerateCodeForCodeStub(v8::internal::Isolate*, v8::internal::compiler::CallDescriptor*, v8::internal::compiler::Graph*, v8::internal::compiler::JSGraph*, v8::internal::compiler::SourcePositionTable*, v8::internal::CodeKind, char const*, v8::internal::Builtin, v8::internal::AssemblerOptions const&, v8::internal::ProfileDataFromFile const*)+0x14a0) [0x5a1d1a60] | |
./mksnapshot(v8::internal::compiler::CodeAssembler::GenerateCode(v8::internal::compiler::CodeAssemblerState*, v8::internal::AssemblerOptions const&, v8::internal::ProfileDataFromFile const*)+0x55) [0x59fba5b5] | |
./mksnapshot(+0x3f412c2) [0x5a4ee2c2] | |
./mksnapshot(v8::internal::SetupIsolateDelegate::SetupBuiltinsInternal(v8::internal::Isolate*)+0x205) [0x5a4ae045] | |
./mksnapshot(v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*)+0x37) [0x59b767f7] | |
./mksnapshot(v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool)+0x1171) [0x586a2a31] | |
./mksnapshot(v8::internal::Isolate::InitWithoutSnapshot()+0x43) [0x586a18b3] | |
./mksnapshot(v8::SnapshotCreator::SnapshotCreator(v8::Isolate*, int const*, v8::StartupData*)+0x128) [0x580a3928] | |
./mksnapshot(v8::internal::CreateSnapshotDataBlobInternal(v8::SnapshotCreator::FunctionCodeHandling, char const*, v8::Isolate*)+0x6f) [0x595ab2af] | |
./mksnapshot(+0x1acc4f1) [0x580794f1] | |
./mksnapshot(main+0x74d) [0x58078e7d] | |
/usr/lib32/libc.so.6(+0x25249) [0xf735a249] | |
/usr/lib32/libc.so.6(__libc_start_main+0x94) [0xf735a324] | |
./mksnapshot(_start+0x31) [0x58063cd1] | |
Return code is -5 | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the output when running
tools/dev/gm.py riscv32.debug
on the branch here: https://github.com/VitalyAnkh/v8/tree/port-ld-to-lw.