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