Has anyone had success running the "Linux (Arm32/ARMv6)" version of 9.1 on a Raspberry Pi Zero W?
I am seeing "illegal instruction", which implies that the binary isn't really compiled for ARMv6.
Follow up: both 'file' and 'readelf' indicate it is "ARM", so I'm not sure why it won't run.
Sorry to be slow to respond.
I'll admit I have not run Racket on raspberry pi for a while.
I think you used https://download.racket-lang.org/installers/9.1/racket-9.1-arm-linux-buster-cs.sh to install - the default on <download.racket-lang.org >.
https://download.racket-lang.org/releases/9.1/ asserts that https://download.racket-lang.org/releases/9.1/installers/racket-9.1-arm-linux-buster-cs.sh is built on Raspbian, and I am pretty sure they are the same installer.
It might be worth trying building from source using Source + built packages (available at <https://download.racket-lang.org/releases/9.1/ >), to see if you get the same issue?
Kind regards,
Stephen
PS Happy Pi day everybody.
Thank you for the reply.
The Pi Zero only has 512MB and a single core, so I'm not sure it would be worth trying to build from source.
I did manage to install v8.16 from the Pi repository. It runs so slowly, even for hello-world, that I'm going to stick with Chez for now.
1 Like
If even Hello World is slow, maybe the raco setup wasn't run in the install?
That step compiles everything.
Also, wrt to compiling from source, if you add some swap space, it should be possible to compile.
1 Like
mflatt
March 19, 2026, 1:02pm
6
Ah, right. The tools we were using generated ARMv7, instead.
I've corrected the build configuration for the next release. The most recent snapshots used the corrected configuration, so the downloads from https://snapshot.racket-lang.org/ should now really be ARMv6.
Thank you for the prod!
I did manage to build racket minimal from source.
It took hours and failed in the middle, requiring whole-program-optimization to be disabled in order to eventually succeed.