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

Benchmark pallet_gear::instr_i64divs fails due to bug in Wasmer's singlepass compiler on Aarch64 targets #4103

Open
ByteNacked opened this issue Jul 31, 2024 · 0 comments
Assignees
Labels
A4-insubstantial Not too important PR C0-bug Something isn't working

Comments

@ByteNacked
Copy link
Member

ByteNacked commented Jul 31, 2024

Problem

Benchmark pallet_gear::instr_i64divs fails due to bug in Wasmer singlepass compiler on M1 (aarch64) targets.

2024-07-22 14:05:44.734  INFO main frame::benchmark::pallet: Starting benchmark: pallet_gear::instr_i64divs
2024-07-22 14:05:44.783 ERROR main runtime: panicked at /Users/gsobol/src/gear/pallets/gear/src/benchmarking/sandbox.rs:61:14:
Failed to create benchmarking Sandbox instance: <wasm:stripped>
Error: Input("Error executing and verifying runtime benchmark: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed

Steps

Run pallet_gear::instr_i64divs bench on Aarch64 target.

Possible Solution


PR already merged
in Wasmer's master, need to wait till it goes to release and update Wasmer dependency.

Commit

@ByteNacked ByteNacked added C0-bug Something isn't working A4-insubstantial Not too important PR labels Jul 31, 2024
@ByteNacked ByteNacked self-assigned this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A4-insubstantial Not too important PR C0-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant