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

[REG v6.0.0-beta3 -> dev] configure -ltcg no longer works

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.0.0 Beta4
    • Build System: CMake
    • None
    • $ lsb_release -d
      Description: openSUSE Leap 15.2
      $ uname -a
      Linux localhost.localdomain 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64 x86_64 x86_64 GNU/Linux
    • Linux/X11

    Description

      Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.

      The -ltcg (Link Time Code Generation) configure option seems to have stopped working in the cmake based version of configure. 

      $ git clone git://code.qt.io/qt/qt5.git
      ...
      $ cd qt5
      $ git checkout v6.0.0-beta3
      $ perl init-repository -f
      ...
      $ ./configure -opensource -developer-build -confirm-license -ltcg
      ...
        Using LTCG ............................. yes
      ...
      $ git checkout dev
      ...
      $ git reflog
      43291fd1 (HEAD -> dev, origin/dev, origin/HEAD) HEAD@{0}: clone: from git://code.qt.io/qt/qt5.git
      $ perl init-repository -f
      ...
      $ ./configure -opensource -developer-build -confirm-license -ltcg
      ...
        Using LTCG ............................. no
      ...
      $ 
      

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              macadder Jason McDonald
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes