Re: [PATCH glibc] Stop checking if MiG supports retcode.

2023-05-14 Thread Sergey Bugaev
On Mon, May 15, 2023 at 9:19 AM Sergey Bugaev wrote: > On Mon, May 15, 2023 at 7:09 AM Flávio Cruz wrote: > > If we want > > ./configure to check if MiG generates code to call the server reply routine > > in case of errors (it doesn't :() then we will need to build a different > > check. > > Huh

Re: [PATCH glibc] Stop checking if MiG supports retcode.

2023-05-14 Thread Sergey Bugaev
Hi, On Mon, May 15, 2023 at 7:09 AM Flávio Cruz wrote: > If we want > ./configure to check if MiG generates code to call the server reply routine > in case of errors (it doesn't :() then we will need to build a different > check. Huh? Why would MIG call that? Maybe I'm missing some context. Her

Re: [PATCH glibc] Stop checking if MiG supports retcode.

2023-05-14 Thread Flávio Cruz
Hi Sergey On Wed, May 10, 2023 at 1:36 AM Sergey Bugaev wrote: > Hello, > > On Wed, May 10, 2023, 08:21 Flavio Cruz wrote: > > HAVE_MIG_RETCODE is removed completely since this will be a no-op either > > way (compiling against old Hurd headers will work the same, new Hurd > > headers will resul

Re: struct sigcontext in Hurd/x86_64

2023-05-14 Thread Sergey Bugaev
Looking at [0]: 'int code' should be 'long code', otherwise you won't be able to extract the full 64-bit address from it. I don't know how this works out for the BSDs -- maybe they just don't pass the address in there? [0]: https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=src/fault-

Re: struct sigcontext in Hurd/x86_64

2023-05-14 Thread Sergey Bugaev
On Sun, May 14, 2023 at 5:11 PM Bruno Haible wrote: > But another thing appears to be wrong: The role of sc_rsp versus sc_ursp > in glibc/sysdeps/mach/hurd/x86_64/bits/sigcontext.h. > > What glibc/sysdeps/mach/hurd/x86/trampoline.c does for x86_64 is: > > _hurd_setup_sighandler (...) > { > ... >

Re: struct sigcontext in Hurd/x86_64

2023-05-14 Thread Bruno Haible
Hello Sergey, > > * glibc/sysdeps/mach/hurd/x86_64/bits/sigcontext.h lines 57..79 > > * glibc/sysdeps/mach/hurd/x86/trampoline.c lines 239..247. > > This code copies the values from the stack into a 'struct sigcontext'. > > But here the order of the registers is > > No: trampoline.c copies th

Re: It runs!

2023-05-14 Thread Sergey Bugaev
On Fri, May 12, 2023 at 9:30 PM Sergey Bugaev wrote: > But I haven't > yet been able to receive any actual output from the shell or > subsequent commands on the console. I figured it out! -- it was trying to receive the SIGCHLD, and crashing. Now it's all fixed, and signal delivery is totally wor

[PATCH] remove acpi for 64-bit debugging and acpi building doc

2023-05-14 Thread pasha (biblio)
--- hurd/building.mdwn | 6 ++ microkernel/mach/gnumach/debugging.mdwn | 14 -- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/hurd/building.mdwn b/hurd/building.mdwn index 7cfc7c7e..63c33498 100644 --- a/hurd/building.mdwn +++ b/hurd/building