I try to built Julia for a custom Alpine linux armv7 on Docker. The container I use is this one (https://github.com/balena-io-library/base-images/tree/master/balena-base-images/device-base/zc702-zynq7/alpine/3.12)
After some time of compilation I get the following error
In file included from /home/rgerzagu/work/julia/src/processor.cpp:844: /home/rgerzagu/work/julia/src/processor_arm.cpp:13:31: warning: "__GLIBC_PREREQ" is not defined, evaluates to 0 [-Wundef] 13 | #if defined(_CPU_AARCH64_) || __GLIBC_PREREQ(2, 16) | ^~~~~~~~~~~~~~ /home/rgerzagu/work/julia/src/processor_arm.cpp:13:45: error: missing binary operator before token "(" 13 | #if defined(_CPU_AARCH64_) || __GLIBC_PREREQ(2, 16) | ^ make: *** [Makefile:165: processor.o] Error 1 make: *** Waiting for unfinished jobs....
I understand that it is link to the fact that the Linux uses musl and not libc but not sure how I can handle that (it is possible though ?)
Thanks in advance