Compiling Julia for Raspbian

I installed julia using

sudo apt install julia

realising this was version 1.0.3 and not finding a binary for 1.5.3 I followed the steps for compiling Julia at JuliaBerry: Compiling Julia.

This started fine but then received an error

/home/pi/Applications/julia/src/gc.c:999: undefined reference to `__atomic_load_8’

along with other error messages all related to `__atomic_load_8’. I am wondering what I should do next?

https://github.com/Julia-Embedded/jlcross

There are instructions here for using Docker to get an up to date Julia binary for Raspbian: https://github.com/Julia-Embedded/jlcross#get-binary-from-container

See Julia 1.5.1 for Raspian 32 bit (Rasperry Pi)