Re: It runs!

2023-05-12 Thread jbranso
May 12, 2023 5:58 PM, "Samuel Thibault" wrote: > I have put some note on the wiki > > https://darnassus.sceen.net/~hurd-web/open_issues/64-bit_port > > to build a proper debian hurd-amd64 chroot: > > sudo debootstrap --foreign --verbose --arch hurd-amd64 >

Re: It runs!

2023-05-12 Thread Samuel Thibault
I have put some note on the wiki https://darnassus.sceen.net/~hurd-web/open_issues/64-bit_port/ to build a proper debian hurd-amd64 chroot: sudo debootstrap --foreign --verbose --arch hurd-amd64 --keyring=/usr/share/keyrings/debian-keyring.gpg sid chroot-hurd-amd64

Re: It runs!

2023-05-12 Thread Michael Banck
On Fri, May 12, 2023 at 09:30:34PM +0300, Sergey Bugaev wrote: > Hello everyone, I've got some exciting news :) > > /bin/sh runs!!! > > Things start up all the way -- exec, proc, auth, all that. Then > /hurd/startup exec's /libexec/console-run; I placed a little shell > script there. The shell

Re: It runs!

2023-05-12 Thread Samuel Thibault
Sergey Bugaev, le ven. 12 mai 2023 21:30:34 +0300, a ecrit: > Hello everyone, I've got some exciting news :) > > /bin/sh runs!!! !! \o/ !!

Re: struct sigcontext in Hurd/x86_64

2023-05-12 Thread Sergey Bugaev
Hello, On Fri, May 12, 2023 at 10:12 PM Bruno Haible wrote: > * 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

Re: [bug-diffutils] bug#63333: [PATCH] Add hurd-amd64 support

2023-05-12 Thread Bruno Haible
Samuel Thibault wrote: > > This adds SIGSEGV_FAULT_STACKPOINTER for the hurd-amd64 case > > > > --- ./lib/sigsegv.c.original2023-05-05 10:45:54.673751100 + > > +++ ./lib/sigsegv.c 2023-05-05 10:48:47.903577554 + > > @@ -351,6 +351,17 @@ > > "old esp, if trapped from user". */

Re: sigsp on Hurd/x86_64

2023-05-12 Thread Sergey Bugaev
Hello, On Fri, May 12, 2023 at 10:15 PM Bruno Haible wrote: > make no sense to me. After this statement, sigsp is > either 0x > or 0x0010. > > If aligning SP is intended, the line should read > > sigsp = (void *) ((uintptr_t) sigsp & -16UL); Indeed -- thank you

sigsp on Hurd/x86_64

2023-05-12 Thread Bruno Haible
Hi, In the file glibc/sysdeps/mach/hurd/x86/trampoline.c lines 199..204 #ifdef __x86_64__ /* Align SP at 16 bytes. Coupled with the fact that sigreturn_addr is 16-byte aligned within the stackframe struct, this ensures that it ends up on a 16-byte aligned address, as required by the

struct sigcontext in Hurd/x86_64

2023-05-12 Thread Bruno Haible
Hi, While trying to understand the patch submitted at https://lists.gnu.org/archive/html/bug-gnulib/2023-05/msg00048.html I'm looking at three files: * gnumach/x86_64/locore.S lines 512..519 ENTRY(alltraps) pusha /* save the general registers */

Re: It runs!

2023-05-12 Thread jbranso
May 12, 2023 2:31 PM, "Sergey Bugaev" wrote: > Hello everyone, I've got some exciting news :) > > /bin/sh runs!!! > > Things start up all the way -- exec, proc, auth, all that. Then > /hurd/startup exec's /libexec/console-run; I placed a little shell > script there. The shell (dash) starts up,

It runs!

2023-05-12 Thread Sergey Bugaev
Hello everyone, I've got some exciting news :) /bin/sh runs!!! Things start up all the way -- exec, proc, auth, all that. Then /hurd/startup exec's /libexec/console-run; I placed a little shell script there. The shell (dash) starts up, loads the script, and starts executing it! And (this