From: Phil Blundell <pb@pbcl.net>
To: Umut Tezduyar Lindskog <umut.tezduyar@axis.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: 32 bit time_t in openembedded
Date: Tue, 08 Sep 2015 13:18:53 +0100 [thread overview]
Message-ID: <1441714733.22688.71.camel@pbcl.net> (raw)
In-Reply-To: <D2E79685-E16A-4941-BB7B-E7F21E250DD2@axis.com>
On Tue, 2015-09-08 at 13:44 +0200, Umut Tezduyar Lindskog wrote:
> Can 32 bits ISA handle year 2038 problem in openembedded?
Not generically. But this is not an OE-level problem; the issue is more
that the underlying libraries and kernel ABIs are not currently
Y2038-safe. Fixing this is not really within the scope of OE and is
more a matter for the respective upstream maintainers to deal with.
See for example some previous discussion of the linux kernel
implications at http://lwn.net/Articles/643407/
>Our ISA is 32 bits and we are using relatively new kernel with
>relatively old glibc (2.15). We are using RTC chips which come with a
>random date/time initialized. We started seeing boot problems in
>systemd if the random value of RTC is newer than 2038.
If this is all you're concerned about and you don't seriously expect
your product to be still in use in 2038 then you could add a sanity
check at bootup to reset the clock to some reasonable default if the
value in the RTC is either known to be in the past or is implausibly far
in the future.
If you do need full Y2038 support (which wouldn't be totally
unreasonable, given that the end of the epoch is now less than 25 years
away and at least some of us will probably live long enough to see it!)
then you would need to do some more substantial development work and you
should probably contact linux-kernel and/or libc-alpha in the first
instance. Or update to a natively 64-bit system.
p.
next prev parent reply other threads:[~2015-09-08 12:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 11:44 32 bit time_t in openembedded Umut Tezduyar Lindskog
2015-09-08 12:04 ` Burton, Ross
2015-09-09 7:33 ` Umut Tezduyar Lindskog
2015-09-08 12:18 ` Phil Blundell [this message]
2015-09-09 0:33 ` Khem Raj
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=1441714733.22688.71.camel@pbcl.net \
--to=pb@pbcl.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=umut.tezduyar@axis.com \
/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