riscv-collab / v8

Port of Google v8 engine to RISC-V.
https://github.com/v8-riscv/v8/wiki
Other
237 stars 31 forks source link

cctest test-macro-assembler-riscv32/CompareI #630

Open qjivy opened 2 years ago

qjivy commented 2 years ago

cmd line:

out/riscv32.debug$ ./cctest test-macro-assembler-riscv32/CompareI

Error log:

#
# Fatal error in ../../test/cctest/test-macro-assembler-riscv32.cc, line 1233
# Check failed: comp_res == GenAndRunTest<int32_t>(input1, fn1) (0 vs. 1).
#
#
#
#FailureMessage Object: 0xfff9bae8
==== C stack trace ===============================

    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libbase.so(v8::base::debug::StackTrace::StackTrace()+0x2c) [0xf7f8592c]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libplatform.so(+0x515fe) [0xf7ed25fe]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libbase.so(V8_Fatal(char const*, int, char const*, ...)+0x134) [0xf7f4b294]
    ./cctest(+0x1a9773a) [0x5802d73a]
    ./cctest(+0x1a8a798) [0x58020798]
    ./cctest(CcTest::Run(char const*)+0x577) [0x573ba2d7]
    ./cctest(main+0x501) [0x573bbfd1]
    /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xf1126fa1]
    ./cctest(_start+0x31) [0x573b9a11]
Trace/breakpoint trap
qjivy commented 2 years ago

Native test (follow the https://github.com/riscv-collab/v8/issues/694 build process)

This case still fails.

error log:



#
# Fatal error in , line 0
# Check failed: comp_res == GenAndRunTest<int32_t>(input1, fn1).
#
#
#
#FailureMessage Object: 0x3fffefb4
==== C stack trace ===============================

    ./cctest(+0x1e5f736) [0x41e5f736]
    ./cctest(+0x1cb51f0) [0x41cb51f0]
    ./cctest(+0x1cab2ee) [0x41cab2ee]
    ./cctest(+0x8f6816) [0x408f6816]
    ./cctest(+0x8f6956) [0x408f6956]
    ./cctest(+0x470cc0) [0x40470cc0]
    ./cctest(+0x419874) [0x40419874]
    /home/qjivy/toolchain/gnu/install32/sysroot/lib/libc.so.6(__libc_start_main+0x86) [0x3f6fce90]
    ./cctest(_start+0x2a) [0x40470036]
Trace/breakpoint trap```