Bug 63119 (mxp)
Summary: | compile webkit with qt4.7.3 on sh4 platform error | ||
---|---|---|---|
Product: | WebKit | Reporter: | xiangpeng <imxiangpeng> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ahmad.saleem792, annulen, ap, bfulgham, rniwa, thouraya.andolsi |
Priority: | P5 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | Linux |
xiangpeng
Recently , Iam working on sh4 platform , I have downloaded WebKit-r89368 and qtwebkit2.2, when I compile with
Tools/Scripts/build-webkit --qt --qmake="sh4-linux-qmake"
then, It seems some errors!WebKit-r89368 and qtwebkit2.2 all have same errors!
nction.o ../../../Source/JavaScriptCore/API/JSCallbackFunction.cpp
In file included from ../../../Source/JavaScriptCore/assembler/MacroAssembler.h:54,
from ../../../Source/JavaScriptCore/bytecode/Instruction.h:32,
from ../../../Source/JavaScriptCore/bytecode/CodeBlock.h:34,
from ../../../Source/JavaScriptCore/API/JSCallbackFunction.cpp:31:
../../../Source/JavaScriptCore/assembler/MacroAssemblerSH4.h:738: error: ‘JSC::AbstractMacroAssembler<JSC::SH4Assembler>::DataLabel32 JSC::MacroAssemblerSH4::load32WithAddressOffsetPatch(JSC::AbstractMacroAssembler<JSC::SH4Assembler>::Address, JSC::SH4Registers::RegisterID)’ cannot be overloaded
../../../Source/JavaScriptCore/assembler/MacroAssemblerSH4.h:727: error: with ‘JSC::AbstractMacroAssembler<JSC::SH4Assembler>::DataLabel32 JSC::MacroAssemblerSH4::load32WithAddressOffsetPatch(JSC::AbstractMacroAssembler<JSC::SH4Assembler>::Address, JSC::SH4Registers::RegisterID)’
../../../Source/JavaScriptCore/assembler/MacroAssemblerSH4.h: In member function ‘JSC::AbstractMacroAssembler<JSC::SH4Assembler>::DataLabel32 JSC::MacroAssemblerSH4::load32WithAddressOffsetPatch(JSC::AbstractMacroAssembler<JSC::SH4Assembler>::Address, JSC::SH4Registers::RegisterID)’:
../../../Source/JavaScriptCore/assembler/MacroAssemblerSH4.h:746: error: conversion from ‘JSC::AbstractMacroAssembler<JSC::SH4Assembler>::DataLabelCompact’ to non-scalar type ‘JSC::AbstractMacroAssembler<JSC::SH4Assembler>::DataLabel32’ requested
In file included from ../../../Source/JavaScriptCore/bytecode/Instruction.h:32,
from ../../../Source/JavaScriptCore/bytecode/CodeBlock.h:34,
from ../../../Source/JavaScriptCore/API/JSCallbackFunction.cpp:31:
../../../Source/JavaScriptCore/assembler/MacroAssembler.h: In member function ‘JSC::AbstractMacroAssembler<JSC::SH4Assembler>::DataLabelCompact JSC::MacroAssembler::loadPtrWithCompactAddressOffsetPatch(JSC::AbstractMacroAssembler<JSC::SH4Assembler>::Address, JSC::SH4Registers::RegisterID)’:
../../../Source/JavaScriptCore/assembler/MacroAssembler.h:241: error: ‘load32WithCompactAddressOffsetPatch’ was not declared in this scope
make[1]: *** [obj/release/JSCallbackFunction.o] Error 1
make[1]: Leaving directory `/genData/SoftWare/WebKit-r89368/WebKitBuild/Release/JavaScriptCore'
make: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2
bash-4.1$
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Konstantin Tokarev
If you are not insist on JIT support, try to disable it passing DEFINES+=ENABLE_JIT=0 as extra argument for build-webkit
CC'ed author of sh4 JIT
thouraya
Hi xiangpeng,
After updating QtWebkit2.2, do you still have the error?
Regards,
Thouraya.
Ahmad Saleem
Qt toolkit is not supported anymore. Can this be closed as "RESOLVED INVALID"? Thanks!