[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Arnaud Panaïotis
On 31/05/2022 15:02, Szabolcs Nagy wrote: The 05/31/2022 14:16, Arnaud Panaïotis via Libc-alpha wrote: If I'm reading this correctly, daemon() internally uses the time32 version of 'stat', which fails for files with out-of-range timestamps. Are you able to rebuild the ssh binary (or your entire

[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Szabolcs Nagy
The 05/31/2022 14:16, Arnaud Panaïotis via Libc-alpha wrote: > > > > If I'm reading this correctly, daemon() internally uses the time32 > > > > version of 'stat', which fails for files with out-of-range timestamps. > > > > Are you able to rebuild the ssh binary (or your entire distro, if that's > >

[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Arnaud Panaïotis
Hello, On 31/05/2022 12:54, Adhemerval Zanella wrote: On 31/05/2022 05:33, Arnd Bergmann via Libc-alpha wrote: (cc correct libc-alpha list, sorry for the typo) On Tue, May 31, 2022 at 10:24 AM Arnd Bergmann wrote: On 17/05/2022 09:51, Arnaud Panaïotis wrote: I'm working for a client to gen

[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Adhemerval Zanella
On 31/05/2022 05:33, Arnd Bergmann via Libc-alpha wrote: > (cc correct libc-alpha list, sorry for the typo) > > On Tue, May 31, 2022 at 10:24 AM Arnd Bergmann wrote: >> On 17/05/2022 09:51, Arnaud Panaïotis wrote: >>> I'm working for a client to generate embedded 32-bits Linux Kernel working >

[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Arnaud Panaïotis
Hello On 31/05/2022 10:33, Arnd Bergmann wrote: (cc correct libc-alpha list, sorry for the typo) On Tue, May 31, 2022 at 10:24 AM Arnd Bergmann wrote: On 17/05/2022 09:51, Arnaud Panaïotis wrote: I'm working for a client to generate embedded 32-bits Linux Kernel working after y2038 issue.

[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Arnd Bergmann
(cc correct libc-alpha list, sorry for the typo) On Tue, May 31, 2022 at 10:24 AM Arnd Bergmann wrote: > On 17/05/2022 09:51, Arnaud Panaïotis wrote: > > I'm working for a client to generate embedded 32-bits Linux Kernel working > > after y2038 issue. > > > > I generated a 5.15 Kernel thought Bu

[Y2038] Re: PROBLEM: with daemon.c after y2038 on 32-bits Kernel

2022-05-31 Thread Arnd Bergmann
On 17/05/2022 09:51, Arnaud Panaïotis wrote: > Hello, > > I'm working for a client to generate embedded 32-bits Linux Kernel working > after y2038 issue. > > I generated a 5.15 Kernel thought Buildroot with Coreutils 9.0, GCC 11.2.0, > Binutils 2.37, Glibc 2.34-9 and CFLAGS -D_LARGEFILE_SOURCE