From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: GNU/Hurd update Date: Sun, 16 Dec 2018 16:42:12 +0100 Message-ID: <87r2ehtr57.fsf_-_@gnu.org> References: <87lg5lcvu0.fsf@gnu.org> <87tvjg4bi5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYYYc-0002R7-FE for guix-devel@gnu.org; Sun, 16 Dec 2018 10:42:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYYYb-0001Ct-4d for guix-devel@gnu.org; Sun, 16 Dec 2018 10:42:18 -0500 In-Reply-To: (Manolis Ragkousis's message of "Fri, 14 Dec 2018 13:31:06 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Manolis Ragkousis Cc: "guix-devel@gnu.org" , Rene Hello Manolis and all! Manolis Ragkousis skribis: > Rene is using a personal branch based with modification based on the > guix-hurd work. > > Rene are you still using the binaries I had provided? > > Theoretically we could do that. But unfortunately 1) the Guix to Hurd > cross-compilation support breaks faster that I can keep up trying to fix > 2) even when we get the binaries we will definitely have issues with the > initial tool-chain. > > Can the current master build `guix build --target=3Di586-pc-gnu > bootstrap-tarballs` ? Of course it does! :-) I was about to commit the {mkdir,tar,xz,bash} in gnu/packages/bootstrap/i586-gnu, and then thought maybe the guile bootstrap tarball as well could be added to bootstrap, but that turned out to be more complicated. First, /proc/self lookups were not working for us because our libc was lacking the implementation of =E2=80=9Cpid/=E2=80=A6=E2=80=9D magical looku= ps; fixed in 92391eaf8df8fecbf6844c57ce5bcd3014eb5d28. Second, our static Guile 2.2 (from =E2=80=98bootstrap-tarballs=E2=80=99) is= still on GNU/Hurd (I tried it on the =E2=80=98darnassus=E2=80=99 machine). What I s= ee is this: --8<---------------cut here---------------start------------->8--- ludo@darnassus:~$ G/bin/guile --version guile: warning: failed to install locale ludo@darnassus:~$ echo $? 0 ludo@darnassus:~$ rpctrace G/bin/guile --version [=E2=80=A6] 112<--150(pid14979)->dir_lookup ("home/ludo/G/lib/guile/2.2/ccache/ice-9/= command-line.go" 4194305 0) =3D 0 1 "ludo/G/lib/guile/2.2/ccache/ice-9/comm= and-line.go" 177<--185(pid14979) task139(pid14979)->mach_port_mod_refs (pn{ 24} 0 1) =3D 0=20 177<--185(pid14979)->dir_lookup ("ludo/G/lib/guile/2.2/ccache/ice-9/comma= nd-line.go" 4194305 0) =3D 0 1 "" 174<--187(pid14979) task139(pid14979)->mach_port_deallocate (pn{ 24}) =3D 0=20 task139(pid14979)->mach_port_deallocate (pn{ 24}) =3D 0=20 174<--187(pid14979)->term_getctty () =3D 0xfffffed1 ((ipc/mig) bad reques= t message ID)=20 174<--187(pid14979)->io_seek (0 2) =3D 0 77749 174<--187(pid14979)->io_map () =3D 0 177<--178(pid14979) (null) task139(pid14979)->vm_map (0 77749 0 1 177<--178(pid14979) 0 1 1 7 1) = =3D 0 19619840 task139(pid14979)->mach_port_deallocate (pn{ 24}) =3D 0=20 task139(pid14979)->mach_port_deallocate (pn{ 26}) =3D 0=20 task139(pid14979)->vm_protect (19685376 4808 0 3) =3D 0=20 148<--152(pid14979)->proc_mark_exit_request (0 0) =3D 0=20 task139(pid14979)->task_terminate () =3D 0=20 Child 14979 exited with 0 --8<---------------cut here---------------end--------------->8--- IOW, it exits right after its =E2=80=98mprotect=E2=80=99 call. For comparison, this is what it looks like on GNU/Linux: --8<---------------cut here---------------start------------->8--- stat("/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2= /ccache/ice-9/command-line.go", {st_mode=3DS_IFREG|0444, st_size=3D81741, .= ..}) =3D 0 openat(AT_FDCWD, "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/l= ib/guile/2.2/ccache/ice-9/command-line.go", O_RDONLY|O_CLOEXEC) =3D 7 lseek(7, 0, SEEK_END) =3D 81741 mmap(NULL, 81741, PROT_READ, MAP_PRIVATE, 7, 0) =3D 0x7fd08126d000 close(7) =3D 0 mprotect(0x7fd08127d000, 8128, PROT_READ|PROT_WRITE) =3D 0 openat(AT_FDCWD, "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sh= are/locale/en_US.utf8/LC_MESSAGES/messages.mo", O_RDONLY) =3D -1 ENOENT (No= such file or directory) openat(AT_FDCWD, "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sh= are/locale/en_US/LC_MESSAGES/messages.mo", O_RDONLY) =3D -1 ENOENT (No such= file or directory) openat(AT_FDCWD, "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sh= are/locale/en.utf8/LC_MESSAGES/messages.mo", O_RDONLY) =3D -1 ENOENT (No su= ch file or directory) openat(AT_FDCWD, "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sh= are/locale/en/LC_MESSAGES/messages.mo", O_RDONLY) =3D -1 ENOENT (No such fi= le or directory) write(1, "guile", 5guile) =3D 5 write(1, " (", 2 () =3D 2 write(1, "GNU Guile", 9GNU Guile) =3D 9 write(1, ") ", 2) ) =3D 2 write(1, "2.2.4", 52.2.4) =3D 5 [=E2=80=A6] --8<---------------cut here---------------end--------------->8--- We can recognize th stat/seek/mmap/mprotect sequence, but then the GNU/Linux version keeps going instead of exiting. Rene, Manolis: any ideas? :-) Thanks, Ludo=E2=80=99.