Skip to content

AOT compiled apps fail when run on Apple Silicon #44001

@mit-mit

Description

@mit-mit

The following steps fail when run on Apple Silicon with an "File offset must be page-aligned."-error:

$ dart create testapp
$ cd testapp
$ dart compile exe ./bin/main.dart
$ ./bin/main.dart

=>

Loading failed: File offset must be page-aligned.
Usage: dart [<vm-flags>] <dart-script-file> [<script-arguments>]

Executes the Dart script <dart-script-file> with the given list of <script-arguments>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions