From: Paul Eggert <eggert@cs.ucla.edu>
To: "Andreas K. Huettel" <dilfridge@gentoo.org>
Cc: libc-alpha@sourceware.org
Subject: Re: time64 / Large File Support: 2) default time64 breaks legacy 32bit binaries
Date: Wed, 25 Jan 2023 20:13:25 -0800 [thread overview]
Message-ID: <7271eb94-b5d7-69d6-9be0-ca1afda29a50@cs.ucla.edu> (raw)
In-Reply-To: <7196595.N7aMVyhfb1@pinacolada>
On 1/25/23 15:59, Andreas K. Huettel via Libc-alpha wrote:
> This was discussed already in the previous thread on this list [1], with reactions
> ranging from "need new triplet" via "need new libdir" to "meh"....
> [1] https://sourceware.org/pipermail/libc-alpha/2022-November/143386.html
One thing new since that November email is that in bleeding-edge
Autoconf we've scaled back AC_SYS_LARGEFILE so it no longer widens
time_t by default. Instead, you need to pass a new option
--enable-year2038 to 'configure' if you want 64-bit time_t on 32-bit
glibc x86 and ARM platforms, which as I understand it are the only
platforms that have this problem. If a package author wants
--enable-year2038 to be the default, they need to use Autoconf's new
AC_SYS_YEAR2038 macro. This change has also percolated into Gnulib so
source packages using recent Gnulib will need to use the new Gnulib
module year2038 if they want --enable-year2038 to be the default.
This change was done out of concern that although AC_SYS_LARGEFILE has
long tweaked blkcnt_t, dev_t, ino_t, fsblkcnt_t, fsfilcnt_t and rlim_t
(in addition to off_t of course), having it also tweak time_t was a
compatibility bridge too far.
> Proposal: glibc gains two new build-time configure options:
> * --enable-hard-time64
> * --enable-hard-lfs
This sort of thing sounds like a good way to go. However, I suggest
simplifying things, by having just one option (say,
--enable-hard-sys-types64) that does both at once, because
--enable-hard-time64 and --enable-hard-lfs would not be orthogonal and
this would be confusing, and anyway nobody sane will want to use one
option without also using the other - who wants the agony of *two*
conversions?
next prev parent reply other threads:[~2023-01-26 4:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-25 23:57 The time64 and Large File Support mess Andreas K. Huettel
2023-01-25 23:58 ` time64 / Large File Support: 1) [2.28 Regression]: New getdents{64} implementation breaks qemu-user Andreas K. Huettel
2023-01-26 12:21 ` Adhemerval Zanella Netto
2023-01-27 20:08 ` Andreas K. Huettel
2023-01-25 23:59 ` time64 / Large File Support: 2) default time64 breaks legacy 32bit binaries Andreas K. Huettel
2023-01-26 4:13 ` Paul Eggert [this message]
2023-01-26 13:21 ` Adhemerval Zanella Netto
2023-01-26 23:35 ` Sam James
2023-01-27 17:33 ` Adhemerval Zanella Netto
2023-02-01 16:26 ` Florian Weimer
2023-02-01 19:47 ` Sam James
2023-02-01 19:54 ` Sam James
2023-02-03 17:52 ` Florian Weimer
2023-02-01 22:22 ` Michael Hudson-Doyle
2023-02-03 14:17 ` Adhemerval Zanella Netto
2023-02-03 18:56 ` Florian Weimer
2023-01-27 2:38 ` Paul Eggert
2023-01-27 17:40 ` Adhemerval Zanella Netto
2023-01-27 23:51 ` Paul Eggert
2023-01-27 23:58 ` Joseph Myers
2023-02-01 12:27 ` Adhemerval Zanella Netto
2023-01-26 10:43 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7271eb94-b5d7-69d6-9be0-ca1afda29a50@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=dilfridge@gentoo.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).