On Tue, Jan 7, 2020 at 3:13 PM Thomas Preston <
thomas.pres...@codethink.co.uk> wrote:

> On Tuesday, 7 January 2020 09:14:36 UTC, Jakob Gruber wrote:
>>
>> On Mon, Jan 6, 2020 at 6:30 PM Thomas Preston <thomas...@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>
>> .
>>
>>
> That's useful, thanks. It looks like checking-in pre-built 32-bit
> artifacts is the way to go.
>
> Is it possible to just run mksnapshot? Maybe we can just tell ninja to
> build `obj/v8/v8_snapshot/embedded.o`
>

Yes that's certainly possible. Try the run_mksnapshot target
<https://cs.chromium.org/chromium/src/v8/BUILD.gn?l=1253&rcl=73b25eab2d914aa2be8eb2d223eee7c1b93b45a0>.
Make sure to use the same git hash and build config though between the
mksnapshot run and the final V8 build!


> Full-Chromium requires a 64-bit build environment
> https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md
>
>

> Alternatively, are there any pre-built artifacts we can just download?
> This would be ideal, as we wouldn't have to check in large files to
> Buildroot.
>

No, sorry. I do like the idea, but we don't have anything like that right
now.


> --
> --
> 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/d6503022-b79e-47bc-8fad-4207b6a69b21%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/d6503022-b79e-47bc-8fad-4207b6a69b21%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/CAH3p7oPbxn-YfxqMza_qKOuiQ2BWf90ubEiA35WN0LYY-69z%2Bg%40mail.gmail.com.

Reply via email to