Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95829

Problem with meta-toolchain-qt6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.2.0 Beta2
    • Yocto: meta-qt6 layer
    • None
    • Ubuntu Linux 20 LTS
    • Linux/Yocto

    Description

      Hello,
      I've built yocto's dunfell with meta-qt6 branch 6.2; after the image creation I've built sdk for qtcreator configuration.
      Using the sdk created (both intel64 and rpi4-64) I'm trying to build the Qml Video Shader Effects Example but I cannot build the project it report this:

      /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53: error: The C++ compiler "/opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g+" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/enricopelo/Qt/Examples/Qt-6.2.0/multimediawidgets/build-player-rpi4_Qt6_2_0-Debug/CMakeFiles/CMakeTmp Run Build Command(s):/home/enricopelo/Qt/Tools/Ninja/ninja cmTC_9a098 && [1/2] Building CXX object CMakeFiles/cmTC_9a098.dir/testCXXCompiler.cxx.o [2/2] Linking CXX executable cmTC_9a098 FAILED: cmTC_9a098 : && /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g+ CMakeFiles/cmTC_9a098.dir/testCXXCompiler.cxx.o -o cmTC_9a098 && : /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find Scrt1.o: No such file or directory /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find crti.o: No such file or directory /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find crtbeginS.o: No such file or directory /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lstdc++ /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lm /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lgcc_s /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lgcc /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lc /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lgcc_s /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find -lgcc /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find crtendS.o: No such file or directory /opt/rpi64/qt620/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/real-ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.

       

      there something missing in the image/sdk creation?

      Best regards
      Enrico

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            peel70 Enrico Pelò
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes