* support to y2038 for ARM 32b architecture
@ 2021-12-05 15:39 Jacob Avraham
2021-12-07 12:48 ` Adhemerval Zanella
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Avraham @ 2021-12-05 15:39 UTC (permalink / raw)
To: libc-help
Hi,
Does the latest glibc version support y2038 for ARM 32bit architecture and
if not, when is it planned for?
Thanks,
Jacob Avraham
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: support to y2038 for ARM 32b architecture
2021-12-05 15:39 support to y2038 for ARM 32b architecture Jacob Avraham
@ 2021-12-07 12:48 ` Adhemerval Zanella
2021-12-07 13:42 ` Lukasz Majewski
0 siblings, 1 reply; 3+ messages in thread
From: Adhemerval Zanella @ 2021-12-07 12:48 UTC (permalink / raw)
To: Jacob Avraham, Libc-help
On 05/12/2021 12:39, Jacob Avraham via Libc-help wrote:
> Hi,
> Does the latest glibc version support y2038 for ARM 32bit architecture and
> if not, when is it planned for?
>
> Thanks,
> Jacob Avraham
>
Yes, since GLIBC 2.34. From NEWS file:
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit. Although time_t still defaults to 32-bit on
these configurations, this default may change in future versions.
This is enabled with the _TIME_BITS preprocessor macro set to 64 and is
only supported when LFS (_FILE_OFFSET_BITS=64) is also enabled. It is
only enabled for Linux and the full support requires a minimum kernel
version of 5.1.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: support to y2038 for ARM 32b architecture
2021-12-07 12:48 ` Adhemerval Zanella
@ 2021-12-07 13:42 ` Lukasz Majewski
0 siblings, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2021-12-07 13:42 UTC (permalink / raw)
To: Adhemerval Zanella via Libc-help, Jacob Avraham
[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]
Hi,
> On 05/12/2021 12:39, Jacob Avraham via Libc-help wrote:
> > Hi,
> > Does the latest glibc version support y2038 for ARM 32bit
> > architecture and if not, when is it planned for?
> >
> > Thanks,
> > Jacob Avraham
> >
>
> Yes, since GLIBC 2.34. From NEWS file:
>
> * Add support for 64-bit time_t on configurations like x86 where
> time_t is traditionally 32-bit. Although time_t still defaults to
> 32-bit on these configurations, this default may change in future
> versions. This is enabled with the _TIME_BITS preprocessor macro set
> to 64 and is only supported when LFS (_FILE_OFFSET_BITS=64) is also
> enabled. It is only enabled for Linux and the full support requires
> a minimum kernel version of 5.1.
This meta layer can help with integration:
https://github.com/lmajewski/meta-y2038
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-07 13:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-05 15:39 support to y2038 for ARM 32b architecture Jacob Avraham
2021-12-07 12:48 ` Adhemerval Zanella
2021-12-07 13:42 ` Lukasz Majewski
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).