Supporting statvfs64 on 32-bit architectures, and long long?
Richard Kettlewell
rjk at terraraq.uk
Mon Jan 22 08:42:34 UTC 2024
On 21/01/2024 22:47, Julien ÉLIE wrote:
> Yet, the Autoconf macro AC_SYS_LARGEFILE is used, and does not set that
> flag. I would have expected it to.
> Is someone aware of a particular trick to enable these 64-bit functions
> on 32-bit architectures?
Did you use ./configure --enable-largefiles? It defaults to no for some
reason.
> So I am a bit puzzled about how to support 32-bit architectures
> nowadays, as just adding -D_FILE_OFFSET_BITS=64 fixes some things, but
> not everything... In lack of a complete audit of the source code for a
> proper fix, isn't INN to be considered broken or "use at your own risk"
> on current 32-bit architectures? (but I do not know to what extent it
> does not work)
32-bit x86 has increasingly poor support in Linux. Arm is still getting
attention (Debian is trying to do a time_t 32->64 migration on 32-bit
Arm platforms) but personally I think 32-bit server platforms are
starting to look like retrocomputing now.
Even the embedded platforms I use in my day job are 64-bit now!
ttfn/rjk
More information about the inn-workers
mailing list