Skip to content

Error on LowLevelInterpreter with mingw build #28

@aquiles2k

Description

@aquiles2k

Im trying to build the latest qt5 code with mxe crosscompiled for win.

After some initial patches it seems its getting configured but fails later with the following:

/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp: In static member function 'static JSC::JSValue JSC::LLInt::CLoop::execute(JSC::OpcodeID, void*, JSC::VM*, JSC::ProtoCallFrame*, bool)':
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1.build_/JavaScriptCore/DerivedSources/Bytecodes.h:32:11: error: label 'op_create_this_wide16' used but not defined
   32 |     macro(op_create_this, 5) \
      |           ^~~~~~~~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:257:63: note: in definition of macro 'OPCODE_ENTRY'
  257 |             opcodeMapWide16[__opcode] = bitwise_cast<void*>(&&__opcode##_wide16); \
      |                                                               ^~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:273:9: note: in expansion of macro 'FOR_EACH_BYTECODE_ID'
  273 |         FOR_EACH_BYTECODE_ID(OPCODE_ENTRY)
      |         ^~~~~~~~~~~~~~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1.build_/JavaScriptCore/DerivedSources/Bytecodes.h:33:11: error: label 'op_create_promise_wide16' used but not defined
   33 |     macro(op_create_promise, 5) \
      |           ^~~~~~~~~~~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:257:63: note: in definition of macro 'OPCODE_ENTRY'
  257 |             opcodeMapWide16[__opcode] = bitwise_cast<void*>(&&__opcode##_wide16); \
      |                                                               ^~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:273:9: note: in expansion of macro 'FOR_EACH_BYTECODE_ID'
  273 |         FOR_EACH_BYTECODE_ID(OPCODE_ENTRY)
      |         ^~~~~~~~~~~~~~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1.build_/JavaScriptCore/DerivedSources/Bytecodes.h:34:11: error: label 'op_create_generator_wide16' used but not defined
   34 |     macro(op_create_generator, 4) \
      |           ^~~~~~~~~~~~~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:257:63: note: in definition of macro 'OPCODE_ENTRY'
  257 |             opcodeMapWide16[__opcode] = bitwise_cast<void*>(&&__opcode##_wide16); \
      |                                                               ^~~~~~~~
/home/adrian/dev/sources/mxe/tmp-qtwebkit2-i686-w64-mingw32.shared/qtwebkit-1/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:273:9: note: in expansion of macro 'FOR_EACH_BYTECODE_ID'
  273 |         FOR_EACH_BYTECODE_ID(OPCODE_ENTRY)
      |         ^~~~~~~~~~~~~~~~~~~~

Has anyone any clue whats going wrong? Is it perhaps some misconfiguration? Some missing includes? This bytecode generation voodoo is so low level - i dont have a clue where to look for fixing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions