[Webkit-unassigned] [Bug 265082] New: [GTK] [2.43.1] Fails to buid with "riscv64RaiseMismatchedOperands: Unable to match operands"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 18 02:53:54 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=265082

            Bug ID: 265082
           Summary: [GTK] [2.43.1] Fails to buid with
                    "riscv64RaiseMismatchedOperands: Unable to match
                    operands"
           Product: WebKit
           Version: Other
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: berto at igalia.com
                CC: bugs-noreply at webkitgtk.org

WebKitGTK 2.43.1 fails to build in riscv64:

cd /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources && /usr/bin/cmake -E env CMAKE_CXX_COMPILER_ID=GNU GCC_OFFLINEASM_SOURCE_MAP=OFF /usr/bin/ruby /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb -I/tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/ /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /tmp/webkitgtk-2.43.1/build-soup2/bin/LLIntOffsetsExtractor /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/LLIntAssembly.h normal --binary-format=ELF && /usr/bin/cmake -E touch_nocreate /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/LLIntAssembly.h
FAILED: JavaScriptCore/DerivedSources/LLIntAssembly.h /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/LLIntAssembly.h 
cd /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources && /usr/bin/cmake -E env CMAKE_CXX_COMPILER_ID=GNU GCC_OFFLINEASM_SOURCE_MAP=OFF /usr/bin/ruby /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb -I/tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/ /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /tmp/webkitgtk-2.43.1/build-soup2/bin/LLIntOffsetsExtractor /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/LLIntAssembly.h normal --binary-format=ELF && /usr/bin/cmake -E touch_nocreate /tmp/webkitgtk-2.43.1/build-soup2/JavaScriptCore/DerivedSources/LLIntAssembly.h
/tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/riscv64.rb:132:in `riscv64RaiseMismatchedOperands': Unable to match operands [RegisterID, RegisterID, LabelReference] (due to LowLevelInterpreter64.asm:260) (LoweringError)
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/riscv64.rb:136:in `riscv64ValidateOperands'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/riscv64.rb:1627:in `lowerRISCV64'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:137:in `lower'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:195:in `block in lower'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:193:in `each'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:193:in `lower'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:443:in `block (5 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:102:in `inAsm'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:442:in `block (4 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/settings.rb:210:in `emitCodeInConfiguration'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:440:in `block (3 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/settings.rb:107:in `forSettings'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:425:in `block (2 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:421:in `each'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:421:in `block in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:405:in `open'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:405:in `<main>'
/tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/riscv64.rb:132:in `riscv64RaiseMismatchedOperands': Unable to match operands [RegisterID, RegisterID, LabelReference] (RuntimeError)
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/riscv64.rb:136:in `riscv64ValidateOperands'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/riscv64.rb:1627:in `lowerRISCV64'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:137:in `lower'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:195:in `block in lower'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:193:in `each'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/backends.rb:193:in `lower'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:443:in `block (5 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:102:in `inAsm'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:442:in `block (4 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/settings.rb:210:in `emitCodeInConfiguration'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:440:in `block (3 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/settings.rb:107:in `forSettings'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:425:in `block (2 levels) in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:421:in `each'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:421:in `block in <main>'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:405:in `open'
        from /tmp/webkitgtk-2.43.1/Source/JavaScriptCore/offlineasm/asm.rb:405:in `<main>'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231118/b13c7da4/attachment-0001.htm>


More information about the webkit-unassigned mailing list