You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is splitting from issue #45 (comment)
Please let me know if you need more info.
~/Desktop/flutter-test
❯ flutter create testcase
~/Desktop/flutter-test
❯ cd testcase
Desktop/flutter-test/testcase via 🎯 v2.14.4
❯ flutter build linux
💪 Building with sound null safety 💪
CMake Error at /snap/flutter/111/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"/snap/flutter/current/usr/bin/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/joshua-admin/Desktop/flutter-test/testcase/build/linux/x64/release/CMakeFiles/CMakeTmp
Run Build Command:"/snap/flutter/current/usr/bin/ninja" "cmTC_698b8"
[1/2] Building CXX object CMakeFiles/cmTC_698b8.dir/testCXXCompiler.cxx.o
[2/2] Linking CXX executable cmTC_698b8
FAILED: cmTC_698b8
: && /snap/flutter/current/usr/bin/clang++ -L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -L/snap/flutter/current/usr/lib/x86_64-linux-gnu -lblkid -lgcrypt -llzma -lpthread -ldl -L/snap/flutter/current/usr/lib/ -L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -L/snap/flutter/current/usr/lib/x86_64-linux-gnu -lblkid -lgcrypt -llzma -lpthread -ldl -L/snap/flutter/current/usr/lib/ CMakeFiles/cmTC_698b8.dir/testCXXCompiler.cxx.o -o cmTC_698b8 && :
/snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crt1.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
/snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crt1.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crt1.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/snap/flutter/current/usr/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crti.o: unable to initialize decompress status for section .debug_line
/snap/flutter/current/usr/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crti.o: unable to initialize decompress status for section .debug_line
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crti.o: file not recognized: File format not recognized
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
Building Linux application...
Unable to generate build files
Desktop/flutter-test/testcase via 🎯 v2.14.4
❯ snap version
snap 2.53.2-1.16
snapd 2.53.2-1.16
series 16
opensuse-tumbleweed 20211202
kernel 5.15.5-1-default
Desktop/flutter-test/testcase via 🎯 v2.14.4
❯ snap list
Name Version Rev Tracking Publisher Notes
flutter 0+git.671983f 111 latest/stable flutter-team✓ classic
The text was updated successfully, but these errors were encountered:
Installing clang on the system fixed it, thanks for the tip @Silfalion . Seems strange to need it with a snap package, but I'll take the win ¯\_ (ツ)_/¯
This is splitting from issue #45 (comment)
Please let me know if you need more info.
OS Details:
The text was updated successfully, but these errors were encountered: