Skip to content

Miri always panics on aarch64 linux with 16k page size. #4514

@i509VCB

Description

@i509VCB

Trying to run miri on a aarch64 Linux system with a 16k page size (which is standard for ARM Macs on Linux). There are performance drawbacks to using 4k kernels (along with them being buggy).

Output:

thread 'main' panicked at src/tools/miri/cargo-miri/src/phases.rs:98:9:
failed to determine underlying rustc version of Miri (MIRI_BE_RUSTC="host" "/home/i509vcb/.rustup/toolchains/nightly-aarch64-unknown-linux-gnu/bin/miri"):
CommandError { stdout: "", stderr: "<jemalloc>: Unsupported system page size\n<jemalloc>: Unsupported system page size\nLLVM ERROR: out of memory\nAllocation failed\n" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The system in question is a M2 MacBook Air running the Asahi remix of Fedora 42.

As a workaround miri can be run inside of muvm

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-devArea: working on Miri as a developerC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions