Stream: git-wasmtime

Topic: wasmtime / issue #5182 Build fails on Raspberry Pi4


view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2022 at 16:53):

andrewdavidmackenzie opened issue #5182:

I am trying to compile my project that uses wasmtie an dhence cranelift on my Raspberry Pi 4 (using rustc 1.67.0-nightly (11ebe6512 2022-11-01)) and I get the following error:

error: failed to run custom build command for `cranelift-codegen v0.89.1`

Caused by:
  process didn't exit successfully: `/home/pi/workspace/flow/target/release/build/cranelift-codegen-d67391bc450271b1/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'error when identifying target: "no supported isa found for arch `armv7`"', /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/cranelift-codegen-0.89.1/build.rs:42:53
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `flowr v0.70.0 (/home/pi/workspace/flow/flowr)`, intermediate artifacts can be found at `/home/pi/workspace/flow/target`
make: *** [Makefile:89: install-flow] Error 101

I couldn't find any information on supported platforms/architectures, so thought I'd ask here.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2022 at 16:56):

cfallin commented on issue #5182:

arm32 (armv7 in the output above) is unfortunately not supported. Wasmtime+Cranelift will run on RPi4 hardware with a 64-bit OS (arm64 aka aarch64 aka ARMv8) though. #1173 tracks this.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2022 at 16:56):

cfallin closed issue #5182:

I am trying to compile my project that uses wasmtie an dhence cranelift on my Raspberry Pi 4 (using rustc 1.67.0-nightly (11ebe6512 2022-11-01)) and I get the following error:

error: failed to run custom build command for `cranelift-codegen v0.89.1`

Caused by:
  process didn't exit successfully: `/home/pi/workspace/flow/target/release/build/cranelift-codegen-d67391bc450271b1/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'error when identifying target: "no supported isa found for arch `armv7`"', /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/cranelift-codegen-0.89.1/build.rs:42:53
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `flowr v0.70.0 (/home/pi/workspace/flow/flowr)`, intermediate artifacts can be found at `/home/pi/workspace/flow/target`
make: *** [Makefile:89: install-flow] Error 101

I couldn't find any information on supported platforms/architectures, so thought I'd ask here.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2022 at 17:00):

andrewdavidmackenzie commented on issue #5182:

Thanks for quick response.
Moving to the new 64bit raspbian may solve the issue, on the same hw then?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2022 at 17:02):

cfallin commented on issue #5182:

Yes, it should! You should be able to download our release binaries for aarch64-linux and use them directly, or build from source, either way.


Last updated: Nov 22 2024 at 16:03 UTC