If you're on 64bit OS and want to compile musl and sqlite, run this (Ubuntu 64bit)
sudo apt-get install gcc-multilib g++-multilib
them compile, you may use musl-1.1.24.tar.gz , the newer version might not compatible https://musl.libc.org/releases.html (need confirm)
musl-1.2.0.tar.gz (sig) - February 20, 2020
This release moves all 32-bit archs to 64-bit time_t, enabling them to represent times beyond January of 2038.
There are no new requirements on kernel version, and this is not a hard ABI break, but the type changes do impact compatibility between code built against previous versions of musl and code built against musl 1.2. Users upgrading 32-bit systems should read the detailed time64 release notes. 64-bit systems are not affected.
If compile on Ubuntu 64bit, you may change to: