Thanks for the info Alexandre.

I have downloaded v8 sources from github.
But when I tried to build those sources for mips platform its giving
compilation error.
I am building the source code on UBuntu 8 (Linux 2.6.24-16-generic #1
SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux).

Environment variables are as below:
AR=/opt/kenati/bin/mips_sfp-uclibc-ar
LD=/opt/kenati/bin/mips_sfp-uclibc-ld
CXX=/opt/kenati/bin/mips_sfp-uclibc-g++
CC=/opt/kenati/bin/mips_sfp-uclibc-gcc
RANLIB=/opt/kenati/bin/mips_sfp-uclibc-ranlib

Compilation Error:
opt/kenati/bin/mips_sfp-uclibc-g++ -o obj/release/platform-linux.o -c -
Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -EL
-mips32r2 -Wa,-mips32r2 -fno-inline -mhard-float -O3 -fomit-frame-
pointer -fdata-sections -ffunction-sections -ansi -fno-strict-aliasing
-fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -Wnon-
virtual-dtor -pedantic -EL -mips32r2 -Wa,-mips32r2 -fno-inline -mhard-
float -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -
ansi -fno-strict-aliasing -DV8_TARGET_ARCH_MIPS -
DENABLE_DEBUGGER_SUPPORT -DENABLE_LOGGING_AND_PROFILING -Isrc src/
platform-linux.cc

src/platform-linux.cc: In function `void
v8::internal::ProfilerSignalHandler(int, siginfo_t*, void*)':
src/platform-linux.cc:828: error: 'struct mcontext_t' has no member
named 'pc'
src/platform-linux.cc:829: error: 'struct mcontext_t' has no member
named 'gregs'
src/platform-linux.cc:830: error: 'struct mcontext_t' has no member
named 'gregs'
scons: *** [obj/release/platform-linux.o] Error 1
scons: building terminated because of errors.

Can anybody from your side help me on this?
Thanks & Regards,
Nilima

On Jul 9, 6:39 pm, Alexandre Rames <[email protected]> wrote:
> Hi,
>
> You can find the v8 MIPS repository with the latest code on 
> github:http://github.com/paul99/v8mips
>
> <http://github.com/paul99/v8mips>Alexandre
>
> On Fri, Jul 9, 2010 at 1:02 PM, Nilima Chavan <[email protected]>wrote:
>
> > So we can not use v8 JavaScript engine on MIPs platform?
> > Does anybody working on this. Since I see mips directory under
> > Sources. Even SConstruct provides a way to select the architecture as
> > "mips".
> > If yes can you let us know when the work is expected to get over.
>
> > Thanks & Regards,
> > Nilima
>
> > On Jul 9, 1:41 am, Erik Corry <[email protected]> wrote:
> > > The MIPS port isn't done.  It doesn't work.
>
> > > Den 8. jul. 2010 14.12 skrev Nilima Chavan <[email protected]>:
>
> > > > 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
>
> > > --
> > > Erik Corry, Software Engineer
> > > Google Denmark ApS.  CVR nr. 28 86 69 84
> > > c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018 Copenhagen
> > K,
> > > Denmark.
>
> > --
> > v8-users mailing list
> > [email protected]
> >http://groups.google.com/group/v8-users
>
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to