• Re: [PATCH v3 4/6] hurd: Add expected abilist files for x86_64

    From Samuel Thibault@21:1/5 to All on Fri May 5 15:50:02 2023
    Samuel Thibault, le mer. 03 mai 2023 00:37:31 +0200, a ecrit:
    Sergey Bugaev, le mer. 03 mai 2023 01:31:53 +0300, a ecrit:
    On Wed, May 3, 2023 at 1:20 AM Samuel Thibault <samuel.thibault@gnu.org> wrote:
    Actually, even what depends on it. That's the whole thing the
    rebootstrap script I mentioned is about, and it's making progress, it should be able to produce essentially what is needed to run debootstrap/crosshurd.

    Ah, I don't mean the troubles due to cross-compiling specifically (I
    don't think the Hurd libraries are any more problematic compared to
    the usual cross-compiling issues?), but simply the fact that they
    FTBFS on x86_64-gnu unless you apply my changes -- that only exist on
    my machine, for now. And there are a lot of them, mostly strategically changing size_t to mach_msg_type_number_t in many places, but there
    are subtler ones too.

    Ok, I'll just apply the patches :)

    FI, I'm having debian hurd-amd64 packages cross-built, I'm getting e.g.
    dash built, I'll probably have rumpkernel built too. Essentially, we
    should be able to debootstrap a whole chroot.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sergey Bugaev@21:1/5 to samuel.thibault@gnu.org on Fri May 5 17:40:01 2023
    Hello,

    On Fri, May 5, 2023 at 4:30 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
    FI, I'm having debian hurd-amd64 packages cross-built, I'm getting e.g.
    dash built, I'll probably have rumpkernel built too. Essentially, we
    should be able to debootstrap a whole chroot.

    Awesome!

    Are these (binaries? debs?) available for download somewhere? Having
    rumpdisk would be very helpful if I don't manage to get ramdisk
    working.

    Sergey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Fri May 5 17:50:02 2023
    Sergey Bugaev, le ven. 05 mai 2023 18:15:00 +0300, a ecrit:
    Hello,

    On Fri, May 5, 2023 at 4:30 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
    FI, I'm having debian hurd-amd64 packages cross-built, I'm getting e.g. dash built, I'll probably have rumpkernel built too. Essentially, we
    should be able to debootstrap a whole chroot.

    Awesome!

    Are these (binaries? debs?) available for download somewhere?

    When I'll get them I'll make a repo, yes, but hopefully hurd-amd64 will
    get opened on debian-ports soon so I can just put them there.

    Having rumpdisk would be very helpful if I don't manage to get ramdisk working.

    Ramdisk should be easy to get working :)

    But yes, rumpdisk and lwip will be very convenient to have.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Fri May 5 19:50:02 2023
    Samuel Thibault, le ven. 05 mai 2023 17:30:11 +0200, a ecrit:
    Sergey Bugaev, le ven. 05 mai 2023 18:15:00 +0300, a ecrit:
    On Fri, May 5, 2023 at 4:30 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
    FI, I'm having debian hurd-amd64 packages cross-built, I'm getting e.g. dash built, I'll probably have rumpkernel built too. Essentially, we should be able to debootstrap a whole chroot.

    Awesome!

    Are these (binaries? debs?) available for download somewhere?

    When I'll get them I'll make a repo, yes, but hopefully hurd-amd64 will
    get opened on debian-ports soon so I can just put them there.

    I have put what I already have on https://people.debian.org/~sthibault/tmp/hurd-amd64/

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sergey Bugaev@21:1/5 to luca@orpolo.org on Fri May 5 20:40:01 2023
    On Fri, May 5, 2023 at 9:07 PM Luca <luca@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luca@21:1/5 to All on Fri May 5 20:30:01 2023
    Il 05/05/23 19:23, Samuel Thibault ha scritto:
    Samuel Thibault, le ven. 05 mai 2023 17:30:11 +0200, a ecrit:
    Sergey Bugaev, le ven. 05 mai 2023 18:15:00 +0300, a ecrit:
    On Fri, May 5, 2023 at 4:30 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
    FI, I'm having debian hurd-amd64 packages cross-built, I'm getting e.g. >>>> dash built, I'll probably have rumpkernel built too. Essentially, we
    should be able to debootstrap a whole chroot.

    Awesome!

    Are these (binaries? debs?) available for download somewhere?

    When I'll get them I'll make a repo, yes, but hopefully hurd-amd64 will
    get opened on debian-ports soon so I can just put them there.

    I have put what I already have on https://people.debian.org/~sthibault/tmp/hurd-amd64/

    Wow! Thanks a lot for your continuous effort!

    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... :( ).


    Luca

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Sat May 6 17:40:01 2023
    Samuel Thibault, le ven. 05 mai 2023 19:23:57 +0200, a ecrit:
    Samuel Thibault, le ven. 05 mai 2023 17:30:11 +0200, a ecrit:
    Sergey Bugaev, le ven. 05 mai 2023 18:15:00 +0300, a ecrit:
    On Fri, May 5, 2023 at 4:30 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
    FI, I'm having debian hurd-amd64 packages cross-built, I'm getting e.g. dash built, I'll probably have rumpkernel built too. Essentially, we should be able to debootstrap a whole chroot.

    Awesome!

    Are these (binaries? debs?) available for download somewhere?

    When I'll get them I'll make a repo, yes, but hopefully hurd-amd64 will
    get opened on debian-ports soon so I can just put them there.

    I have put what I already have on https://people.debian.org/~sthibault/tmp/hurd-amd64/

    coreutils is in :)

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)