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

Compile warnings with link time optimization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • Build System: CMake
    • None
    • Linux/Yocto

    Description

      Configure with link time optimization and build, e.g.

      configure -no-prefix -release -submodules qtbase -static -ltcg
      cmake --build .

      On Yocto  some Qt modules fail to build, e.g. => DISTRO_FEATURES:remove = "ld-is-gold" fixes as commented below.

      qtbase.bb: PACKAGECONFIG += "static ltcg"
      bitbake qtserialbus

       

      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
              arpa Ari Parkkila
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes