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

qmlcachegen fails to build on architectures without JIT

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P1: Critical
    • Resolution: Done
    • 5.9.0 Beta 3
    • 5.9.0 RC
    • None
    • Debian GNU/Linux experimental: ppc64, mips, s390x

    Description

      qmlcachegen.cpp tries to use QV4::JIT::createISelForArchitecture function, however the source code of that function is inside #if ENABLE(ASSEMBLER) block, so it is not built on architectures without JIT support.

      So on such architectures we get this compilation error:

      qmlcachegen.cpp:330: error: undefined reference to 'QV4::JIT::createISelForArchitecture(QString const&)'
      

      The full build logs can be seen here.

      I think either there should be some fallback code for architectures without JIT support, or qmlcachegen should not be built on such architectures at all.

      Cc shausman because he was the author of https://codereview.qt-project.org/183950.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-60597
          # Subject Branch Project Status CR V

          Activity

            People

              shausman Simon Hausmann
              mandriver Dmitry Shachnev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes