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

qmlcachegen fails to build on architectures without JIT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.0 Beta 3
    • Fix Version/s: 5.9.0 RC
    • Labels:
      None
    • Environment:
      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 Simon Hausmann because he was the author of https://codereview.qt-project.org/183950.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              shausman Simon Hausmann
              Reporter:
              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