HI, all I'm new to webkit.I'm trying to build webkit on DirectFB port.I checkout source code from git://git.directfb.org/git/directfb/libs/WebKitDFB.git and use its branch webkitdfb-20120627 which base on a snapshot of original webkit code of date 2012.6.27.
I just simply configure & make and get a error as follow: ------------------------------------------------------------ CXX Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o In file included from ./Source/JavaScriptCore/heap/WeakBlock.h:31:0, from ./Source/JavaScriptCore/heap/WeakSet.h:29, from ./Source/JavaScriptCore/heap/MarkedBlock.h:28, from ./Source/JavaScriptCore/heap/MarkedAllocator.h:4, from ./Source/JavaScriptCore/heap/Heap.h:29, from ./Source/JavaScriptCore/runtime/JSGlobalData.h:35, from ./Source/JavaScriptCore/assembler/AssemblerBuffer.h:33, from ./Source/JavaScriptCore/assembler/MIPSAssembler.h:34, from ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:32, from ./Source/JavaScriptCore/assembler/MacroAssembler.h:40, from ./Source/JavaScriptCore/jit/JITWriteBarrier.h:31, from ./Source/JavaScriptCore/bytecode/CallLinkInfo.h:30, from ./Source/JavaScriptCore/bytecode/CodeBlock.h:34, from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28: ./Source/JavaScriptCore/heap/WeakImpl.h: In static member function 'static JSC::WeakImpl* JSC::WeakImpl::asWeakImpl(JSC::JSValue*)': ./Source/JavaScriptCore/heap/WeakImpl.h:110:108: warning: cast from 'char*' to 'JSC::WeakImpl*' increases required alignment of target type In file included from ./Source/JavaScriptCore/heap/WeakSet.h:29:0, from ./Source/JavaScriptCore/heap/MarkedBlock.h:28, from ./Source/JavaScriptCore/heap/MarkedAllocator.h:4, from ./Source/JavaScriptCore/heap/Heap.h:29, from ./Source/JavaScriptCore/runtime/JSGlobalData.h:35, from ./Source/JavaScriptCore/assembler/AssemblerBuffer.h:33, from ./Source/JavaScriptCore/assembler/MIPSAssembler.h:34, from ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:32, from ./Source/JavaScriptCore/assembler/MacroAssembler.h:40, from ./Source/JavaScriptCore/jit/JITWriteBarrier.h:31, from ./Source/JavaScriptCore/bytecode/CallLinkInfo.h:30, from ./Source/JavaScriptCore/bytecode/CodeBlock.h:34, from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28: ./Source/JavaScriptCore/heap/WeakBlock.h: In static member function 'static JSC::WeakImpl* JSC::WeakBlock::asWeakImpl(JSC::WeakBlock::FreeCell*)': ./Source/JavaScriptCore/heap/WeakBlock.h:102:48: warning: cast from 'JSC::WeakBlock::FreeCell*' to 'JSC::WeakImpl*' increases required alignment of target type ./Source/JavaScriptCore/heap/WeakBlock.h: In member function 'JSC::WeakImpl* JSC::WeakBlock::weakImpls()': ./Source/JavaScriptCore/heap/WeakBlock.h:120:44: warning: cast from 'JSC::WeakBlock*' to 'JSC::WeakImpl*' increases required alignment of target type In file included from ./Source/JavaScriptCore/jit/JITWriteBarrier.h:31:0, from ./Source/JavaScriptCore/bytecode/CallLinkInfo.h:30, from ./Source/JavaScriptCore/bytecode/CodeBlock.h:34, from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28: ./Source/JavaScriptCore/assembler/MacroAssembler.h: In member function 'void JSC::MacroAssembler::and32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID)': ./Source/JavaScriptCore/assembler/MacroAssembler.h:794:50: error: no matching function for call to 'JSC::MacroAssembler::and32(const JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:766:10: note: candidates are: void JSC::MacroAssembler::and32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:786:10: note: void JSC::MacroAssembler::and32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:245:10: note: void JSC::MacroAssemblerMIPS::and32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:240:10: note: void JSC::MacroAssemblerMIPS::and32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h: In member function 'void JSC::MacroAssembler::or32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID)': ./Source/JavaScriptCore/assembler/MacroAssembler.h:813:49: error: no matching function for call to 'JSC::MacroAssembler::or32(const JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:805:10: note: candidates are: void JSC::MacroAssembler::or32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:816:10: note: void JSC::MacroAssembler::or32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:308:10: note: void JSC::MacroAssemblerMIPS::or32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:303:10: note: void JSC::MacroAssemblerMIPS::or32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:298:10: note: void JSC::MacroAssemblerMIPS::or32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h: In member function 'void JSC::MacroAssembler::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID)': ./Source/JavaScriptCore/assembler/MacroAssembler.h:884:42: error: no matching function for call to 'JSC::MacroAssembler::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:880:10: note: candidates are: void JSC::MacroAssembler::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:890:10: note: void JSC::MacroAssembler::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:474:10: note: void JSC::MacroAssemblerMIPS::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:469:10: note: void JSC::MacroAssemblerMIPS::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:887:50: error: no matching function for call to 'JSC::MacroAssembler::xor32(const JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:880:10: note: candidates are: void JSC::MacroAssembler::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:890:10: note: void JSC::MacroAssembler::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:474:10: note: void JSC::MacroAssemblerMIPS::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:469:10: note: void JSC::MacroAssemblerMIPS::xor32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Jump JSC::MacroAssembler::branchSub32(JSC::MacroAssemblerMIPS::ResultCondition, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID)': ./Source/JavaScriptCore/assembler/MacroAssembler.h:968:56: error: no matching function for call to 'JSC::MacroAssembler::branchSub32(JSC::MacroAssemblerMIPS::ResultCondition&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:962:10: note: candidates are: JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Jump JSC::MacroAssembler::branchSub32(JSC::MacroAssemblerMIPS::ResultCondition, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:1354:10: note: JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Jump JSC::MacroAssemblerMIPS::branchSub32(JSC::MacroAssemblerMIPS::ResultCondition, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:1348:10: note: JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Jump JSC::MacroAssemblerMIPS::branchSub32(JSC::MacroAssemblerMIPS::ResultCondition, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:1301:10: note: JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Jump JSC::MacroAssemblerMIPS::branchSub32(JSC::MacroAssemblerMIPS::ResultCondition, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h: In member function 'void JSC::MacroAssembler::lshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID)': ./Source/JavaScriptCore/assembler/MacroAssembler.h:987:57: error: no matching function for call to 'JSC::MacroAssembler::lshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:980:10: note: candidates are: void JSC::MacroAssembler::lshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:985:10: note: void JSC::MacroAssembler::lshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:267:10: note: void JSC::MacroAssemblerMIPS::lshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:262:10: note: void JSC::MacroAssemblerMIPS::lshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h: In member function 'void JSC::MacroAssembler::urshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID)': ./Source/JavaScriptCore/assembler/MacroAssembler.h:1007:58: error: no matching function for call to 'JSC::MacroAssembler::urshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID&)' ./Source/JavaScriptCore/assembler/MacroAssembler.h:1000:10: note: candidates are: void JSC::MacroAssembler::urshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssembler.h:1005:10: note: void JSC::MacroAssembler::urshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:347:10: note: void JSC::MacroAssemblerMIPS::urshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:342:10: note: void JSC::MacroAssemblerMIPS::urshift32(JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::MIPSAssembler>::RegisterID) In file included from ./Source/WTF/wtf/text/WTFString.h:28:0, from ./Source/WTF/wtf/DateMath.h:54, from ./Source/JavaScriptCore/runtime/JSDateMath.h:46, from ./Source/JavaScriptCore/runtime/DateInstanceCache.h:29, from ./Source/JavaScriptCore/runtime/JSGlobalData.h:33, from ./Source/JavaScriptCore/assembler/AssemblerBuffer.h:33, from ./Source/JavaScriptCore/assembler/MIPSAssembler.h:34, from ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:32, from ./Source/JavaScriptCore/assembler/MacroAssembler.h:40, from ./Source/JavaScriptCore/jit/JITWriteBarrier.h:31, from ./Source/JavaScriptCore/bytecode/CallLinkInfo.h:30, from ./Source/JavaScriptCore/bytecode/CodeBlock.h:34, from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28: ./Source/WTF/wtf/text/ASCIIFastPath.h: In function 'bool WTF::charactersAreAllASCII(const CharacterType*, size_t) [with CharacterType = unsigned char, size_t = unsigned int]': ./Source/WTF/wtf/text/WTFString.h:524:69: instantiated from here ./Source/WTF/wtf/text/ASCIIFastPath.h:84:9: warning: cast from 'const unsigned char*' to 'const WTF::MachineWord*' increases required alignment of target type ./Source/WTF/wtf/text/ASCIIFastPath.h: In function 'bool WTF::charactersAreAllASCII(const CharacterType*, size_t) [with CharacterType = short unsigned int, size_t = unsigned int]': ./Source/WTF/wtf/text/WTFString.h:526:66: instantiated from here ./Source/WTF/wtf/text/ASCIIFastPath.h:84:9: warning: cast from 'const short unsigned int*' to 'const WTF::MachineWord*' increases required alignment of target type make: *** [Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o] Error 1 ------------------------------------------------------------------------------------------ It seems like some functions didn't implement in header file ./Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h The gcc I used is mipsel-linux-gcc(version 4.5.3). with uClibc-0.9.32 I have looked at the archives and the commits but did not find any solution. Does anyone know what could be the issue. Thanks -- Tang
_______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-help