[Webkit-unassigned] [Bug 290243] New: Building 2.48.0 for RISCV64 using Clang 20 Failed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 21 23:43:51 PDT 2025
https://bugs.webkit.org/show_bug.cgi?id=290243
Bug ID: 290243
Summary: Building 2.48.0 for RISCV64 using Clang 20 Failed
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: raj.khem at gmail.com
cross compiling with clang-20 to riscv64 targets is failing with below errors
```
| | ^~~~
| 1 warning generated.
| [2684/8267] Linking CXX executable bin/LLIntOffsetsExtractor
| [2685/8267] Generating ../../JavaScriptCore/DerivedSources/LLIntAssembly.h
| FAILED: JavaScriptCore/DerivedSources/LLIntAssembly.h /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/build/JavaScriptCore/DerivedSources/LLIntAssembly.h
| cd /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/build/JavaScriptCore/DerivedSources && /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/recipe-sDerivedSources/LLIntAssembly.h normal --binary-format=ELF && /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/recipe-sysroot-native/usr/bin/cmake -E touch_nocreate /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/build/JavaScriptCore/DerivedSources/LLIntAssembly.h
| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/riscv64.rb:132:in 'Object#riscv64RaiseMismatchedOperands': Unable to match operands [RegisterID, LabelReference] (due to WebAssembly.asm:747) (LoweringError)
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/riscv64.rb:136:in 'Object#riscv64ValidateOperands'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/riscv64.rb:1630:in 'Instruction#lowerRISCV64'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:126:in 'Node#lower'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:188:in 'block in Sequence#lower'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:186:in 'Array#each'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:186:in 'Sequence#lower'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:399:in 'block (5 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:101:in 'Assembler#inAsm'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:398:in 'block (4 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/settings.rb:201:in 'Object#emitCodeInConfiguration'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:396:in 'block (3 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/settings.rb:107:in 'Object#forSettings'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:381:in 'block (2 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:377:in 'Array#each'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:377:in 'block in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:361:in 'IO.open'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:361:in '<main>'
| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/riscv64.rb:132:in 'Object#riscv64RaiseMismatchedOperands': Unable to match operands [RegisterID, LabelReference] (RuntimeError)
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/riscv64.rb:136:in 'Object#riscv64ValidateOperands'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/riscv64.rb:1630:in 'Instruction#lowerRISCV64'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:126:in 'Node#lower'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:188:in 'block in Sequence#lower'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:186:in 'Array#each'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/backends.rb:186:in 'Sequence#lower'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:399:in 'block (5 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:101:in 'Assembler#inAsm'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:398:in 'block (4 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/settings.rb:201:in 'Object#emitCodeInConfiguration'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:396:in 'block (3 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/settings.rb:107:in 'Object#forSettings'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:381:in 'block (2 levels) in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:377:in 'Array#each'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:377:in 'block in <main>'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:361:in 'IO.open'
| from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/webkitgtk3/2.48.0/webkitgtk-2.48.0/Source/JavaScriptCore/offlineasm/asm.rb:361:in '<main>'
| ninja: build stopped: subcommand failed.
```
--
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/20250322/492fb74a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list