From: Paul Eggert <eggert@cs.ucla.edu>
To: Florian Weimer <fweimer@redhat.com>, Sam James <sam@gentoo.org>
Cc: "Carlos O'Donell via Libc-alpha" <libc-alpha@sourceware.org>,
autoconf@gnu.org, c-std-porting@lists.linux.dev,
"Zack Weinberg" <zack@owlfolio.org>,
"David Seifert" <soap@gentoo.org>,
"Gentoo Toolchain" <toolchain@gentoo.org>,
"Arsen Arsenović" <arsen@aarsen.me>,
"Frederic Berat" <fberat@redhat.com>
Subject: Re: On time64 and Large File Support
Date: Fri, 11 Nov 2022 01:46:19 -0800 [thread overview]
Message-ID: <34b6e13f-1905-2632-fde5-47e08a8b14aa@cs.ucla.edu> (raw)
In-Reply-To: <87wn81q254.fsf@oldenburg.str.redhat.com>
On 2022-11-11 01:19, Florian Weimer wrote:
> AC_SYS_LARGEFILE defaulting to AC_SYS_YEAR2038 is extremely destructive
> for Fedora unfortunately.
>
> I thought the gnulib change has been reverted?
I'm not sure where you got that impression. Bleeding-edge (unreleased)
Autoconf AC_SYS_LARGEFILE, along with Gnulib AS_SYS_LARGEFILE as shipped
in several GNU apps already, default to 64-bit time_t on platforms where
setting _TIME_BITS=64 changes time_t from 32 to 64 bits. (This is not
the same as defaulting to AC_SYS_YEAR2038 which *requires*
wider-than-32-bit time_t, but I expect the difference doesn't matter here.)
> I really wish the rest of GNU would talk to glibc maintainers before
> overriding glibc maintainer decisions. If we cannot revert this in
> autoconf (and gnulib), this will very much endanger the Fedora i386
> port. Debian will probably be impacted in the same way.
I'm not sure what is meant by "overriding", as Autoconf etc. are merely
using a documented glibc feature. Also, the apps in question can be
configured to stick with 32-bit time_t by using "./configure
--disable-year2038" and/or setting the corresponding cache variables, so
distros continue to have a choice about which time_t flavor they prefer.
What I'm gathering from your email is that 32-bit Fedora x86 needs an
easy way to say "hold on, I want 32-bit time_t to be the default for all
'configure' runs". If the --disable-year2038 option of 'configure' isn't
enough, and/or setting the appropriate cache variables isn't enough,
what other configuration method would you like?
Also, how does this issue with 64-bit time_t differ from the decades-old
issue with 64-bit off_t? AC_SYS_LARGEFILE has long defaulted to 64-bit
off_t, and Autoconf-generated configure scripts have long had
--disable-largefile options and related cache variables much the same
way that they're now dealing with 64-bit time_t. Is the difference
merely that time_t is more widely used than off_t, so the ABI problems
are more likely now?
next prev parent reply other threads:[~2022-11-11 9:46 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 8:38 Sam James
2022-11-11 9:16 ` Paul Eggert
2022-11-11 9:19 ` Sam James
2022-11-11 23:48 ` Joseph Myers
2022-11-11 9:19 ` Florian Weimer
2022-11-11 9:27 ` Sam James
2022-11-11 11:38 ` Florian Weimer
2022-11-11 20:12 ` Paul Eggert
2022-11-12 2:20 ` Zack Weinberg
2022-11-12 3:57 ` Sam James
2022-11-12 14:16 ` Zack Weinberg
2022-11-12 17:41 ` Paul Eggert
2022-11-12 18:50 ` Bruno Haible
2022-11-12 19:15 ` Paul Eggert
2022-11-12 20:23 ` Wookey
2022-11-12 20:54 ` Russ Allbery
2022-11-12 21:31 ` Paul Eggert
2022-11-15 5:09 ` Sam James
2022-11-12 18:19 ` Paul Eggert
2022-11-11 9:40 ` Andreas K. Huettel
2022-11-11 11:30 ` Florian Weimer
2022-11-11 19:01 ` Andreas K. Huettel
2022-11-11 19:28 ` Palmer Dabbelt
2022-11-11 9:46 ` Paul Eggert [this message]
2022-11-11 11:22 ` Florian Weimer
2022-11-11 19:56 ` Paul Eggert
2022-11-12 4:20 ` Wookey
2022-11-12 4:28 ` Sam James
2022-11-12 4:56 ` Wookey
2022-11-12 4:59 ` Sam James
2022-11-12 18:33 ` Paul Eggert
2022-11-14 8:39 ` Adam Sampson
2022-11-14 11:47 ` Florian Weimer
2022-11-14 20:26 ` Arsen Arsenović
2022-11-14 20:52 ` Florian Weimer
2022-11-15 7:39 ` Arsen Arsenović
2022-11-11 10:25 ` Richard Purdie
2023-03-01 22:38 ` Eric Blake
2023-03-02 0:29 ` Demi Marie Obenour
2023-03-02 9:04 ` Daniel P. Berrangé
2023-03-02 10:28 ` Paul Eggert
2023-03-02 10:38 ` Andreas Schwab
2023-03-03 5:46 ` Paul Eggert
2023-03-06 8:58 ` Andreas Schwab
2023-03-06 10:19 ` Florian Weimer
2023-03-02 11:02 ` Richard W.M. Jones
2023-03-02 12:17 ` Bruno Haible
2023-03-02 13:24 ` Daniel P. Berrangé
2023-03-03 3:30 ` Wookey
2023-03-03 5:50 ` Paul Eggert
2023-03-03 14:01 ` Wookey
2023-03-03 14:14 ` Daniel P. Berrangé
2023-03-03 23:21 ` Arsen Arsenović
2023-03-03 11:49 ` Florian Weimer
2023-03-03 12:39 ` Richard W.M. Jones
2023-03-02 8:30 ` Richard W.M. Jones
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=34b6e13f-1905-2632-fde5-47e08a8b14aa@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=arsen@aarsen.me \
--cc=autoconf@gnu.org \
--cc=c-std-porting@lists.linux.dev \
--cc=fberat@redhat.com \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=sam@gentoo.org \
--cc=soap@gentoo.org \
--cc=toolchain@gentoo.org \
--cc=zack@owlfolio.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).