On Fri, May 5, 2023 at 9:07 PM Luca <l...@orpolo.org> wrote: > I'll try to build a ramdisk with these packages and see where we get > (not far I suppose, mainly because of the issues introduced by my last > fs/gs base patch... :( ).
Quick update, I'm already running ramdisk (with glibc and Hurd built locally, not with these packages) and diskfs spawns a second thread which starts running (yay!), but it's getting self = NULL in entry_point (htl/pt-create.c) since sysdeps/mach/hurd/x86/htl/pt-setup.c doesn't pass the function arg for x86_64 correctly. So that's where I'm at currently. Luca, please try reproducing (and fixing) the two issues I reported here earlier: * fs/gs base not being set when context-switching to a thread via thread_invoke / call_continuation * somehow returning to userspace (and then crashing) after calling task_terminate (mach_task_self ()) Sergey