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

Build target "profile" fails on Windows Device Creation cross-compilation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.3
    • 5.6.2, 5.7.0
    • Device Creation
    • None
    • Windows 10, xplaform Linux / Qt For Device Creation with Boot2Qt 5.7.0 Boundary Devices i.MX6
    • 62d13e2e9bbddf5f3e2ab24fd1138b970bc89805

    Description

      Using Qt for Device Creation on Windows the cross compiled build "Profile" tries to run chmod on separate debug info symbols. chmod doesn't exist in the Mingw host binaries. Fix is to not to run chmod when cross compiling in Windows or add (dummy?) chmod to host bins.

      Error is in qtbase\mkspecs\features\unix\separate_debug_info
      chmod_debug_info = chmod -x $$shell_target_debug_info

      C:/Qt/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-objcopy --strip-debug Cluster_Qt3d && C:/Qt/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-objcopy --add-gnu-debuglink=Cluster_Qt3d.debug Cluster_Qt3d && chmod -x Cluster_Qt3d.debug
      'chmod' is not recognized as an internal or external command,
      operable program or batch file.
      Makefile:81: recipe for target 'Cluster_Qt3d' failed
      make: *** [Cluster_Qt3d] Error 1
      12:54:44: The process "C:\Qt\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" exited with code 2.
      Error while building/deploying project Cluster_Qt3d (kit: Boot2Qt 5.7.0 Boundary Devices i.MX6)
      When executing step "Make"
      

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            e0150566 Janne Koskinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes