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

building qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp fails with gcc 8.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.12.1
    • Fix Version/s: 5.12.2
    • Component/s: Qt Script
    • Labels:
      None
    • Platform/s:
      Linux/Other display system
    • Commits:
      97ec1d1882a83c23c91f0f7daea48e05858d8c32

      Description

      The very same build with gcc 8.2 works. It also works if I build this for ppc, but the little endian platforms I tried (ia32, amd64, arm) all fail.

      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp: At global scope:
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:5: error: expected '(' before 'volatile'
       asm volatile (
           ^~~~~~~~
           (
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:484:1: error: expected unqualified-id before string constant
       ".text\n"
       ^~~~~~~~~
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:15: error: expected ')' before string constant
       asm volatile (
                    ~^
                     )
       ".text\n"
       ~~~~~~~~~      
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:5: error: expected '(' before 'volatile'
       asm volatile (
           ^~~~~~~~
           (
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:519:1: error: expected unqualified-id before string constant
       ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
       ^~~~~~~~~
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:15: error: expected ')' before string constant
       asm volatile (
                    ~^
                     )
       ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
       ~~~~~~~~~      
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:5: error: expected '(' before 'volatile'
       asm volatile (
           ^~~~~~~~
           (
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:535:1: error: expected unqualified-id before string constant
       ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
       ^~~~~~~~~
      /tmp/e2/build/qt-everywhere-src-5.12.1/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:15: error: expected ')' before string constant
       asm volatile (
                    ~^
                     )
      

        Attachments

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

          Activity

            People

            • Assignee:
              laknoll Lars Knoll
              Reporter:
              rebemlix Rolf Eike Beer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes