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

Building Qt for Android with -ltcg fails to compile

    XMLWordPrintable

    Details

    • Platform/s:
      Android
    • Commits:
      80de5165658e1cfb12d0813ea93dcfecca0dcb45 (qt/qtbase/dev) 1d17a5a0520ae99ba1832f5db2ee8615fe9df010 (qt/qtbase/6.2)

      Description

      With Android, we seem to unconditionally optimize for size (at least in releas builds); and thus passing -Oz along. However, -Oz isn't an option that the linker understands (at least until https://reviews.llvm.org/D79919 lands). As we pass the option to the linker when configured with -ltcg, the build breaks.

      Note that this was also broken in Qt 5 with qmake for basically the same reason.

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes