From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Florian Weimer <fweimer@redhat.com>, Paul Eggert <eggert@cs.ucla.edu>
Cc: Elmar Stellnberger <estellnb@elstel.org>,
libc-maintainers@gnu.org, libc-alpha@sourceware.org
Subject: Re: time64 functions for glibc
Date: Mon, 31 May 2021 16:08:24 -0300 [thread overview]
Message-ID: <f3e8926f-b451-e10f-7d26-2970775ec131@linaro.org> (raw)
In-Reply-To: <87eedm91fu.fsf@oldenburg.str.redhat.com>
On 31/05/2021 15:56, Florian Weimer wrote:
> * Paul Eggert:
>
>> On 5/31/21 9:01 AM, Adhemerval Zanella via Libc-alpha wrote:
>>> It is on 2.34 plan [1], Carlos O'Donnel is reviewing it. Similar to LFS,
>>> you will need a newer flag to actually enable it (-D_TIME_BITS=64).
>>
>> One place where Microsoft got it right and we're arguably getting it
>> wrong, is that 64-bit time_t is the default on 32-bit MS-Windows,
>> where one must opt into 32-bit by #defining _USE_32BIT_TIME_T.
>>
>> It's too late in 2.34 to make 64-bit time_t the default, but we should
>> at least document that 64-bit time_t is planned to be default in the
>> future. That is, programmers should not *rely* on 32-bit being the
>> default.
>
> I strongly object to that for i386-linux-gnu. It's pretty much for
> compatibility with legacy applications at this point, and changing the
> default will only make it harder for distributions to support legacy
> use. Software that can be recompiled (and thus switch to 64-bit time_t)
> really should be ported to a 64-bit architecture.
We either make it default for all affected architectures or we should
keep as is, I see not point in making it architecture dependent.
And I don't see your point here: if the legacy is being recompiled
it is in essence not in compatibility mode. We really need to move
from non-LFS and 32-bit time_t interfaces.
>
> I don't have an opinion about what people to do with 32-bit Arm.
>
> Thanks,
> Florian
>
next prev parent reply other threads:[~2021-05-31 19:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 15:43 Elmar Stellnberger
2021-05-31 15:51 ` Paul Zimmermann
2021-05-31 16:01 ` Adhemerval Zanella
2021-05-31 18:46 ` Paul Eggert
2021-05-31 18:56 ` Florian Weimer
2021-05-31 19:08 ` Adhemerval Zanella [this message]
2021-05-31 19:16 ` Florian Weimer
2021-05-31 19:28 ` Adhemerval Zanella
2021-06-01 16:32 ` Elmar Stellnberger
2021-05-31 19:03 ` Adhemerval Zanella
2021-06-22 21:41 ` Paul Eggert
2021-06-23 13:29 ` Adhemerval Zanella
2021-06-23 16:59 ` Joseph Myers
2021-06-23 17:59 ` Paul Eggert
2021-06-24 17:37 ` Joseph Myers
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=f3e8926f-b451-e10f-7d26-2970775ec131@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=eggert@cs.ucla.edu \
--cc=estellnb@elstel.org \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=libc-maintainers@gnu.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).