[Webkit-unassigned] [Bug 276937] build failed for riscv64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 23 02:32:59 PDT 2024


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

--- Comment #1 from Changqing Li <changqing.li at windriver.com> ---
Also another two part with similar error:
TOPDIR/tmp/work/riscv64-poky-linux-musl/webkitgtk/2.45.5/webkitgtk-2.45.5/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:661:36: error: cannot convert 'JSC::MacroAssemblerRISCV64::TempRegister<JSC::MacroAssemblerRISCV64::Data>' to 'JSC::RISCV64Assembler::RegisterID' {aka 'JSC::RISCV64Registers::RegisterID'}
  661 |         m_assembler.sllwInsn(dest, temp, shiftAmount);
      |                                    ^~~~
      |                                    |
      |                                    JSC::MacroAssemblerRISCV64::TempRegister<JSC::MacroAssemblerRISCV64::Data>
In file included from TOPDIR/tmp/work/riscv64-poky-linux-musl/webkitgtk/2.45.5/webkitgtk-2.45.5/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:31:
TOPDIR/tmp/work/riscv64-poky-linux-musl/webkitgtk/2.45.5/webkitgtk-2.45.5/Source/JavaScriptCore/assembler/RISCV64Assembler.h:1813:45: note:   initializing argument 2 of 'void JSC::RISCV64Assembler::sllwInsn(RegisterID, RegisterID, RegisterID)'
 1813 |     void sllwInsn(RegisterID rd, RegisterID rs1, RegisterID rs2) { insn(RISCV64Instructions::SLLW::construct(rd, rs1, rs2)); }
      |                                  ~~~~~~~~~~~^~~








TOPDIR/tmp/work/riscv64-poky-linux-musl/webkitgtk/2.45.5/webkitgtk-2.45.5/Source/JavaScriptCore/assembler/MacroAssembler.h:1044:17: error: no matching function for call to 'JSC::MacroAssembler::lshift64(JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::TrustedImm32&, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID&)'
 1044 |         lshift64(imm, shiftAmount, dest);
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/riscv64-poky-linux-musl/webkitgtk/2.45.5/webkitgtk-2.45.5/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:672:10: note: candidate: 'void JSC::MacroAssemblerRISCV64::lshift64(JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID)'
  672 |     void lshift64(RegisterID shiftAmount, RegisterID dest)
      |          ^~~~~~~~

-- 
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/20240723/2e026940/attachment.htm>


More information about the webkit-unassigned mailing list