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

Compile warnings with link time optimization

XMLWordPrintable

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

      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

       

        1. build.log
          61 kB
          Ari Parkkila
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            arpa Ari Parkkila
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes