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

Building fails on Linux ARM64

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      aacf799ca7 (qt/qtdeclarative/dev) aacf799ca7 (qt/tqtc-qtdeclarative/dev) 01b96285b5 (qt/qtdeclarative/6.3) 01b96285b5 (qt/tqtc-qtdeclarative/6.3) 07e0a80699 (qt/qtdeclarative/6.2) 07e0a80699 (qt/tqtc-qtdeclarative/6.2) 07e0a80699 (qt/qtdeclarative/6.2.4)

      Description

      Building qtdeclarative fails on my Ubuntu 20.04 arm64 virtual machine (GCC10):

      In file included from ../qtdeclarative/src/3rdparty/masm/assembler/MacroAssemblerARM64.h:31,
                       from ../qtdeclarative/src/3rdparty/masm/assembler/MacroAssembler.h:34,
                       from ../qtdeclarative/src/3rdparty/masm/assembler/LinkBuffer.h:40,
                       from ../qtdeclarative/src/3rdparty/masm/assembler/LinkBuffer.cpp:27:
      ../qtdeclarative/src/3rdparty/masm/assembler/ARM64Assembler.h:684:28: error: ‘JSC::ARM64Assembler::LinkRecord::<unnamed union>::RealTypes::m_compareRegister’ is too small to hold all values of ‘JSC::ARM64Assembler::RegisterID’ {aka ‘enum JSC::ARM64Registers::RegisterID’} [-Werror]
        684 |                 RegisterID m_compareRegister : 6;
            |                            ^~~~~~~~~~~~~~~~~
      cc1plus: all warnings being treated as errors
      

      Turning off FEATURE_qml_jit helps.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ulherman Ulf Hermann
              Reporter:
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes