Re: 64bit startup

2024-01-05 Thread Samuel Thibault
Luca, le sam. 06 janv. 2024 00:42:35 +0100, a ecrit: > Il 05/01/24 19:12, Sergey Bugaev ha scritto: > > /servers/crash-dump-core crashes on the memset () call in > > hurd:exec/elfcore.c:fetch_thread_fpregset (); the (*fpregs) pointer is > > NULL. The caller passes fpregs = ¬e.data.pr_fpreg, where n

Re: 64bit startup

2024-01-05 Thread Luca
Il 04/01/24 10:55, Sergey Bugaev ha scritto: P.S. I have posted all of my patches, so if you're interested in hacking on aarch64-gnu Mach, you should be able to build the full toolchain now. sure, I've started looking into it, but it will take a while before I can run something in userspace. I

Re: 64bit startup

2024-01-05 Thread Luca
Il 05/01/24 19:12, Sergey Bugaev ha scritto: /servers/crash-dump-core crashes on the memset () call in hurd:exec/elfcore.c:fetch_thread_fpregset (); the (*fpregs) pointer is NULL. The caller passes fpregs = ¬e.data.pr_fpreg, where note.data is of type struct elf_lwpstatus, defined in hurd:include

Re: [PATCH binutils] Add support for the aarch64-gnu target (GNU/Hurd on AArch64)

2024-01-05 Thread Samuel Thibault
Hello, Nick Clifton, le ven. 05 janv. 2024 15:35:24 +, a ecrit: > Hi Sergey, > > > Also recognized are aarch64-*-gnu tagrets, e.g. aarch64-pc-gnu or > > aarch64-unknown-gnu. > > > > The ld/emulparams/aarch64gnu.sh file is (for now) identical to > > aarch64fbsd.sh, > > or to aarch64linux.sh

Re: 64bit startup

2024-01-05 Thread Samuel Thibault
Sergey Bugaev, le ven. 05 janv. 2024 21:12:48 +0300, a ecrit: > Also I can't help but notice that the hurd package (i.e the translator > binaries) is still not being built as PIE, This is not actually specific to 64bit. This was set explicitly in 2016 in debian/rules, tests welcome to check whethe

Re: 64bit startup

2024-01-05 Thread Samuel Thibault
Sergey Bugaev, le ven. 05 janv. 2024 21:12:48 +0300, a ecrit: > I'm not seeing hurd-dbg / hurd-libs-dbg packages in your repo. Yes, my repo is built from the rebootstrap scripts, which drop debug etc. only for creating a booting system. For proper packages, use the usual deb.debian.org debian-por

Re: 64bit startup

2024-01-05 Thread Sergey Bugaev
I'm not seeing hurd-dbg / hurd-libs-dbg packages in your repo. Could you please either teach me where to look, or if they're indeed missing, upload them? Also I can't help but notice that the hurd package (i.e the translator binaries) is still not being built as PIE, unlike basically all the other

Re: [PATCH binutils] Add support for the aarch64-gnu target (GNU/Hurd on AArch64)

2024-01-05 Thread Nick Clifton
Hi Sergey, Also recognized are aarch64-*-gnu tagrets, e.g. aarch64-pc-gnu or aarch64-unknown-gnu. The ld/emulparams/aarch64gnu.sh file is (for now) identical to aarch64fbsd.sh, or to aarch64linux.sh with Linux-specific logic removed; and mainly different from the generic aarch64elf.sh in that i

Re: 64bit startup

2024-01-05 Thread Samuel Thibault
Samuel Thibault, le jeu. 04 janv. 2024 08:57:51 +0100, a ecrit: > Sergey Bugaev, le mer. 03 janv. 2024 21:56:54 +0300, a ecrit: > > perhaps I need to try two of them in parallel and some I/O-heavy > > workload in the background, as you're saying. > > Yes, that's needed to raise the probability of

Re: TODO-list

2024-01-05 Thread Samuel Thibault
Sergey Bugaev, le ven. 05 janv. 2024 13:12:02 +0300, a ecrit: > On Fri, Jan 5, 2024 at 2:09 AM Samuel Thibault > wrote: > > This is a TODO-list of mostly not-sexy things, but that we do want to > > work on, because at some point it can be a question of survival of the > > whole Hurd ecosystem (e.

Re: TODO-list

2024-01-05 Thread Sergey Bugaev
On Fri, Jan 5, 2024 at 2:09 AM Samuel Thibault wrote: > This is a TODO-list of mostly not-sexy things, but that we do want to > work on, because at some point it can be a question of survival of the > whole Hurd ecosystem (e.g. y2038 really is a concern). You may want to add moving off ext2 to so

Re: build bash-5.2.21 on debian-hurd-x86_64

2024-01-05 Thread Samuel Thibault
Hello, gfleury, le ven. 05 janv. 2024 10:02:30 +0200, a ecrit: > with this small patch i managed to build it and seems to get rid of some weird > character before prompt '?2004lroot@hurd:~#' > > > --- lib/readline/terminal.c 2024-01-05 09:36:25.394494448 +0200 > +++ lib/readline/terminal.c

Re: 64bit startup

2024-01-05 Thread Samuel Thibault
Sergey Bugaev, le ven. 05 janv. 2024 12:06:13 +0300, a ecrit: > > I use > > > > while true ; do apt install --reinstall wdiff ; done > > That did it! I can now reliably reproduce this. > > (I assume you don't mind my box constantly banging on your repo.) It's people.debian.org, it's meant for th

Re: 64bit startup

2024-01-05 Thread Sergey Bugaev
On Fri, Jan 5, 2024 at 12:52 AM Samuel Thibault wrote: > Which kind of activity? I just had a loop spawning /bin/true — this should've triggered it assuming it was related to some state getting corrupted on context-switching. > I use > > while true ; do apt install --reinstall wdiff ; done That

build bash-5.2.21 on debian-hurd-x86_64

2024-01-05 Thread gfleury
Hello, I copy bash-5.2.21 source to build it on debian hurd x86_64 and it failed with - gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -L./lib/termcap -g -O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o