Musl 1.2 has 64 bit time_t and long on mips_24kc is 32 bit. They are incompatible types and broken especially on big endian devices.
My patch to fix this issue: https://github.com/openwrt/packages/pull/17101/files#diff-0a0c385c1e4f55df82b1a90d78aae5c25c85b5dd9bf087a8efa39f56851ce44d
