I try to build Julia on Raspberry Pi(with Raspbian buster) zero without using Docker, but fails.
For Julia v1.0.5, v1.1.1 and v1.2.0, I get error with the following message:
In file included from /usr/include/c++/8/utility:70,
from /home/pi/build/julia/usr/include/llvm/Support/type_traits.h:19,
from /home/pi/build/julia/usr/include/llvm/ADT/SmallPtrSet.h:21,
from /home/pi/build/julia/usr/include/llvm/ADT/SmallSet.h:18,
from /home/pi/build/julia/src/llvm-alloc-opt.cpp:7:
/usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair<const llvm::DomTreeNodeBase<llvm::BasicBlock>*, __gnu_cxx::__normal_iterator<llvm::DomTreeNodeBase<llvm::BasicBlock>* const*, std::vector<llvm::DomTreeNodeBase<llvm::BasicBlock>*, std::allocator<llvm::DomTreeNodeBase<llvm::BasicBlock>*> > > >' declared here
struct pair
^~~~
CC src/cgmemmgr.o
CC src/llvm-api.o
LINK usr/lib/libjulia.so.1.0
CC ui/repl.o
LINK usr/bin/julia
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 497 100 497 0 0 460 0 0:00:01 0:00:01 --:--:-- 461
100 1321k 100 1321k 0 0 424k 0 0:00:03 0:00:03 --:--:-- 1188k
/home/pi/build/julia/contrib/install.sh 755 /home/pi/build/julia/contrib/julia-config.jl /home/pi/build/julia/usr/share/julia/
PATH=/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/home/pi/build/julia/usr/tools /home/pi/build/julia/contrib/fixup-libgfortran.sh --verbose /home/pi/build/julia/usr/lib
Discovered traces of libgfortran within
Got SONAMES of
PERL base/build_h.jl.phony
PERL base/uv_constants.jl
PERL base/version_git.jl.phony
make[1]: *** [Makefile:168: /home/pi/build/julia/usr/lib/julia/libopenlibm.so] Error 1
make: *** [Makefile:63: julia-base] Error 2
Especially I often see building procedure stops around message with respect to libgfortran
something like:
/home/pi/build/julia/contrib/install.sh 755 /home/pi/build/julia/contrib/julia-config.jl /home/pi/build/julia/usr/share/julia/
PATH=/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/home/pi/build/julia/usr/tools /home/pi/build/julia/contrib/fixup-libgfortran.sh --verbose /home/pi/build/julia/usr/lib
Discovered traces of libgfortran within
Got SONAMES of
Does anyone know to solve the problem?
Anything is appreciated.
Thank You.