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

2-Pass version of rcc does not work when using link-time optimization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.4.0 Alpha
    • Fix Version/s: None
    • Component/s: Build tools: rcc
    • Labels:
      None
    • Environment:
      Gentoo Linux, gcc 4.9.0, Qt5.4.0alpha1

      Description

      When building Qt 5.4.0alpha1 using GCC 4.9.0 using -flto only slim files are generated and the object generated via compilation after the first pass does not contain QRC_DATA as expected.

      Relevant commit: https://qt.gitorious.org/qt/qtbase/commit/5395180fcb9a68b1590ce4bf29ef26745161403f

      Steps to reproduce:

      • Build src/designer in qttools using -flto
      • The build will fail with "No data signature found"

      For a full buildlog see: http://paste.kde.org/pdxdzghlh

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            xhochy Uwe L. Korn
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes