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

Cross-compilation tries to use non-existing chmod with separate debug info on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.6.3, 5.7.2
    • 5.7.1
    • Device Creation
    • None
    • Windows 10 Boot2Qt 5.7.1

    Description

      Following instructions in https://intranet.qt.io/display/QTCOM/Tests+for+Boot+to+Qt+SDK (Part 2: Profiler) gives the following compilation output:

      16:52:14: Running steps for project profilertest-571...
      16:52:14: Starting: "C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" clean
      C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -spec devices/linux-oe-generic-g++ "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" -o Makefile ..\profilertest-571\profilertest-571.pro
      C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -spec devices/linux-oe-generic-g++ "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" -o Makefile ..\profilertest-571\profilertest-571.pro
      del main.obj
      del *~ core *.core
      Could Not Find C:\Users\kaoikari1\Documents\build-profilertest-571-Boot2Qt_5_7_1_Boundary_Devices_i_MX6-Release\*~
      16:52:15: The process "C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" exited normally.
      16:52:15: Configuration unchanged, skipping qmake step.
      16:52:15: Starting: "C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" 
      C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -spec devices/linux-oe-generic-g++ "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" -o Makefile ..\profilertest-571\profilertest-571.pro
      C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -spec devices/linux-oe-generic-g++ "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" -o Makefile ..\profilertest-571\profilertest-571.pro
      C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -spec devices/linux-oe-generic-g++ "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" -o Makefile ..\profilertest-571\profilertest-571.pro
      C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -spec devices/linux-oe-generic-g++ "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" -o Makefile ..\profilertest-571\profilertest-571.pro
      C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -feliminate-unused-debug-types -DLINUX=1 -DEGL_API_FB=1 --sysroot=C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -O2 -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I..\profilertest-571 -I. -I..\..\..\..\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\cortexa9hf-vfp-neon-poky-linux-gnueabi\usr\include\qt5 -I..\..\..\..\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\cortexa9hf-vfp-neon-poky-linux-gnueabi\usr\include\qt5\QtCore -I. -I..\..\..\..\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\cortexa9hf-vfp-neon-poky-linux-gnueabi\usr\lib\mkspecs\devices\linux-oe-generic-g++ -o main.obj ..\profilertest-571\main.cpp
      C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -o profilertest-571 main.obj   -lQt5Core -lpthread 
      C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-objcopy --only-keep-debug profilertest-571 profilertest-571.debug && C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-objcopy --strip-debug profilertest-571 && C:/Qt-571-test/5.7/Boot2Qt/nitrogen6x/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-objcopy --add-gnu-debuglink=profilertest-571.debug profilertest-571 && chmod -x profilertest-571.debug
      'chmod' is not recognized as an internal or external command,
      operable program or batch file.
      Makefile:63: recipe for target 'profilertest-571' failed
      make: *** [profilertest-571] Error 1
      16:52:19: The process "C:\Qt-571-test\5.7\Boot2Qt\nitrogen6x\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" exited with code 2.
      Error while building/deploying project profilertest-571 (kit: Boot2Qt 5.7.1 Boundary Devices i.MX6)
      When executing step "Make"
      16:52:19: Elapsed time: 00:05.
      

      The compilation works, if separate debug info is not enabled.

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            kari.oikarinen Kari Oikarinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes