[v8-users] Re: V8 fresh build giving error on VirtualBox running Ubuntu 16.04

2016-10-11 Thread Zac Hansen
posting the specific steps and the actual error messages would probably help On Sunday, October 9, 2016 at 2:27:06 AM UTC-7, Girish Balakrishnan wrote: > > Hi All, > I am unable to "smoothly" build V8 on Ubuntu 16.04 running on > VirtualBox. On running ninja build Clang sends an error

Re: [v8-users] javascript debugging Debug.StepAction.step(In/Out/Next) - how to use?

2016-10-11 Thread Zac Hansen
I wasn't keeping track of the correct execution context.. once I fixed that, things started working as expected. On Thursday, October 6, 2016 at 3:25:39 AM UTC-7, Ben Noordhuis wrote: > > On Wed, Oct 5, 2016 at 2:54 PM, Zac Hansen > wrote: > > I'm really getting the feeling

[v8-users] How to retain or reacquire v8::ScriptCompiler::Source object?

2016-10-11 Thread Zac Hansen
I'd like to keep around the data in a v8::ScriptCompiler::Source object, but I see it has v8::Local objects in it, which means I can't just make a Global out of it (right?). Is there some way to reacquire that object later or to keep it around indefinitely (outside of a handle scope)? Thank

Re: [v8-users] Temporary ObjectTemplate

2016-10-11 Thread Zac Hansen
why wouldn't you just use a v8::External? Isn't that exactly what they're meant for? On Monday, October 10, 2016 at 5:08:54 AM UTC-7, Riccardo Corsi wrote: > > will do, thanks! > > On Fri, Oct 7, 2016 at 7:19 AM, Jochen Eisinger > wrote: > >> If possible, reusing the

[v8-users] Re: Building v8 on ubuntu 16.04

2016-10-11 Thread Zac Hansen
have you tried just building it from there? On Tuesday, October 11, 2016 at 9:00:39 AM UTC-7, nicktook wrote: > > I am trying to build v8 but it is failing on the 'fetch v8' command. This > is the output: > > Running: /usr/bin/python /home/bryan/v8/v8Oct2016/depot_tools/gclient.py > root >

Re: [v8-users] Cross Compiling for Raspberry

2016-10-11 Thread Jean-Daniel Michaud
Conclusion: v8 compiles the host tool in 32bits (-m32), so we need to install the 32bits version of the system libs. On Ubuntu 16.04: sudo apt-get install -y g++-multilib zlib1g-dev zlib1g-dev:i386 JD On Tuesday, October 11, 2016 at 3:19:52 PM UTC+2, Jean-Daniel Michaud wrote: > > On Oct 11,

[v8-users] Building v8 on ubuntu 16.04

2016-10-11 Thread Bryan White
I am trying to build v8 but it is failing on the 'fetch v8' command. This is the output: Running: /usr/bin/python /home/bryan/v8/v8Oct2016/depot_tools/gclient.py root Running: /usr/bin/python /home/bryan/v8/v8Oct2016/depot_tools/gclient.py config --spec 'solutions = [ { "managed": False,

Re: [v8-users] Re: How to build V8 on Linux using GCC instead of Clang?

2016-10-11 Thread Ivan Pizhenko
Tried this. I have following args.gn is_debug=true is_component_build=true target_cpu="x64" v8_target_cpu="x64" v8_postmortem_support=true is_clang=false use_sysroot=false and getting this error Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory

Re: [v8-users] Cross Compiling for Raspberry

2016-10-11 Thread Jean-Daniel Michaud
On Oct 11, 2016 14:26, "Rodolph Perfetta" wrote: > > The build system will generate a host binary to generate snapshots. IIRC disabling snapshot (snapshot=off) will still result in the host binary being built. So why not installing the host tools completely? > Haven't

Re: [v8-users] Cross Compiling for Raspberry

2016-10-11 Thread Rodolph Perfetta
The build system will generate a host binary to generate snapshots. IIRC disabling snapshot (snapshot=off) will still result in the host binary being built. So why not installing the host tools completely? V8 3.30 is rather old and unsupported though I presume this is a rethinkDB requirement.