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

Failed to run arch-test on arm64 machine #506

Open
howjmay opened this issue Oct 27, 2024 · 3 comments
Open

Failed to run arch-test on arm64 machine #506

howjmay opened this issue Oct 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@howjmay
Copy link
Collaborator

howjmay commented Oct 27, 2024

Prebuilt binary of Sail doesn't exist.
I was running test on Macbook M1, commit 164da62b64fa050569b22910ea207525884802ba.

$make arch-test
  CC    build/map.o
  CC    build/utils.o
  CC    build/decode.o
  CC    build/io.o
  CC    build/syscall.o
  CC    build/emulate.o
  CC    build/riscv.o
  CC    build/elf.o
  CC    build/cache.o
  CC    build/mpool.o
  CC    build/main.o
  LD    build/rv32emu
Fetching SHA-1 of prebuilt binaries ... [OK]
Checking SHA-1 of prebuilt binaries ... [OK]
git submodule update --init tests/
cp: build/sail_cSim/riscv_sim_RV32: No such file or directory
make: *** [arch-test] Error 1
@ChinYikMing
Copy link
Collaborator

ChinYikMing commented Oct 27, 2024

I was running on an M2 without any errors (but having some dependency issue, i.e., riscof not found). Could you provide more details on how to reproduce this?

@howjmay
Copy link
Collaborator Author

howjmay commented Oct 27, 2024

But I did nothing. I have even run make clean to ensure I didnt change anything in the codebase.
make arch-test is the only thing I ran

@jserv
Copy link
Contributor

jserv commented Oct 28, 2024

Prebuilt binary of Sail doesn't exist.

@vacantron, If including a darwin-arm64 (i.e., macOS ARM 64-bit binary) build of sail_cSim, what modifications would be necessary for rv32emu-prebuilt?

@jserv jserv added the bug Something isn't working label Oct 28, 2024
@jserv jserv added this to the release-2024.2 milestone Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants