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

2017-06-02 Thread aleReimondo
Thank you Jakob,
I will try to read and build gn :-)

On the paragraph:
 

> Well, gn is a binary tool, that's by design... The Python scripts around 
> it are just for convenience.
>
>
So, the use of build tools can impose security risks.

Ale. 

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-06-02 Thread Jakob Kummerow
On Fri, Jun 2, 2017 at 5:37 PM, aleReimondo 
wrote:

> Issue reported at https://bugs.chromium.org/p/v8/issues/detail?id=6458
>

Don't hold your breath, but feel free to help ;-)

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-06-02 Thread Jakob Kummerow
On Fri, Jun 2, 2017 at 5:10 PM, aleReimondo 
wrote:

> Confirmed the malfunction of the build toolset on the Raspberry Pi.
> It has been reproduced started from clean SDCard (Raspbian OS) and
> following wiki procedures to build V8 without observing any other issues
> during installation and setup.
> So, I will consider this a BUG of Chrome toolset and wait to be repaired
> soon.
> IMHO the downloaded binary of gn is wrong on the Raspery Pi 3 (Raspbian
> OS).
>

Interesting observation.
Yes, it looks like it is assumed that nobody builds on an ARM device; this
site

 says:

> Due to the lack of ARM hardware with the grunt to build Chromium native,
> cross compiling is currently the recommended method of building for ARM.


V8 has instructions for cross-compiling:
https://github.com/v8/v8/wiki/Cross-compiling-for-ARM (these are targeting
Android, but it should be easy to adapt them).

As an alternative: while there don't seem to be pre-built gn binaries for
you to download, you can build your own gn from source. However, I'm not
familiar with that process so I can't give more detailed hints, I only know
that it is possible.


> Ale
> p.d. Why are we downloading binaries? the reason to use py scripting is to
> do not transfer binary...  please remove scripting (best) or binary
> downloads in the toolset :-P
>

Well, gn is a binary tool, that's by design... The Python scripts around it
are just for convenience.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-06-02 Thread aleReimondo
Issue reported at https://bugs.chromium.org/p/v8/issues/detail?id=6458
 

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-06-02 Thread aleReimondo
Confirmed the malfunction of the build toolset on the Raspberry Pi.
It has been reproduced started from clean SDCard (Raspbian OS) and 
following wiki procedures to build V8 without observing any other issues 
during installation and setup.
So, I will consider this a BUG of Chrome toolset and wait to be repaired 
soon.
IMHO the downloaded binary of gn is wrong on the Raspery Pi 3 (Raspbian OS).
Ale
p.d. Why are we downloading binaries? the reason to use py scripting is to 
do not transfer binary...  please remove scripting (best) or binary 
downloads in the toolset :-P

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-06-02 Thread aleReimondo
Now starting from a new installation to ensure the malfunction of the tools 
download is reproducible on clean installation of Raspbian...
Ale

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 incorrecto

So, the gn.py is not running because it is trying to run binary code
 of wrong target.

Ale

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.