Re: [RFC PATCH] Adding RTC device (work in progress)

2024-11-22 Thread Zhaoming Luo
On 11/20/24 9:37 PM, Samuel Thibault wrote: Zhaoming Luo, le mer. 20 nov. 2024 20:17:48 +0800, a ecrit: On 11/9/24 10:58 PM, Sergey Bugaev wrote: I know that RTC can be configured to either represent local time, or in UTC. MS Windows prefers the former, GNU/Linux (or rather systemd?) prefers t

Re: findutil's gnulib-test's test-sigaction's raise fails with Guix' libc

2024-11-22 Thread Sergey Bugaev
On Fri, Nov 22, 2024 at 5:11 PM wrote: > Sounds awfully familiar...so is this a compiler bug? What, did you think if was *my* code that's broken? :D :D :D > How should I go > forward here? Most importantly, please report this to GCC developers. You could use the preprocessed source so they don

Re: findutil's gnulib-test's test-sigaction's raise fails with Guix' libc

2024-11-22 Thread janneke
Sergey Bugaev writes: > On Fri, Nov 22, 2024 at 4:28 PM wrote: >> using the (amazing) command-line that glibc creates >> >> --8<---cut here---start->8--- >> $ x86_64-pc-gnu-gcc ../sysdeps/mach/hurd/x86_64/sigreturn.c -c [..] > > You could now make use of this

Re: findutil's gnulib-test's test-sigaction's raise fails with Guix' libc

2024-11-22 Thread Sergey Bugaev
On Fri, Nov 22, 2024 at 4:28 PM wrote: > using the (amazing) command-line that glibc creates > > --8<---cut here---start->8--- > $ x86_64-pc-gnu-gcc ../sysdeps/mach/hurd/x86_64/sigreturn.c -c -std=gnu11 > -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -fm

Re: findutil's gnulib-test's test-sigaction's raise fails with Guix' libc

2024-11-22 Thread janneke
Sergey Bugaev writes: Hello Sergey, > On Fri, Nov 22, 2024 at 1:52 PM wrote: >> Hi! > > Hi Janneke, > >> I have bisected the problem to be in sigaction.o: when linking with >> sigaction.o from Debian's libcrt.a it passes, when using Guix's >> sigaction.o it fails. Problem solved, you would say?

Re: findutil's gnulib-test's test-sigaction's raise fails with Guix' libc

2024-11-22 Thread Sergey Bugaev
On Fri, Nov 22, 2024 at 1:52 PM wrote: > Hi! Hi Janneke, > I have bisected the problem to be in sigaction.o: when linking with > sigaction.o from Debian's libcrt.a it passes, when using Guix's > sigaction.o it fails. Problem solved, you would say? I assume you mean sigreturn.o, not sigaction.o

findutil's gnulib-test's test-sigaction's raise fails with Guix' libc

2024-11-22 Thread janneke
Hi! The attached test-sig.c is a slightly modified version of gnulib-tests/test-sigaction.c () as used by findutils. When compiled statically on Debian/Hurd with Debian's glibc it succeeds but when using Guix's libc it fail