SimEng icon indicating copy to clipboard operation
SimEng copied to clipboard

Got error when run aarch64's binary with SimEng

Open wkisme opened this issue 1 year ago • 1 comments

Can't run aarch64 binary. Following is my steps.

  1. Build static version of aarch64's binary. aarch64-linux-gnu-gcc-11 hello.c -static -o a.out
  2. Run with SimEng. ./simeng a64fx.yaml ./a.out
  3. Then, oops!

[SimEng] Build metadata: [SimEng] Version: 0.9.6 [SimEng] Compile Time - Date: 09:49:18 - Apr 28 2024 [SimEng] Build type: Release [SimEng] Compile options: -Wall;$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>;-fsanitize=address;-fsanitize=undefined;-fno-omit-frame-pointer;-fno-sanitize-recover=address,undefined [SimEng] Test suite: OFF [SimEng] Running in Out-of-Order mode [SimEng] Workload: ./a.out [SimEng] Config file: a64fx.yaml [SimEng] ISA: AArch64 [SimEng] Auto-generated Special File directory: True [SimEng] Special File directory used: /home/prometheus/source-code/SimEng-main/build/specialFiles/ [SimEng] Number of Cores: 1 [SimEng] Starting... /home/prometheus/source-code/SimEng-main/src/lib/arch/aarch64/Instruction_execute.cc:3833:35: runtime error: load of value 56962, which is not a valid value for type 'arm64_reg'

wkisme avatar Apr 29 '24 09:04 wkisme

Hi,

Sorry for the late reply to your issue. I think this is an error we have fixed in the dev branch already.

Could you try run your binary again on dev and let me know if your issue is resolved?

Thanks

FinnWilkinson avatar May 20 '24 14:05 FinnWilkinson