coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: requiring 64-bit time_t again in coreutils; off_t too?


From: Pádraig Brady
Subject: Re: requiring 64-bit time_t again in coreutils; off_t too?
Date: Mon, 10 Apr 2023 15:27:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

On 10/04/2023 03:32, Paul Eggert wrote:
For a bit of time Savannah coreutils master was rejecting platforms with
32-bit signed time_t, with the idea that we really need to get
installations to be year 2038 safe. Coreutils used Gnulib's
AC_SYS_LARGEFILE to do that. However, this proved a bridge too far for
general use, and Autoconf master now has AC_SYS_YEAR2038_REQUIRED to do
this sort of thing instead. I've migrated this into Gnulib and have just
installed the attached patch to bring Savannah coreutils master back to
the state where 'configure' insists on support for timestamps past 2038.

We need to adjust the build instructions to allow enabling 32b-bit time_t.
The attached attempts to do that, but I'm unsure of the details.
Note I tested the attached on Solaris 10 on Sparc,
where the build failed without the ac_year2038_required=no configure option.

cheers,
Pádraig

Attachment: coreutils-32-bit-time.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]