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

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

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes