From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MJ4BF4jwMGcvXgEAqHPOHw:P1 (envelope-from ) for ; Sun, 10 Nov 2024 17:42:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MJ4BF4jwMGcvXgEAqHPOHw (envelope-from ) for ; Sun, 10 Nov 2024 18:42:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vqoel+qm; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OUKl6Dqw; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731260552; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=X/vuPjsAzYkxrcWqCWFJDH2aAkZOmsZxg3wuHaL/2Zg=; b=DgNWedz0/ImE+3ouAawcGeVxEIfVG72JhagNtyjlRRfSpFkLLTKgk8HX7OwR/Z6rEJ4Rlr q2C1JcczmlBVnyheddiMU4IdgMlNuXJPIF3rXjdQLzTqrMyOAU3322lyru7kIVk9P+oaWZ CkjvbvtsNLPp0TEKKRS/OyraLnHtM+/6fwrHxERkYi9RD5JJY9lj1OHi01/gCK1GEtIRcJ FNQTmTtuhs9NWszZbtNd2v3b2U8h32Y/2n8v8nXJkSpbIrMPN2ul40PLrBUuvALDk2pmzr Ee9FzRkOlyc1fiaD5xwUN0EhH1ziZvVYiAdwUBv1VnL1K8uhS87T4zuRLC1fdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vqoel+qm; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OUKl6Dqw; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731260552; a=rsa-sha256; cv=none; b=Cy6KFtmSF7HiZWWcNnxl6PcZGerEusRFyFTVK3QbsFQx7FMHroB9zVE6v14p0frTR7ZG1O pBIj4+xzhbn9SmfGmQGrsbmtPkbBamLE+oZYojhGN8f4QCLR0sWu2OVzK8Kc/n6iMWLHrA 4aSASuOftG35YyO3rxqZqi8oWBTz690I+p5ES5tX1xTUwSl+puer0hI1Hj6BeIK6XoUQBF eUXt1sV/cy7AH78QKa2A+jpVSwhzdNG6GQaq8OkgAQ8rtLsBkwSY9yi8TwgDQ//P8wfvrP QfkLTwzv97lVLIHyNRl+90sOL8saY9IwJEYkyEZ19iOxPtsYgT4H8dUjRpkGTg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 479CF86E9B for ; Sun, 10 Nov 2024 18:42:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tABww-0004TI-PI; Sun, 10 Nov 2024 12:42:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tABwp-0004Rv-UE for guix-patches@gnu.org; Sun, 10 Nov 2024 12:42:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tABwp-0001G2-Eo for guix-patches@gnu.org; Sun, 10 Nov 2024 12:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=X/vuPjsAzYkxrcWqCWFJDH2aAkZOmsZxg3wuHaL/2Zg=; b=vqoel+qm86qg/7n6rL1GiHi/X6vrC9e5x56M+ICDFSX5cHlK3dVF8JcoL5m9LGbvUpmW+fH2tJrliVKvl9jFoaKcfOV33iQOS5t5unuJGbmKZCeMnlH85Xmzt9V80ZBeJ4jZvEcPwxlvRUvJkFvLVtDGxUnRRRWLvZLXEMQUOh0u467c0Gc07R2NFFIiMIfurQBZmgF4/6qam7ozDkrrRjFwYGFfF/XadcF4HfEsV47H3i4125NfMgiKB3dMSaSOXzpn9TFh202hj5C793WJFZghIT9yNuvSu8M42a0RTteSY4Edc0nDOsoeg165rtXcpWxg7fjVd47UWR8srfIdrA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tABwp-0004sT-1v for guix-patches@gnu.org; Sun, 10 Nov 2024 12:42:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH 00/31] Add support for x86_64-gnu, aka the 64bit Hurd. Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Nov 2024 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74290@debbugs.gnu.org Cc: Vagrant Cascadian , Josselin Poiret , Tobias Geerinckx-Rice , Sharlatan Hellseher , Maxim Cournoyer , Ekaitz Zarraga , Simon Tournier , Guillaume Le Vaillant , Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Katherine Cox-Buday , Efraim Flashner , Munyoki Kilyungi , Andreas Enge , jgart , Christopher Baines Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173126047418668 (code B ref 74290); Sun, 10 Nov 2024 17:42:02 +0000 Received: (at 74290) by debbugs.gnu.org; 10 Nov 2024 17:41:14 +0000 Received: from localhost ([127.0.0.1]:56490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tABw0-0004qv-PX for submit@debbugs.gnu.org; Sun, 10 Nov 2024 12:41:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA8jb-0003v9-0S for 74290@debbugs.gnu.org; Sun, 10 Nov 2024 09:16:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tA8jP-0003DB-J9; Sun, 10 Nov 2024 09:15:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=X/vuPjsAzYkxrcWqCWFJDH2aAkZOmsZxg3wuHaL/2Zg=; b=OUKl6DqwUuQ4zU91yaKA fK6V3BL5TMSywkBMfaApYAHlV6uRkxrsaFbkIVO26HjIbDD/wAYzXH66OJf292A4DIkirj+aZGN7D pF5Dm5/XIPxIiZrSMRDHBZyxOeRoy40/zWFsUXEYdLUMMZuEkrHLhHPcCCVydNGYu50COoVmOOhxE yTVvQEGDuo9W1XekFRVJ1Vr37g8R9AZYFhNveXnZ81VbKUZp/x0KiN5ZxnxzPo4MEj6mFFuZ41XBZ ff3G+5GLWiJyNBxeRobg6xFLMn2MXV+PVW8hqvP0z4s6WQW5nR8AAxHzfPv2J+5pASuSTITdjEb7a gpR7x91o7Hkvhw==; From: In-Reply-To: (Janneke Nieuwenhuizen's message of "Sun, 10 Nov 2024 11:32:14 +0100") Organization: AvatarAcademy.nl References: X-Url: http://AvatarAcademy.nl Date: Sun, 10 Nov 2024 15:15:54 +0100 Message-ID: <87iksvyy1x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sun, 10 Nov 2024 12:41:09 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 1.38 X-Spam-Score: 1.38 X-Migadu-Queue-Id: 479CF86E9B X-TUID: GbLjOfWQrbmX Janneke Nieuwenhuizen writes: >From running etc/teams.scm by hand I found that you should have been CC'd on this patch series, sorry. Working from a backup laptop that missed the ../etc/git/gitconfig teams include. > Hi, > > Lo and behold, the 64bit Hurd boots! Again, thanks to the help from the > kind folks over at libera #hurd and their excellent work. Do something l= ike: > > ./pre-inst-env guix system image --image-type=3Dhurd64-qcow2 \ > gnu/system/examples/bare-hurd.tmpl > > > producing something like: /gnu/store/...-disk-image. > > Run the image in QEMU: > > guix shell qemu@7 -- qemu-system-x86_64 \ > --machine q35 \ > -m 4096 \ > --enable-kvm \ > --device rtl8139,netdev=3Dnet0 \ > --netdev user,id=3Dnet0,hostfwd=3Dtcp:0.0.0.0:11022-:2222 \ > --snapshot \ > --hda /gnu/store/...-disk-image > > > and login > > 11:03:20 janneke@dundal:~/src/guix/hurd-team=20 > $ ssh -p 11022 root@localhost > Last login: Sun Nov 10 10:09:00 2024 from 10.0.2.2 > =EE=BC=80=EE=BC=81=EE=BC=82=EE=BC=83=EE=BC=84=EE=BC=85 > =EE=BC=86=EE=BC=87=EE=BC=88=EE=BC=89=EE=BC=8A=EE=BC=8B > =EE=BC=8C=EE=BC=8D=EE=BC=8E=EE=BC=8F=EE=BC=90=EE=BC=91 This is the GNU H= urd. Welcome. > > root@guixygnu ~# uname -a > GNU guixygnu 0.9 GNU-Mach 1.8/Hurd-0.9 x86_64 GNU > > Most notably, besides the expected updates, this series adds an indirecti= on > for gcc and gcc-toolchain, (current-gcc) and (current-gcc-toolchain) > respectively, as the 64bit Hurd needs gcc-14. We may also want to think = about > image names hurd64-qcow2 etc. and their defaults, vs hurd-qcow2/hurd32-qc= ow2. > We'll probably also want a 64bit childhurd service, etc, etc... > > This series builds on/waits for #73927, which I intend to rebase and push > later this weekend if there are no further comments. And I guess that the > pending blog post will also need an update :) > > For your hacking convenience I have reset and updated the `hurd-team' bra= nch. > > Greetings, > Janneke > > Janneke Nieuwenhuizen (31): > gnu: mig: Update to v1.8+git20231217. > gnu: gnumach: Update to v1.8+git20240714. > gnu: hurd: Update to v0.9.git20240714. > gnu: gcc: Add indirections current-gcc, current-gcc-toolchain. > gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd. > gnu: cross-libc: Support cross-building for the 64bit Hurd. > gnu: bash-minimal: Fix build for 64bit Hurd. > gnu: elfutils: Fix build for 64bit Hurd. > gnu: grep: Fix build for the 64bit Hurd. > gnu: patch: Fix build for the 64bit Hurd. > gnu: libxcrypt: Support the 64bit Hurd. > gnu: libstdc++: Support the 64bit Hurd. > gnu: gcc-13, gcc-14: Support being used as parent for gcc-static. > DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd. > system: image: Add hurd64 image types. > gnu: Add libgpg-error-1.50. > gnu: libgcrypt: Use libgpg-error-1.50 for the 64bit Hurd. > gnu: perl: Support cross-building for the 64bit Hurd. > gnu: openssl-3.0: Support the 64bit Hurd. > gnu: pciutils: Support the 64bit Hurd. > gnu: libpciaccess: Support the 64bit Hurd. > gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df. > gnu: netdde: Support the 64bit Hurd. > gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337. > gnu: rumpkernel: Support the 64bit Hurd. > gnu: hurd: Build fixes for the 64bit Hurd. > gnu: git-minimal: Support the 64bit Hurd. > gnu: inetutils: Fix build for the 64bit Hurd. > gnu: grub: Fix build for the 64bit Hurd. > gnu: guile-fibers: Fix build for the 64bit Hurd. > system: hurd: Use 64bit gnumach for the 64bit Hurd. > > doc/guix.texi | 9 +- > gnu/ci.scm | 4 +- > gnu/local.mk | 9 + > gnu/packages/admin.scm | 14 +- > gnu/packages/avr.scm | 7 +- > gnu/packages/base.scm | 74 ++++--- > gnu/packages/bash.scm | 9 + > gnu/packages/benchmark.scm | 6 +- > gnu/packages/bootloaders.scm | 10 +- > gnu/packages/bootstrap.scm | 46 ++++- > gnu/packages/c.scm | 4 +- > gnu/packages/chicken.scm | 7 +- > gnu/packages/commencement.scm | 35 ++-- > gnu/packages/containers.scm | 5 +- > gnu/packages/cross-base.scm | 27 +-- > gnu/packages/crypto.scm | 15 ++ > gnu/packages/dlang.scm | 3 +- > gnu/packages/elf.scm | 6 +- > gnu/packages/engineering.scm | 4 +- > gnu/packages/gawk.scm | 3 +- > gnu/packages/gcc.scm | 69 ++++--- > gnu/packages/gnupg.scm | 19 +- > gnu/packages/golang.scm | 3 +- > gnu/packages/guile-xyz.scm | 2 +- > gnu/packages/hurd.scm | 187 ++++++++++++------ > gnu/packages/julia-xyz.scm | 3 +- > gnu/packages/lisp.scm | 3 +- > gnu/packages/llvm.scm | 7 +- > gnu/packages/make-bootstrap.scm | 60 +++--- > gnu/packages/mpi.scm | 3 +- > gnu/packages/parallel.scm | 5 +- > gnu/packages/patches/gnumach-version.patch | 23 +++ > gnu/packages/patches/grub-hurd64.patch | 32 +++ > gnu/packages/patches/hurd-64bit.patch | 56 ++++++ > gnu/packages/patches/inetutils-hurd64.patch | 65 ++++++ > .../patches/libpciaccess-hurd64.patch | 58 ++++++ > gnu/packages/patches/libxcrypt-hurd64.patch | 38 ++++ > gnu/packages/patches/netdde-csum.patch | 18 ++ > gnu/packages/patches/openssl-hurd64.patch | 99 ++++++++++ > gnu/packages/patches/pciutils-hurd64.patch | 31 +++ > gnu/packages/pciutils.scm | 25 ++- > gnu/packages/perl.scm | 20 +- > gnu/packages/rocm.scm | 3 +- > gnu/packages/tls.scm | 9 + > gnu/packages/version-control.scm | 8 +- > gnu/packages/xorg.scm | 23 ++- > gnu/system.scm | 1 - > gnu/system/hurd.scm | 11 +- > gnu/system/images/hurd.scm | 47 ++++- > guix/packages.scm | 8 +- > guix/platforms/x86.scm | 11 +- > guix/utils.scm | 15 +- > m4/guix.m4 | 12 +- > 53 files changed, 1025 insertions(+), 246 deletions(-) > create mode 100644 gnu/packages/patches/gnumach-version.patch > create mode 100644 gnu/packages/patches/grub-hurd64.patch > create mode 100644 gnu/packages/patches/hurd-64bit.patch > create mode 100644 gnu/packages/patches/inetutils-hurd64.patch > create mode 100644 gnu/packages/patches/libpciaccess-hurd64.patch > create mode 100644 gnu/packages/patches/libxcrypt-hurd64.patch > create mode 100644 gnu/packages/patches/netdde-csum.patch > create mode 100644 gnu/packages/patches/openssl-hurd64.patch > create mode 100644 gnu/packages/patches/pciutils-hurd64.patch > > > base-commit: 7105e7125882be35e334448eafd6d81b37b627f0 --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com