Open Simone-RM opened 1 day ago
Yes, frontend_server_aot.dart.snapshot: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[md5/uuid]=
is the clue.
In the case of arm64 host it should not reportx86-64. Tested PRs are welcome
Note there are a couple of other open issues related to arm64 host building.
same issue with build with docker image on Mac with M1 processor
Note at this time arm64 host builds are the lowest priority.
Tested PRs are welcome; would require a full test pass for both x86_64 and arm64 host.
https://storage.googleapis.com/flutter_infra_release/flutter/a6bd3f1de158bb61090e0c8053df93a10cb548e1/linux-arm64/artifacts.zip downloaded by flutter sdk include frontend_server_aot.dart.snapshot for x86-64
If you build on an arm64 host the native host tools in the engine SDK would be arm64. If you want to run tools on a x64 host, then you have to build on x64 host.
Or fetch engine SDK from here: https://github.com/meta-flutter/flutter-engine
I'm trying to compile a flutter app on a linux arm64 host (using the kirkstone branch).
Compile fails when invoking:
After some digging, I found this:
I suspect the problem is that snapshot which seems to be in the wrong architecture...