On Mon, Jan 6, 2020 at 6:30 PM Thomas Preston <
thomas.pres...@codethink.co.uk> wrote:

> Hi,
> We have noticed that the latest version of Chromium makes the v8 snapshot
> build mandatory.
> We were turning this off for building under Buildroot (for linux,
> targetting 32-bit ARM), because Buildroot has no concept of multilib, and
> host packages can't be installed with 32-bit memory architectures.
> Is there any way to continue to disable v8 snapshot building? If not,
> where can we find out more about building ARM 32-bit V8 snapshots on x64
> hosts?
>

Unfortunately there's currently no easy way to do this. A 64-bit mksnapshot
binary (currently) cannot create 32-bit snapshots.

Your best bet is to build snapshot_blob.bin and embedded.S elsewhere (e.g.
on the host system or in a VM). The final build could then use these
generated files and skip the mksnapshot step. Would that be an option for
you?

See also the Known Issues section here
<https://docs.google.com/document/d/1Irnq29OIGWMkcsXmazECZii95eIGQoyrYsmriHvpk-M/edit#heading=h.k26jzph28qte>
.

Note there's no technical reason why mksnapshot cannot support 64-to-32
cross-builds, so it may become possible in the future. There are no
concrete plans at the moment though (you could file bug at crbug.com/v8/new
).


>
> Many thanks,
> Thomas
>
> --
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/v8-users/c805e785-68d0-44bd-b207-e2848a9c3c76%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/c805e785-68d0-44bd-b207-e2848a9c3c76%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/CAH3p7oOVB%3DWrMVC2h%2BQ_uSSOxphgPc8bXeph1%2B9-b9ZXegKWWw%40mail.gmail.com.

Reply via email to