When I am trying to build v8 for MIP platform, I am getting following
errors:
$ scons simulator=mips
In file included from src/virtual-frame.h:41,
from src/virtual-frame-inl.h:31,
from src/codegen.cc:41:
src/mips/virtual-frame-mips.h:74: error: 'NumberInfo' has not been
declared
src/mips/virtual-frame-mips.h:366: error: 'NumberInfo' has not been
declared
src/mips/virtual-frame-mips.h:390: error: 'NumberInfo' has not been
declared
src/mips/virtual-frame-mips.h:391: error: 'NumberInfo' has not been
declared
src/mips/virtual-frame-mips.h:74: error: 'NumberInfo' has not been
declared
src/mips/virtual-frame-mips.h:366: error: 'NumberInfo' has not been
declared
In file included from src/virtual-frame-inl.h:36,
from src/codegen.cc:41:
src/virtual-frame-light-inl.h: In constructor
'v8::internal::VirtualFrame::VirtualFrame()':
src/virtual-frame-light-inl.h:41: error: class
'v8::internal::VirtualFrame' does not have any field named
'element_count_'
src/virtual-frame-light-inl.h:42: error: class
'v8::internal::VirtualFrame' does not have any field named
'top_of_stack_state_'
src/virtual-frame-light-inl.h:42: error: 'NO_TOS_REGISTERS' was not
declared in this scope
src/virtual-frame-light-inl.h:43: error: class
'v8::internal::VirtualFrame' does not have any field named
'register_allocation_map_'
src/virtual-frame-light-inl.h:43: error: no matching function for call
to 'v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList()'
src/zone.h:170: note: candidates are:
v8::internal::ZoneList<T>::ZoneList(int) [with T =
v8::internal::FrameElement]
src/zone.h:166: note:
v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList(const
v8::internal::ZoneList<v8::internal::FrameElement>&)
src/virtual-frame-light-inl.h: In constructor
'v8::internal::VirtualFrame::VirtualFrame(v8::internal::VirtualFrame*)':
src/virtual-frame-light-inl.h:48: error: class
'v8::internal::VirtualFrame' does not have any field named
'element_count_'
src/virtual-frame-light-inl.h:49: error: class
'v8::internal::VirtualFrame' does not have any field named
'top_of_stack_state_'
src/virtual-frame-light-inl.h:49: error: 'class
v8::internal::VirtualFrame' has no member named 'top_of_stack_state_'
src/virtual-frame-light-inl.h:50: error: class
'v8::internal::VirtualFrame' does not have any field named
'register_allocation_map_'
src/virtual-frame-light-inl.h:50: error: 'class
v8::internal::VirtualFrame' has no member named
'register_allocation_map_'
src/virtual-frame-light-inl.h:50: error: no matching function for call
to 'v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList()'
src/zone.h:170: note: candidates are:
v8::internal::ZoneList<T>::ZoneList(int) [with T =
v8::internal::FrameElement]
src/zone.h:166: note:
v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList(const
v8::internal::ZoneList<v8::internal::FrameElement>&)
src/virtual-frame-light-inl.h: In member function 'bool
v8::internal::VirtualFrame::Equals(v8::internal::VirtualFrame*)':
src/virtual-frame-light-inl.h:55: error: 'top_of_stack_state_' was not
declared in this scope
src/virtual-frame-light-inl.h:55: error: 'class
v8::internal::VirtualFrame' has no member named 'top_of_stack_state_'
src/virtual-frame-light-inl.h:56: error: 'register_allocation_map_'
was not declared in this scope
src/virtual-frame-light-inl.h:56: error: 'class
v8::internal::VirtualFrame' has no member named
'register_allocation_map_'
src/codegen.cc: At global scope:
src/codegen.cc:325: error: 'GenerateCallFunction' is not a member of
'v8::internal::CodeGenerator'
src/codegen.cc:325: error: 'GenerateRegExpConstructResult' is not a
member of 'v8::internal::CodeGenerator'
src/codegen.cc:325: error: 'GenerateGetFromCache' is not a member of
'v8::internal::CodeGenerator'
src/codegen.cc:325: error: 'GenerateSwapElements' is not a member of
'v8::internal::CodeGenerator'
cc1plus: warnings being treated as errors
src/mips/virtual-frame-mips.h:486: warning: inline function 'void
v8::internal::VirtualFrame::PushFrameSlotAt(int)' used but never
defined
src/mips/virtual-frame-mips.h:366: warning: inline function 'void
v8::internal::VirtualFrame::Push(v8::internal::Register, int)' used
but never defined
src/mips/virtual-frame-mips.h:367: warning: inline function 'void
v8::internal::VirtualFrame::Push(v8::internal::Handle<v8::internal::Object>)'
used but never defined
scons: *** [obj/debug/codegen.o] Error 1
scons: building terminated because of errors.
Can anyone help on this ??
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users