-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Building flutter tool on ARM macOS host fails #42534
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
Comments
oah is Rosetta. I see old blogs and ebooks mentioning |
I'd guess this happens when we try to load app-jit snapshot for the kernel service. ARM64 Mac OS has 16KB pages, and apparently our app-jit snapshot loading code expects 4KB pages. /cc @rmacnak-google |
same issue. on Mac using A12Z chip.
|
This accounts for the larger alignment required by mmap on ARM macOS. Bug: #42534 Change-Id: Ie58732924d5a7287f2736696a6db0ddce7d308c1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153382 Commit-Queue: Ryan Macnak <[email protected]> Reviewed-by: Régis Crelier <[email protected]>
When does this fix will be applied to flutter ? I am running into the same issue |
935b69e rolled in flutter/engine#19577 which rolled in flutter/flutter#61090 which is in Flutter 1.20.0-7.0.pre. So that's in the stable channel. |
@jmagman When running flutter doctor -v I'm getting this output :
I'm running an apple dev kit that is using apple silicon. |
Do you know what version of Flutter are you on? I believe it should be fixed on the stable channel. I was just on a DTK where it was working on master, though I didn't try stable. |
In any case you will need to be on master to |
@jmagman Update : I'm now able to successfully run flutter doctor but my app still won't compile running the same issue that was mentioned before: Flutter run logs :
Flutter doctor -v output :
|
@MichelMelhem Apple Silicon isn't fully supported for Flutter yet, even on the master channel. And definitely not on the stable channel. We're tracking with flutter/flutter#60118. If you encounter issues that aren't on that list, please file a new issue in the flutter/flutter repo and we can take a look. |
Building flutter tool on ARM macOS host fails with:
The text was updated successfully, but these errors were encountered: