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

Binary builds should be LTO/LTCG

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.10
    • Packaging & Installer
    • None

    Description

      If we want users to get the best performance, our builds should enable LTO mode (CMake option -DCMAKE_INTEPROCEDURAL_OPTIMIZATION=ON). There are more things we should do to get users the best experience possible, but this is a start.

      I've been building on Linux with LTO enabled for a couple of years now and have not had trouble.

      Having such configuration enabled would have helped catch QTBUG-133494, for example.

      Attachments

        Issue Links

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

          Activity

            People

              releaseteam Qt Release Team
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes