Skip to content
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

Failed to build on ARM64 #278

Open
ondrej1024 opened this issue Dec 16, 2024 · 0 comments
Open

Failed to build on ARM64 #278

ondrej1024 opened this issue Dec 16, 2024 · 0 comments

Comments

@ondrej1024
Copy link

I am trying to build the flutter sample app on a RaspberryPi with RPi OS (Debian Bookworm 64bit)

flutter-elinux build elinux

This produces the following error (truncated):

Building an eLinux application with wayland backend in release mode for arm64 target...       177.9s
Failed to cmake build:
[  0%] Built target flutter_assemble
[ 15%] Building CXX object flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/standard_codec.cc.o
[ 15%] Building CXX object flutter/CMakeFiles/flutter_wrapper_plugin.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o
[ 23%] Building CXX object flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o
[ 30%] Building CXX object flutter/CMakeFiles/flutter_wrapper_plugin.dir/ephemeral/cpp_client_wrapper/standard_codec.cc.o
[ 38%] Building CXX object flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/flutter_engine.cc.o

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /usr/bin/clang++ -DNDEBUG -I/home/pi/flutter/sample/elinux/flutter/ephemeral/cpp_client_wrapper/include -I/home/pi/flutter/sample/elinux/flutter/ephemeral -O3 -DNDEBUG
-Wall -Werror -O3 -std=gnu++17 -MD -MT flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o -MF
CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o.d -o CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o -c
/home/pi/flutter/sample/elinux/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '/home/pi/flutter/sample/elinux/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc'.
4.      Running pass 'AArch64 Assembly Printer' on function '@_ZN7flutter19BinaryMessengerImplD2Ev'

Any idea why this is happening ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant