Re: Y2038 - best way forward in Debian?

2020-03-06 Thread Michael Stone
On Fri, Mar 06, 2020 at 07:46:26AM +0100, Eduard Bloch wrote: So, wouldn't a restart of the i386 architecture under a different name give an excelent opportunity to get rid of many of such workarounds? In theory, sure...but I don't see that there's any actual demand for a new/clean i386

Re: Y2038 - best way forward in Debian?

2020-03-06 Thread Florian Weimer
* Eduard Bloch: > I vaguelly remember that glibc keeps collecting workarounds for replaced > APIs all the time, adjusting binary compatibility with manually > redirected symbols. Glibc folks might correct me, though. > > So, wouldn't a restart of the i386 architecture under a different name >

Re: Y2038 - best way forward in Debian?

2020-03-05 Thread Eduard Bloch
Hallo, * Steve McIntyre [Tue, Feb 04 2020, 01:14:10PM]: > * 32-bit ABIs/arches *can* be told to use 64-bit time_t from glibc >upwards, but this will of course affect the ABI. Embedded uses of >time_t in libraries will change size, etc. This *will* be safe for >2038. > > So, we're all

Re: Y2038 - best way forward in Debian?

2020-02-25 Thread Thorsten Glaser
Arnd Bergmann wrote: >is clearly needed anyway. Once there is a working armhf version with >full time64 user space, there can be a separate discussion about what >to do with the i386 port (phase out i386 before y2038, migrate all of >i386 to time64 quickly, have two separate i386 ports, or

Re: Y2038 - best way forward in Debian?

2020-02-18 Thread Ben Hutchings
On Tue, 2020-02-18 at 12:25 +0100, Marco d'Itri wrote: > On Feb 17, Wouter Verhelst wrote: > > > - Figure out a way for 32-bit binary-only programs to keep working when > > they touch a time_t beyond 2038. > I am sure that around 2035 "time namespaces" or something similar will > be

Re: Y2038 - best way forward in Debian?

2020-02-18 Thread Russ Allbery
Simon Richter writes: > On Tue, Feb 18, 2020 at 12:25:48PM +0100, Marco d'Itri wrote: >> I am sure that around 2035 "time namespaces" or something similar will >> be implemented to solve this. > Hopefully a bit earlier. I have a few pieces of software that only build in > virtual machines with

Re: Y2038 - best way forward in Debian?

2020-02-18 Thread Simon Richter
Hi, On Tue, Feb 18, 2020 at 12:25:48PM +0100, Marco d'Itri wrote: > > - Figure out a way for 32-bit binary-only programs to keep working when > > they touch a time_t beyond 2038. > I am sure that around 2035 "time namespaces" or something similar will > be implemented to solve this.

Re: Y2038 - best way forward in Debian?

2020-02-18 Thread Marco d'Itri
On Feb 17, Wouter Verhelst wrote: > - Figure out a way for 32-bit binary-only programs to keep working when > they touch a time_t beyond 2038. I am sure that around 2035 "time namespaces" or something similar will be implemented to solve this. -- ciao, Marco signature.asc Description: PGP

Re: Y2038 - best way forward in Debian?

2020-02-17 Thread Steve McIntyre
On Mon, Feb 17, 2020 at 09:03:22AM +0100, Wouter Verhelst wrote: >On Sat, Feb 15, 2020 at 11:41:32PM +, Steve McIntyre wrote: >> Hey John, >> >> John Goarzen wrote: >> >On Tue, Feb 04 2020, Steve McIntyre wrote: >> > >> >The thing that we have to remember is that an operating system is a >>

Re: Y2038 - best way forward in Debian?

2020-02-17 Thread Wouter Verhelst
On Sat, Feb 15, 2020 at 11:41:32PM +, Steve McIntyre wrote: > Hey John, > > John Goarzen wrote: > >On Tue, Feb 04 2020, Steve McIntyre wrote: > > > >The thing that we have to remember is that an operating system is a > >platform for running software. This problem is rather thorny, because: >

Re: Y2038 - best way forward in Debian?

2020-02-16 Thread Adrian Bunk
On Fri, Feb 14, 2020 at 10:56:47AM -0600, John Goerzen wrote: > > The thing that we have to remember is that an operating system is a > platform for running software. This problem is rather thorny, because: > > 1) Some software is provided in only binary form and cannot be > recompiled > > 2)

Re: Y2038 - best way forward in Debian?

2020-02-15 Thread Steve McIntyre
anth...@derobert.net wrote: ... >Lastly, 64-bit time_t has been tested widely (e.g., on amd64). That's not >perfect of >course since 32-bit archs have smaller basic integer types, but likely a lot >less work >fixing the stray "int"s than adding epochs all over the place. > >PS: Debian-devel

Re: Y2038 - best way forward in Debian?

2020-02-15 Thread Steve McIntyre
Hey John, John Goarzen wrote: >On Tue, Feb 04 2020, Steve McIntyre wrote: > >The thing that we have to remember is that an operating system is a >platform for running software. This problem is rather thorny, because: > >1) Some software is provided in only binary form and cannot be >recompiled

Crossgrading support (was Re: Y2038 - best way forward in Debian?)

2020-02-15 Thread Steve McIntyre
Adam Borowski wrote: >On Wed, Feb 12, 2020 at 06:10:53PM +, Steve McIntyre wrote: >> >> /me ponders - this could be a fun task for a GSoC/outreachy student to >> hack on, maybe? > >Prior art: > >* my unfinished https://github.com/kilobyte/crossgrade -- does a lot of > error checking and

Re: Y2038 - best way forward in Debian?

2020-02-14 Thread Anthony DeRobertis
On February 14, 2020 7:45:30 PM UTC, Alan Corey wrote: >What if we define an epoch to be 50 years and the epoch number becomes >part of how the computer keeps track of the date. Something similar >is done in astronomy I think, star charts always have an epoch. So >epoch 0 was 1970, epoch 1

Re: Y2038 - best way forward in Debian?

2020-02-14 Thread Alan Corey
What if we define an epoch to be 50 years and the epoch number becomes part of how the computer keeps track of the date. Something similar is done in astronomy I think, star charts always have an epoch. So epoch 0 was 1970, epoch 1 is 2000, epoch 2 is 2050. Then we can keep a time_t at 32

Re: Y2038 - best way forward in Debian?

2020-02-14 Thread John Goerzen
On Tue, Feb 04 2020, Steve McIntyre wrote: > Arnd scanned the library packages in the Debian archive and identified > that about one third of our library packages would need rebuilding > (and tracking) to make a (recursive) transition. We can see two > different possible routes to follow: > > A

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread YunQiang Su
Steve McIntyre 于2020年2月14日周五 上午12:20写道: > > YunQiang Su wrote: > >Ansgar 于2020年2月13日周四 下午5:29写道: > >> > >> For arm* and mips*, we mostly seem to be talking about special-purpose > >> systems where just switching to a new architecture/port doesn't seem to > >> be that much as a problem as for

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Michael Stone
On Thu, Feb 13, 2020 at 04:08:22PM +0100, Andrej Shadura wrote: On Thu, 13 Feb 2020, 10:40 YunQiang Su, wrote: just redefine time_t to 64bit may also cause a problem:    a bad designed and old network protocol which aims  only target 32bit system,    a binary data packet, may

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Michael Stone
On Thu, Feb 13, 2020 at 10:29:35AM +0100, Ansgar wrote: For arm* and mips*, we mostly seem to be talking about special-purpose systems where just switching to a new architecture/port doesn't seem to be that much as a problem as for i386. I think rebuilding the world and breaking ABI might thus

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Adam Borowski
On Wed, Feb 12, 2020 at 06:10:53PM +, Steve McIntyre wrote: > Russ Allbery wrote: > >If we go down this path, can we make cross-grading a supported feature for > >the next stable release? I'm sure I'm not the only one who is stuck with > >continuously-upgraded i386 hosts who has been wanting

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Adam Borowski
On Thu, Feb 13, 2020 at 05:40:29PM +0800, YunQiang Su wrote: > just redefine time_t to 64bit may also cause a problem: >a bad designed and old network protocol which aims only target 32bit > system, >a binary data packet, may contain time_t: > struct { > int a; >

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Steve McIntyre
Andrej Shadura wrote: >On Thu, 13 Feb 2020, 10:40 YunQiang Su, wrote: >> >> just redefine time_t to 64bit may also cause a problem: >>a bad designed and old network protocol which aims only target 32bit >> system, >>a binary data packet, may contain time_t: >> struct { >>

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Steve McIntyre
YunQiang Su wrote: >Ansgar 于2020年2月13日周四 下午5:29写道: >> >> For arm* and mips*, we mostly seem to be talking about special-purpose >> systems where just switching to a new architecture/port doesn't seem to >> be that much as a problem as for i386. I think rebuilding the world and >> breaking ABI

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Steve McIntyre
Florian Weimer wrote: >* Steve McIntyre: > >>>In addition if we are using a new multiarch triplet, and need to >>>rebuild the world, are going to be ABI incompatible anyway, we might >>>as well use a proper multiarch-qualified ld.so pathname that does >>>not collide with anything. >> >> Hmmm.

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Florian Weimer
* Steve McIntyre: >>In addition if we are using a new multiarch triplet, and need to >>rebuild the world, are going to be ABI incompatible anyway, we might >>as well use a proper multiarch-qualified ld.so pathname that does >>not collide with anything. > > Hmmm. Moving ld.so is *hard* - we were

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread YunQiang Su
Ansgar 于2020年2月13日周四 下午5:29写道: > > Steve McIntyre writes: > > wzss...@gmail.com wrote: > >>Is there the option C? > >> > >>Draft: > >> 1. define time64_t > >> 2. for data_struct which act as a part of ABI, define a new data_struct64 > >> 3. for function which act as part of ABI, define a new

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Ansgar
Steve McIntyre writes: > wzss...@gmail.com wrote: >>Is there the option C? >> >>Draft: >> 1. define time64_t >> 2. for data_struct which act as a part of ABI, define a new data_struct64 >> 3. for function which act as part of ABI, define a new version func64. >> 4. patch all packages to use

Re: Y2038 - best way forward in Debian?

2020-02-13 Thread Arnd Bergmann
On Wed, Feb 12, 2020 at 11:15 PM Steve McIntyre wrote: > Simon McVittie wrote: > >On Tue, 04 Feb 2020 at 13:14:10 +, Steve McIntyre wrote: > >> Arnd scanned the library packages in the Debian archive and identified > >> that about one third of our library packages would need rebuilding > >>

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
Hey Simon, Simon McVittie wrote: >On Tue, 04 Feb 2020 at 13:14:10 +, Steve McIntyre wrote: >> Arnd scanned the library packages in the Debian archive and identified >> that about one third of our library packages would need rebuilding >> (and tracking) to make a (recursive) transition. > >Is

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
[ Skimming through this - Arnd already responded ... ] Guillem Jover wrote: >On Tue, 2020-02-04 at 13:14:10 +, Steve McIntyre wrote: ... >> So, we're all fine? Not so much: for our 32-bit Debian arches, we will >> need to basically rebuild the world to be 2038-safe. When we had to do >>

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
Florian Weimer wrote: >* Steve McIntyre: > >> The kernel is *basically* fixed now. Internally, data structures >> should now be safe. There are a small number places where 32-bit time >> is still a thing, but it's in hand. A number of syscalls, ioctls, >> etc. have needed updates for the

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
Simon McVittie wrote: >On Fri, 07 Feb 2020 at 09:28:24 +0200, Wouter Verhelst wrote: >> Why not? This seems like the type of problem that SONAMEs are made for. >> What am I missing? > >SONAMEs are set by the upstream developer in their build system (building >the same source code produces the same

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
Sam Hartman wrote: >Steve, you're presuming that we would not create a new soname for libc6 >on architectures where we want a new time ABI. > >That's not at all obvious to me. >It seems in the same level of drastic as the other options you are >considering. >So taking it off the table without

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
wzss...@gmail.com wrote: >Steve McIntyre 于2020年2月4日周二 下午9:15写道: ... >> A Follow a similar path to last time (rename library packages). This >>will allow us to do partial upgrades, but the cost is that a vast >>number of packages will need work to make this happen,

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
Steve McIntyre wrote: >Russ Allbery wrote: >> >>If we go down this path, can we make cross-grading a supported feature for >>the next stable release? I'm sure I'm not the only one who is stuck with >>continuously-upgraded i386 hosts who has been wanting to switch but has >>been waiting until

Re: Y2038 - best way forward in Debian?

2020-02-12 Thread Steve McIntyre
Russ Allbery wrote: >Ansgar writes: > >> So maybe just recommend people to move to 64-bit architectures and put >> 32-bit applications in a time namespace so they believe they are still >> in 2001 ;-) 32-bit architectures will probably still be useful in >> embedded contexts for a long time and

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Arnd Bergmann
On Tue, Feb 11, 2020 at 9:10 PM Florian Weimer wrote: > * Ansgar: > > Arnd Bergmann writes: > >> On Mon, Feb 10, 2020 at 11:16 PM Florian Weimer wrote: > >>> There's going to be a _TIME_BITS selector, similar to > >>> _FILE_OFFSET_BITS. > >>> > >>> There was a proposal to have only one API

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Florian Weimer
* Ansgar: > Arnd Bergmann writes: >> On Mon, Feb 10, 2020 at 11:16 PM Florian Weimer wrote: >>> There's going to be a _TIME_BITS selector, similar to >>> _FILE_OFFSET_BITS. >>> >>> There was a proposal to have only one API before, but I think the >>> agreement was that it wouldn't save much

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Arnd Bergmann
On Tue, Feb 11, 2020 at 12:07 PM Marco d'Itri wrote: > > On Feb 11, Arnd Bergmann wrote: > > > I agree that changing the i386 port is probably a bad idea at the moment, > > let's see how the armhf port turns out and fix all the bugs first, as this > > is clearly needed anyway. Once there is a

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Steve McIntyre
On Tue, Feb 11, 2020 at 12:01:28PM +0100, Marco d'Itri wrote: >On Feb 11, Arnd Bergmann wrote: > >> I agree that changing the i386 port is probably a bad idea at the moment, >> let's see how the armhf port turns out and fix all the bugs first, as this >> is clearly needed anyway. Once there is a

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Marco d'Itri
On Feb 11, Arnd Bergmann wrote: > I agree that changing the i386 port is probably a bad idea at the moment, > let's see how the armhf port turns out and fix all the bugs first, as this > is clearly needed anyway. Once there is a working armhf version with > full time64 user space, there can be a

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Ansgar
Arnd Bergmann writes: > On Mon, Feb 10, 2020 at 11:16 PM Florian Weimer wrote: >> There's going to be a _TIME_BITS selector, similar to >> _FILE_OFFSET_BITS. >> >> There was a proposal to have only one API before, but I think the >> agreement was that it wouldn't save much complexity. > > It

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Arnd Bergmann
On Mon, Feb 10, 2020 at 11:16 PM Florian Weimer wrote: > > * Ben Hutchings: > > > On Sun, 2020-02-09 at 11:57 +0100, Florian Weimer wrote: > >> * Ben Hutchings: > >> > >> > If I recall correctly, glibc *will* provide both entry points, so there > >> > is no ABI break. But the size of time_t

Re: Y2038 - best way forward in Debian?

2020-02-11 Thread Arnd Bergmann
On Fri, Feb 7, 2020 at 10:21 PM Florian Weimer wrote: > > * Steve McIntyre: > > > The kernel is *basically* fixed now. Internally, data structures > > should now be safe. There are a small number places where 32-bit time > > is still a thing, but it's in hand. A number of syscalls, ioctls, > >

Re: Y2038 - best way forward in Debian?

2020-02-10 Thread Florian Weimer
* Ben Hutchings: > On Sun, 2020-02-09 at 11:57 +0100, Florian Weimer wrote: >> * Ben Hutchings: >> >> > If I recall correctly, glibc *will* provide both entry points, so there >> > is no ABI break. But the size of time_t (etc.) exposed through libc- >> > dev is fixed at glibc build time. >> >>

Re: Y2038 - best way forward in Debian?

2020-02-09 Thread Ben Hutchings
On Sun, 2020-02-09 at 11:57 +0100, Florian Weimer wrote: > * Ben Hutchings: > > > If I recall correctly, glibc *will* provide both entry points, so there > > is no ABI break. But the size of time_t (etc.) exposed through libc- > > dev is fixed at glibc build time. > > Is this a Debian-specific

Re: Y2038 - best way forward in Debian?

2020-02-09 Thread Florian Weimer
* Ben Hutchings: > If I recall correctly, glibc *will* provide both entry points, so there > is no ABI break. But the size of time_t (etc.) exposed through libc- > dev is fixed at glibc build time. Is this a Debian-specific decision? There has been a proposal upstream not to support 32-bit

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Florian Weimer
* Michael Stone: > On Fri, Feb 07, 2020 at 02:46:19PM +0200, Wouter Verhelst wrote: >>On Fri, Feb 07, 2020 at 10:31:16AM +, Simon McVittie wrote: >>> On Fri, 07 Feb 2020 at 09:28:24 +0200, Wouter Verhelst wrote: >>> > Why not? This seems like the type of problem that SONAMEs are made for. >>>

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Florian Weimer
* Sam Hartman: > Steve, you're presuming that we would not create a new soname for libc6 > on architectures where we want a new time ABI. That seems to be a reasonable assumption because Debian would have to use a different soname from upstream. glibc upstream does not seem likely to change

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Florian Weimer
* Steve McIntyre: > The kernel is *basically* fixed now. Internally, data structures > should now be safe. There are a small number places where 32-bit time > is still a thing, but it's in hand. A number of syscalls, ioctls, > etc. have needed updates for the user-kernel interface level. XFS is

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Samuel Thibault
Wouter Verhelst, le ven. 07 févr. 2020 14:46:19 +0200, a ecrit: > On Fri, Feb 07, 2020 at 10:31:16AM +, Simon McVittie wrote: > > On Fri, 07 Feb 2020 at 09:28:24 +0200, Wouter Verhelst wrote: > > > Why not? This seems like the type of problem that SONAMEs are made for. > > > What am I missing?

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Michael Stone
On Fri, Feb 07, 2020 at 02:46:19PM +0200, Wouter Verhelst wrote: On Fri, Feb 07, 2020 at 10:31:16AM +, Simon McVittie wrote: On Fri, 07 Feb 2020 at 09:28:24 +0200, Wouter Verhelst wrote: > Why not? This seems like the type of problem that SONAMEs are made for. > What am I missing? SONAMEs

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Wouter Verhelst
On Fri, Feb 07, 2020 at 10:31:16AM +, Simon McVittie wrote: > On Fri, 07 Feb 2020 at 09:28:24 +0200, Wouter Verhelst wrote: > > Why not? This seems like the type of problem that SONAMEs are made for. > > What am I missing? > > SONAMEs are set by the upstream developer in their build system

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Simon McVittie
On Tue, 04 Feb 2020 at 13:14:10 +, Steve McIntyre wrote: > Arnd scanned the library packages in the Debian archive and identified > that about one third of our library packages would need rebuilding > (and tracking) to make a (recursive) transition. Is a list of affected/unaffected packages

Re: Y2038 - best way forward in Debian?

2020-02-07 Thread Simon McVittie
On Fri, 07 Feb 2020 at 09:28:24 +0200, Wouter Verhelst wrote: > Why not? This seems like the type of problem that SONAMEs are made for. > What am I missing? SONAMEs are set by the upstream developer in their build system (building the same source code produces the same SONAME), and are

Re: Y2038 - best way forward in Debian?

2020-02-06 Thread Wouter Verhelst
On Tue, Feb 04, 2020 at 01:14:10PM +, Steve McIntyre wrote: > So, we're all fine? Not so much: for our 32-bit Debian arches, we will > need to basically rebuild the world to be 2038-safe. When we had to do > something like this in the past, to deal with the libc5->libc6 > transition, we had an

Re: Y2038 - best way forward in Debian?

2020-02-06 Thread Arnd Bergmann
On Tue, Feb 4, 2020 at 4:03 PM Guillem Jover wrote: > > On Tue, 2020-02-04 at 13:14:10 +, Steve McIntyre wrote: > > The glibc folks have taken an interesting approach. > > > > * 64-bit ABIs/architectures are already using 64-bit time_t > >throughout. The design is sane and so we should

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread Guillem Jover
On Wed, 2020-02-05 at 15:35:28 +0100, Ansgar wrote: > On Wed, 2020-02-05 at 08:33 -0500, Sam Hartman wrote: > > Steve, you're presuming that we would not create a new soname for > > libc6 on architectures where we want a new time ABI. > > Isn't the libc ABI for some reason part of Debian's

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread Ansgar
On Wed, 2020-02-05 at 09:55 -0500, Sam Hartman wrote: > > > > > > "Ansgar" == Ansgar writes: > > Ansgar> On Wed, 2020-02-05 at 08:33 -0500, Sam Hartman wrote: > >> Steve, you're presuming that we would not create a new soname > for > >> libc6 on architectures where we want a new

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread Sam Hartman
> "Ansgar" == Ansgar writes: Ansgar> On Wed, 2020-02-05 at 08:33 -0500, Sam Hartman wrote: >> Steve, you're presuming that we would not create a new soname for >> libc6 on architectures where we want a new time ABI. Ansgar> Isn't the libc ABI for some reason part of

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread Ansgar
On Wed, 2020-02-05 at 08:33 -0500, Sam Hartman wrote: > Steve, you're presuming that we would not create a new soname for > libc6 on architectures where we want a new time ABI. Isn't the libc ABI for some reason part of Debian's architecture name? uclibc-linux-amd64, musl-linux-i386, i386 are

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread Sam Hartman
Steve, you're presuming that we would not create a new soname for libc6 on architectures where we want a new time ABI. That s not at all obvious to me. It seems in the same level of drastic as the other options you are considering. So taking it off the table without discussion or

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread YunQiang Su
Steve McIntyre 于2020年2月4日周二 下午9:15写道: > > Hey folks, > > Apologies - I should have sent this mail quite a while back. :-/ > > Arnd Bergmann (in CC) has been helping to drive a lot of work to solve > the 2038 problem in the Linux world. I've spoken about this before, > e.g. at DebConf17. He's been

Re: Y2038 - best way forward in Debian?

2020-02-05 Thread Ansgar
Russ Allbery writes: > Ansgar writes: > >> So maybe just recommend people to move to 64-bit architectures and put >> 32-bit applications in a time namespace so they believe they are still >> in 2001 ;-) 32-bit architectures will probably still be useful in >> embedded contexts for a long time and

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Steve Langasek
On Tue, Feb 04, 2020 at 11:03:03AM -0500, Lennart Sorensen wrote: > On Tue, Feb 04, 2020 at 09:38:46AM -0500, Stefan Monnier wrote: > > > * 32-bit ABIs/arches are more awkward. glibc will continue *by > > >default* to use 32-bit time_t to keep compatibility with existing > > >code. This

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Russ Allbery
Ansgar writes: > So maybe just recommend people to move to 64-bit architectures and put > 32-bit applications in a time namespace so they believe they are still > in 2001 ;-) 32-bit architectures will probably still be useful in > embedded contexts for a long time and there it might be easier to

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Simon Richter
Hi Colin, On Tue, Feb 04, 2020 at 06:48:43PM +, Colin Watson wrote: > > This may be a good time to mention that SONAMEs like libc6.1 are not > > supported by libtool, so in libxcrypt I had to conditionally patch the > > generated libtool executable for the architectures that did this. >

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Ben Hutchings
On Tue, 2020-02-04 at 11:03 -0500, Lennart Sorensen wrote: > On Tue, Feb 04, 2020 at 09:38:46AM -0500, Stefan Monnier wrote: > > > * 32-bit ABIs/arches are more awkward. glibc will continue *by > > >default* to use 32-bit time_t to keep compatibility with existing > > >code. This will

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Colin Watson
On Tue, Feb 04, 2020 at 06:13:12PM +0100, Marco d'Itri wrote: > On Feb 04, Guillem Jover wrote: > > Well, I guess such a new (conditinally selectable) name could be > > coordinated with glibc upstream? Say bump 32-bit ports to use libc6.1? > > (We already have precedent in some ports that do not

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Marco d'Itri
On Feb 04, Guillem Jover wrote: > Well, I guess such a new (conditinally selectable) name could be > coordinated with glibc upstream? Say bump 32-bit ports to use libc6.1? > (We already have precedent in some ports that do not use the same > prevalent SONAME, such as libc6.1, libc0.1 and

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Lennart Sorensen
On Tue, Feb 04, 2020 at 09:38:46AM -0500, Stefan Monnier wrote: > > * 32-bit ABIs/arches are more awkward. glibc will continue *by > >default* to use 32-bit time_t to keep compatibility with existing > >code. This will *not* be safe as we approach 2038. > > > > * 32-bit ABIs/arches *can*

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Guillem Jover
Hi! On Tue, 2020-02-04 at 13:14:10 +, Steve McIntyre wrote: > The glibc folks have taken an interesting approach. > > * 64-bit ABIs/architectures are already using 64-bit time_t >throughout. The design is sane and so we should already be mostly >safe here, modulo silly code bugs

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Marco d'Itri
On Feb 04, Steve McIntyre wrote: >We'd need to decide exactly which of our 32-bit ports we would want >to do this path with (probably armhf->arhmft?, maybe >armel->armelt?, i386->i386t?. mipsel???). Due to the libc6 soname I agree with Ansgar here: there is no point in rebuilding

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Holger Levsen
Hi Steve, many thanks for this heads-up report! On Tue, Feb 04, 2020 at 01:14:10PM +, Steve McIntyre wrote: > So, we're all fine? Not so much: for our 32-bit Debian arches, we will > need to basically rebuild the world to be 2038-safe. for being able to reproducibly rebuild more Debian

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Michael Stone
On Tue, Feb 04, 2020 at 03:17:50PM +0100, Ansgar wrote: At least for i386, I expect it to be used mostly for legacy applications (and legacy installations). So breaking ABI by switching to a "new" architecture or by just changing major libraries like libc6 probably diminishes its value so much

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Ansgar
On Tue, 2020-02-04 at 13:14 +, Steve McIntyre wrote: > What do people think here? Which do you think is the better path? Feel > free to point out things you think I may have missed. We should get > started on this soon - the longer we leave it, the more likely it is > that we'll see 2038 bugs

Re: Y2038 - best way forward in Debian?

2020-02-04 Thread Andrey Rahmatullin
On Tue, Feb 04, 2020 at 01:14:10PM +, Steve McIntyre wrote: > B Decide which 32-bit ports we expect to care about by 2038, and ... and consider options taking into account the size of the result list. -- WBR, wRAR signature.asc Description: PGP signature

Y2038 - best way forward in Debian?

2020-02-04 Thread Steve McIntyre
Hey folks, Apologies - I should have sent this mail quite a while back. :-/ Arnd Bergmann (in CC) has been helping to drive a lot of work to solve the 2038 problem in the Linux world. I've spoken about this before, e.g. at DebConf17. He's been pushing a lot of updates throughout the Linux