Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.1
Description
What:
When trying to configure an application with visionfive2 it fails with:
[cmake] -- The CXX compiler identification is GNU 13.3.0 [cmake] -- Detecting CXX compiler ABI info [cmake] -- Detecting CXX compiler ABI info - failed [cmake] -- Check for working CXX compiler: /home/qtRTA/B2Qt_6.8.1/6.8.1/Boot2Qt/visionfive2/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/riscv64-poky-linux/riscv64-poky-linux-g++ [cmake] -- Check for working CXX compiler: /home/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/visionfive2/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/riscv64-poky-linux/riscv64-poky-linux-g++ - broken [cmake] CMake Error at /home/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/visionfive2/toolchain/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:60 (message): [cmake] The C++ compiler [cmake] [cmake] "/home/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/visionfive2/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/riscv64-poky-linux/riscv64-poky-linux-g++" [cmake] [cmake] is not able to compile a simple test program. [cmake] [cmake] It fails with the following output: [cmake] [cmake] Change Dir: '/home/qt/RTA/B2Qt_6.8.1/Examples/Qt-6.8.1/corelib/ipc/localfortuneclient/build/Boot2Qt_6_8_1_StarFive_VisionFive_2-Debug/CMakeFiles/CMakeScratch/TryCompile-CsmSxb' [cmake] [cmake] Run Build Command(s): /home/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/visionfive2/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/cmake -E env VERBOSE=1 /home/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/visionfive2/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/ninja -f Makefile cmTC_0b90e/fast [cmake] ninja: error: Makefile:5: expected '=', got ':' [cmake] default_target: all [cmake] ^ near here
Where:
Boot to Qt 6.8.1 (SHA1: 2358c623d686f962556e541045312870b058eca3)
StarFive VisionFive2 (on Linux host)