[v8-users] How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread aleReimondo
Hi, I have made most steps detailed in V8 wiki to download prerequisites and V8 sources. Up to "gclient sync" all look ok, but the page at https://github.com/v8/v8/wiki/Building-with-GN is not clear to me what should I run now to v8gen and then gn to build V8. Trying to make and/or gyp way h

Re: [v8-users] How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread Ben Noordhuis
On Thu, Jun 1, 2017 at 5:56 PM, aleReimondo wrote: > Hi, > I have made most steps detailed in V8 wiki to download prerequisites and V8 > sources. > Up to "gclient sync" all look ok, but the page at > > https://github.com/v8/v8/wiki/Building-with-GN > > is not clear to me what should I run now to

Re: [v8-users] How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread aleReimondo
Thank you for your fast response! I tried tools/dev/v8gen.py arm.release but got error --- pi@raspberrypi:~/v8 $ tools/dev/v8gen.py arm.release -vv

Re: [v8-users] How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread Ben Noordhuis
On Thu, Jun 1, 2017 at 6:36 PM, aleReimondo wrote: > Thank you for your fast response! > > I tried tools/dev/v8gen.py arm.release > but got error > > --- > pi@raspberrypi:~/v8 $ tools/dev/v8gen.py arm.release -vv > ##

Re: [v8-users] How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread Jakob Kummerow
It's not exactly a bug. v8gen.py, by design, replicates the configuration of the respective buildbot, and that buildbot uses arm simulator builds. It's really easy to change the build configuration locally though: just run gn args out.gn/arm.release, and in the editor that opens, set target_cpu =

Re: [v8-users] How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread aleReimondo
Hi, When I run gn (with and without arguments) I get the same error. Is there an option to set configuration manually? pi@raspberrypi:~/v8 $ gn args Traceback (most recent call last): File "/home/pi/depot_tools/gn.py", line 38, in sys.exit(main(sys.argv)) File "/home/pi/depot_tools/gn.py

[v8-users] Re: How to build V8 on Raspberry Pi (3 model B) ?

2017-06-01 Thread aleReimondo
The gn command is running executable gn at ~/v8/buildtools/linux64 IMO the binary executable was downloaded from V8 repo, and do not have the correct contents to be run here pi@raspberrypi:~/v8/buildtools/linux64 $ ./gn --help bash: ./gn: cannot execute binary file: Formato de ejecutable incorrec

[v8-users] How to dump jit code and its corresponding bytecode.

2017-06-01 Thread Yuan Pinghai
I want to dump each piece of dynamically generated code. Meanwhile, if its corresponding bytecode is available, I also dump the bytecode and record the starting line number of the script code (i.e. recording the script name and the line number). For this purpose, i inserted code snippets in fun