Bug 265082
Summary: | [GTK] [2.43.1] Fails to buid with "riscv64RaiseMismatchedOperands: Unable to match operands" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alberto Garcia <berto> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bugs-noreply, marvin_schmidt |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Other | ||
OS: | Linux |
Alberto Garcia
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>'
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alberto Garcia
*** This bug has been marked as a duplicate of bug 266218 ***