Re: [v8-users] mksnapshot creates invalid embedded.S on MacOS

2019-02-06 Thread Darin Dimitrov
Thanks Jakob, filed a bug: https://bugs.chromium.org/p/v8/issues/detail?id=8795 On Wednesday, February 6, 2019 at 5:57:00 PM UTC+2, Jakob Gruber wrote: > > This > >

Re: [v8-users] mksnapshot creates invalid embedded.S on MacOS

2019-02-06 Thread Jakob Gruber
This is where the _ prefixes are generated. Specifically, mksnapshot generates an embedded.S file based on the host OS, which is incorrect for cross-compilation. A simil

[v8-users] mksnapshot creates invalid embedded.S on MacOS

2019-02-06 Thread Darin Dimitrov
I am trying to cross-compile V8 for ARM on MacOS. At some point of the compilation process, mksnapshot is used to create the snapshot_blob.bin file: python ../../tools/run.py ./clang_x86_v8_arm/mksnapshot --turbo_instruction_scheduling --embedded_src gen/embedded.S --embedded_variant Default -