Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got error when run aarch64's binary with SimEng #411

Open
wkisme opened this issue Apr 29, 2024 · 1 comment
Open

Got error when run aarch64's binary with SimEng #411

wkisme opened this issue Apr 29, 2024 · 1 comment

Comments

@wkisme
Copy link

wkisme commented Apr 29, 2024

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'

@FinnWilkinson
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ToDo
Development

No branches or pull requests

2 participants