Hi Jeroen, That sounds plausible, could you share your args.gn file? You may be able to fix this by setting your target_cpu there.
- Leszek On Mon, Aug 1, 2022 at 11:06 AM Jeroen Ooms <jeroeno...@gmail.com> wrote: > I maintain V8 bindings for the R programming language, for which we > provide static v8 libraries for the most common distros, including one for > alpine linux, and an arm64 build cross compiled on Debian. The builds are > dockerized and automated in ci: https://github.com/jeroen/build-v8-static > > Now a user has requested an arm64 binary for alpine, but I am having a > hard time making this work. Afaict, alpine has no cross compilers. So I > tried to build it natively on arm64 hardware (docker on m1) but the build > fails with: > > Assertion failed. > assert(v8_snapshot_toolchain != "",\n^-----\nDo not know how to build a > snapshot for //build/toolchain/linux:clang_x64 on linux arm64 > See //BUILD.gn:17:1: whence it was imported. > > I suspect part of the problem may be that uname reports aarch64 instead of > arm64? > > -- > -- > v8-dev mailing list > v8-dev@googlegroups.com > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/8bc1851f-6bab-47c9-a814-61ddc5091730n%40googlegroups.com > <https://groups.google.com/d/msgid/v8-dev/8bc1851f-6bab-47c9-a814-61ddc5091730n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAGRskv8dPEGKU0JR3LputGUEc9JfOqtvZui2fmtT_-o%2Bz%3DfJTg%40mail.gmail.com.