Open rmsc opened 1 year ago
Musl has recently deprecated the legacy API. From their Changelog:
"On the API level, the legacy "LFS64" ("large file support") interfaces, which were provided by macros remapping them to their standard names (#define stat64 stat and similar) have been deprecated and are no longer provided under the _GNU_SOURCE feature profile, only under explicit _LARGEFILE64_SOURCE. The latter will also be removed in a future version. Builds broken by this change can be fixed short-term by adding -D_LARGEFILE64_SOURCE to CFLAGS, but should be fixed to use the standard interfaces."
The preferred way to enable LSF support on 32 bit systems is to define _FILE_OFFSET_BITS=64 when building selinux.