Fails to map snapshot on Ampere Altra with 64k page size #56823
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
When building Flutter on my Ampere Altra running NixOS and using a 64k page size, I get this scary abort:
When I build Flutter applications, I get no errors and no messages to the terminal at all. This seems like Dart isn't set up to handle a 64k page size which my system uses for better compiling performance. Meanwhile, Flutter and Dart compile easily on my MBP running NixOS which is using a 16k page size. In this case, I was building/using Flutter 3.22.0 but it seems every version of Flutter in Nixpkgs has this problem. It's best we get this issue fixed as more hardware which utilizes ARM may be running large page sizes (beyond 4k or even 16k).
To reproduce, use
CONFIG_ARM64_64K_PAGES
in the kernel config and try building Flutter or try building any Flutter applications.The text was updated successfully, but these errors were encountered: