ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Josh Triplett <josh@joshtriplett.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: John Stultz <john.stultz@linaro.org>,
	ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] [CORE TOPIC] Dealing with 2038
Date: Fri, 9 May 2014 15:33:15 -0700	[thread overview]
Message-ID: <20140509223315.GA5725@thin> (raw)
In-Reply-To: <4440149.cMfuUKn6MV@wuerfel>

On Fri, May 09, 2014 at 10:39:13PM +0200, Arnd Bergmann wrote:
> On Friday 09 May 2014 11:10:43 Theodore Ts'o wrote:
> > On Thu, May 08, 2014 at 09:37:06PM +0100, Ben Hutchings wrote:
> > > 
> > > LFS is far from universally supported by applications, 17 years after it
> > > was standardised.  In fact, many applications recently regressed due to
> > > a broken test for LFS in autoconf <https://bugs.debian.org/742780>.  It
> > > doesn't seem like a good example to follow.
> > 
> > Yes, that was my point.
> > 
> > > However this is done, almost every library that includes time_t in its
> > > API will change ABI.  I say 'almost' because glibc will probably use
> > > symbol versioning or mangling to maintain binary compatibility, but most
> > > library maintainers won't go to that trouble.
> > 
> > Agreed.  This is why I'm not sure anything other than a hard ABI break
> > is realistic.  Yes, it's incredibly painful, and the distro's will
> > probably be very unhappy, but I suspect the alternatives are worse.
> > The only real question is do we start trying to deal with the pain
> > now, or in 2020, or in 2030, or 2035, or even worse, in 2037....
> > 
> > Given what what I saw with Y2K, if I was going to participate in a
> > betting pool on the question, I'd probably put my money down for 2035
> > or so.  :-/
> 
> I think an important distinction is that the majority of systems that
> will be seriously affected are embedded machines, which run a custom
> user space anyway.
> 
> x86-32 PCs and end-user distros are going to be largely extinct
> in a couple of years and replaced by x64-64 or arm64 depending
> on who you ask, and arm32 Android phones are going to be
> replaced with arm64 hardware shortly after, or they see an ABI
> break before then anyway.
> The typical embedded machines don't even use glibc, and they
> cross-build everything from source.

In particular, even systems that want some of the properties of 32-bit
on 64-bit hardware can use x32; the concern is with new systems that
don't support 64-bit at all.  Hence why we need to solve the problem
*today*, so that the devices we're building in the next few years will
survive 2038.

- Josh Triplett

  reply	other threads:[~2014-05-09 22:33 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 18:33 John Stultz
2014-05-05 19:23 ` Andy Lutomirski
2014-05-05 20:53 ` josh
2014-05-05 23:20   ` Andy Lutomirski
2014-05-06  2:12   ` H. Peter Anvin
2014-05-06  2:21     ` Josh Triplett
2014-05-06 12:57       ` Theodore Ts'o
2014-05-06 17:53         ` John Stultz
2014-05-06 18:20           ` Arnd Bergmann
2014-05-06 20:19             ` Theodore Ts'o
2014-05-06 20:33               ` josh
2014-05-06 20:50                 ` Theodore Ts'o
2014-05-06 22:06                   ` John Stultz
2014-05-07  2:07                     ` Theodore Ts'o
2014-05-07 11:19                       ` Jonathan Corbet
2014-05-07 17:28                       ` John Stultz
2014-05-09 15:05                         ` Theodore Ts'o
2014-05-08 20:37                       ` Ben Hutchings
2014-05-09 15:10                         ` Theodore Ts'o
2014-05-09 20:39                           ` Arnd Bergmann
2014-05-09 22:33                             ` Josh Triplett [this message]
2014-05-10  0:16                               ` H. Peter Anvin
2014-05-10  1:44                                 ` Rafael J. Wysocki
2014-05-15 12:18                                 ` Grant Likely
2014-05-15 17:20                                   ` H. Peter Anvin
2014-05-16  2:50                                     ` Jason Cooper
2014-05-10  0:19                               ` Andy Lutomirski
2014-05-06 21:17               ` Daniel Phillips
2014-05-06 21:56                 ` Luck, Tony
2014-05-07  1:56                   ` Daniel Phillips
2014-05-07 14:00         ` Grant Likely
2014-05-09 17:30       ` H. Peter Anvin
2014-05-06  1:25 ` Li Zefan

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=20140509223315.GA5725@thin \
    --to=josh@joshtriplett.org \
    --cc=arnd@arndb.de \
    --cc=john.stultz@linaro.org \
    --cc=ksummit-discuss@lists.linuxfoundation.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