balena-io-examples/balena-rust-hello-world

System crashes when trying to run on Rasberry Pi zero

Opened this issue · 1 comments

Hi i've seen that armv6 should be supported using the v8 builder + backwards compatibility but the code crashed with a segfault when I try to run it. I tried jumping into the container and running the code directly it just immediately crashes with a seg fault. I was thinking the issue is the builder layer is targeted for a different architecture however i'm using BalenaCloud and I thought that would build the images to the correct architecture. I'm new to Balena so may be making a basic error

Thanks

sorry just adding some debug here. I checked the linked libraries and it seems correct

root@46fe5659a5db:/usr/src/balena-rust-hello-world/release# ldd balena-rust-hello-world
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6c89000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6c5d000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6bee000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6bda000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6a87000)
/lib/ld-linux-armhf.so.3 (0xb6eef000)