Thanks Erik.

I did manage to continue tracking down the issue last night and it
turns out that there is an assertion occurring in assembler-asm.cc -
line 612, which is in the function void Assembler::addrmod5(...)
----> ASSERT((instr & ~(CondMask | P | U | N | W | L)) == (B27 |
B26));

Unfortunately, I am having trouble getting gdb to work properly on my
hardware platform, so I am trying some alternative debugging
methods.

Any ideas on the assertion?

Regards,
John

On May 11, 4:35 pm, Erik Corry <[email protected]> wrote:
> 2009/5/11  <[email protected]>:
>
>
>
> > Hi,
>
> > I have recently compiled the trunk version of the v8 javascript engine
> > for the ARM processor under Linux and have run into an issue when
> > executing the sample "shell" application from the command line.
>
> > I get the following output:
> > "native runtime.js:612: <error>
>
> > Fatal error in v8::Context::New()
> > Could not initialize environment
>
> Not a lot to go on here.  I would recommend you compile with
> mode=debug on the scons command line to get all the slow assert code.
> It sucks for performance but it's great for debugging.  If you get a
> failed assert, then run in gdb and use bt to see where it is
> happening.
>
>
>
> > "
> > ./shell --help works fine.
>
> > The target platform is an ARM11 with the armv6 instruction set.  Linux
> > kernel is 2.6.14.  gcc toolchain is 3.4.0.
>
> > To compile I did the following:
> > $ scons toolchain=gcc arch=arm library=static os=linux importenv=PATH
> > sample=shell
> > where:
> > CC="arm-linux-gcc"
> > CXX="arm-linux-g++"
> > RANLIB="arm-linux-ranlib"
> > AR="arm-linux-ar"
>
> > Thanks for your time and I look forward to hearing any ideas on how to
> > resolve this issue.
>
> > Regards,
> > John
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to