I'm trying to make zrok work on raspberry pi 4, using 32bit raspbian os. I have tried installing zrok either from deb package (zrok_0.4.35-1_armhf.deb) or from tarball (zrok_0.4.35_linux_armv7.tar.gz), in both cases it says:
root@rapik:~# zrok version
Floating point exception
Some more info:
root@rapik:~# uname -a
Linux rapik 6.6.31+rpt-rpi-v7l #1 SMP Raspbian 1:6.6.31-1+rpt1 (2024-05-29) armv7l GNU/Linux
root@rapik:~# uname -m
armv7l
root@rapik:~# file /opt/openziti/bin/zrok
/opt/openziti/bin/zrok: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, BuildID[sha1]=a834950618f0a3820225f575176a648edd3eea29, for GNU/Linux 3.2.0, stripped
@pakagi I can also reproduce the error with an arm/v7 emulated chroot and found it did not recur if zrok is statically linked. Can you confirm this branch works on your arm64 Raspberry Pi with a 32bit OS?
If you check out that branch with Git and change to the working directory you can build it with Docker like this and the binary will be in ./dist/zrok-armv7_linux_arm_7/zrok.