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

Separate debug info builds are broken when cross-compiling, wrong objcopy is used

    XMLWordPrintable

Details

    • Linux/Yocto
    • 5ef0e3435ee00fc5b975fb2f2e9100d98542e591 (qt/qtbase/dev) 9bfeb9c88b1b7e18bbc8b2a1d5e7712fd1d75393 (qt/qtbase/6.2)

    Description

      For cross builds qtbase separate debug info configure test fails due to calling wrong CMAKE_OBJCOPY , it seems that this not set during try_compile calls (CMAKE_OBJCOPY points to host instead of target) , however it is present in CMakeCache.txt (points correctly to target)

      Setting it beforehand like in https://codereview.qt-project.org/c/yocto/meta-qt6/+/372149 fixes the issue, however this value should be auto detected.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            michal Michal Klocek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes