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

Failed to cross-compile qtbase with Apalis iMX6 and and STM32MP157F

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 6.7.3, 6.8.0
    • Device Creation
    • None

    Description

      Steps to reproduce

      1. Install qbsp (6.7.3, but can be later as well) for device on your linux host (in my case Ubuntu 22.04)
      2. Cross-compile qtbase (dev branch) to device. Attachment script compiles also some modules to host, but cross compiling fails already on qtbase compiling. Use script:
        1. build_qt_submodules_apalis-imx6.sh

      Observed results:

      FAILED: src/corelib/CMakeFiles/Core.dir/io/qstorageinfo_linux.cpp.o
      /home/qt/RTA/B2Qt_6.7.3/6.7.3/Boot2Qt/apalis-imx6/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnu>
      /home/qt/RTA/submodules/qtbase/src/corelib/io/qstorageinfo_linux.cpp: In function ‘quint64 mountIdForPath(int)’:
      /home/qt/RTA/submodules/qtbase/src/corelib/io/qstorageinfo_linux.cpp:320:19: error: ‘struct statx’ has no member named ‘stx_mnt_id’; did yo>
        320 |         return st.stx_mnt_id;
            |                   ^~~~~~~~~~
            |                   stx_uid
       

      Full log:  build_log_STM32MP157F.zip   build_log_apalis-imx6.zip

      Attachments

        1. build_log_apalis-imx6.zip
          167 kB
          Juho Lääkkö
        2. build_log_STM32MP157F.zip
          167 kB
          Juho Lääkkö
        3. build_qt_submodules_apalis-imx6.sh
          4 kB
          Juho Lääkkö

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              julaakko Juho Lääkkö
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes