From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AF6EGL6Ty14aHAAA0tVLHw (envelope-from ) for ; Mon, 25 May 2020 09:45:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gC1wFL6Ty14SSAAA1q6Kng (envelope-from ) for ; Mon, 25 May 2020 09:45:34 +0000 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 E91C89403EC for ; Mon, 25 May 2020 09:45:33 +0000 (UTC) Received: from localhost ([::1]:45934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd9fo-0007pu-Un for larch@yhetil.org; Mon, 25 May 2020 05:45:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd9fg-0007oi-AG for guix-devel@gnu.org; Mon, 25 May 2020 05:45:24 -0400 Received: from flashner.co.il ([178.62.234.194]:53390) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd9fe-0008Lg-Ri; Mon, 25 May 2020 05:45:24 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 4CA39400D2; Mon, 25 May 2020 09:45:18 +0000 (UTC) Date: Mon, 25 May 2020 12:44:43 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: MIPS support Message-ID: <20200525094443.GD3698@E5400> References: <87blo1ydsf.fsf@cbaines.net> <20200408220745.GA18252@jasmine.lan> <87sggdf7qm.fsf@gnu.org> <20200506182327.GA27121@jasmine.lan> <87y2pqky7r.fsf@gnu.org> <20200518070122.GE18220@E5400> <87pnatyrji.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="47eKBCiAZYFK5l32" Content-Disposition: inline In-Reply-To: <87pnatyrji.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 01:51:27 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: uMNnTFFxGp3z --47eKBCiAZYFK5l32 Content-Type: multipart/mixed; boundary="pQhZXvAqiZgbeUkD" Content-Disposition: inline --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Here's a first draft at removing mips64el-linux support from the documentation. I've left it as a supported system in (gnu ci), in (guix packages) and in the tests. I changed the text where we mention that we support mips64el-linux as an architecture, and elsewhere in the manual I've either removed mention of it when it was listed as a supported target or changed the references to aarch64. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-doc-Remove-explicit-support-for-mips64el-linux.patch" Content-Transfer-Encoding: quoted-printable =46rom ebaef27fd08c29883a8e4bb091ccbd2bef9b2747 Mon Sep 17 00:00:00 2001 =46rom: Efraim Flashner Date: Mon, 25 May 2020 12:29:55 +0300 Subject: [PATCH] doc: Remove explicit support for mips64el-linux. It's been a good run, but no one is maintaining the architecture. So long, and thanks for all the fish. * doc/guix.texi (GNU Distribution): Change text for mips64el-linux to denote it is deprecated. (Daemon Offload Setup): Change occurrences of mips64el-linux to aarch64-linux and adjust local code snippets. (Guix Environment)[cross-compilation]: Change mips64el-linux-gnu to aarch64-linux-gnu. (GNU Build System)(package-cross-derivation]: Same. (G-Expressions)[cross compilation]: Same. (Additional Build Options)[cross-compilation, build logs]: Same. (qemu-binfmt-service-type): Remove mips64el. * doc/contributing.texi (Submitting Patches): Same. * m4/guix.m4: (GUIX_ASSERT_SUPPORTED_SYSTEM): Remove mips64el-linux. --- doc/contributing.texi | 3 +-- doc/guix.texi | 25 +++++++++++++------------ m4/guix.m4 | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index 7b1f7e7c94..7496db5aaa 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -938,7 +938,7 @@ your @code{operating-system} configuration: @lisp (service qemu-binfmt-service-type (qemu-binfmt-configuration - (platforms (lookup-qemu-platforms "arm" "aarch64" "mips64el")) + (platforms (lookup-qemu-platforms "arm" "aarch64")) (guix-support? #t))) @end lisp =20 @@ -951,7 +951,6 @@ commands, respectively: @example guix build --system=3Darmhf-linux --rounds=3D2 hello guix build --system=3Daarch64-linux --rounds=3D2 hello -guix build --system=3Dmips64el-linux --rounds=3D2 hello @end example =20 @item diff --git a/doc/guix.texi b/doc/guix.texi index 3d1b097447..50472e0adb 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -464,11 +464,12 @@ and Linux-Libre kernel. @item aarch64-linux little-endian 64-bit ARMv8-A processors, Linux-Libre kernel. =20 -@item mips64el-linux +@item mips64el-linux (deprecated) little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel. This configuration is no longer fully -supported; in particular, the project's build farms no longer provide -substitutes for this architecture. +supported; in particular, there is no ongoing work to ensure that this +architecture still works. Should someone decide they wish to revive this +architecture then the code is still available. =20 @end table =20 @@ -1059,8 +1060,8 @@ The @file{/etc/guix/machines.scm} file typically look= s like this: (speed 2.)) ;incredibly fast! =20 (build-machine - (name "meeps.example.org") - (system "mips64el-linux") + (name "armeight.example.org") + (system "aarch64-linux") (host-key "ssh-rsa AAAAB3Nza@dots{}") (user "alice") (private-key @@ -1070,7 +1071,7 @@ The @file{/etc/guix/machines.scm} file typically look= s like this: =20 @noindent In the example above we specify a list of two build machines, one for -the @code{x86_64} architecture and one for the @code{mips64el} +the @code{x86_64} architecture and one for the @code{aarch64} architecture. =20 In fact, this file is---not surprisingly!---a Scheme file that is @@ -5329,7 +5330,7 @@ the system type of the build host. @item --target=3D@var{triplet} @cindex cross-compilation Cross-build for @var{triplet}, which must be a valid GNU triplet, such -as @code{"mips64el-linux-gnu"} (@pxref{Specifying target triplets, GNU +as @code{"aarch64-linux-gnu"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf}). =20 @item --compression=3D@var{tool} @@ -5718,7 +5719,7 @@ Return the @code{} object of @var{package= } cross-built from @var{system} to @var{target}. =20 @var{target} must be a valid GNU triplet denoting the target hardware -and operating system, such as @code{"mips64el-linux-gnu"} +and operating system, such as @code{"aarch64-linux-gnu"} (@pxref{Specifying Target Triplets,,, autoconf, Autoconf}). @end deffn =20 @@ -7719,7 +7720,7 @@ native package build: "-s" (string-append #$emacs "/bin/emacs") (string-append #$output "/bin/vi"))) - #:target "mips64el-linux-gnu") + #:target "aarch64-linux-gnu") @end lisp =20 @noindent @@ -8839,7 +8840,7 @@ also be offloaded to a remote machine of the right ar= chitecture. @item --target=3D@var{triplet} @cindex cross-compilation Cross-build for @var{triplet}, which must be a valid GNU triplet, such -as @code{"mips64el-linux-gnu"} (@pxref{Specifying Target Triplets, GNU +as @code{"aarch64-linux-gnu"} (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf}). =20 @anchor{build-check} @@ -8909,7 +8910,7 @@ So for instance, imagine you want to see the build lo= g of GDB on MIPS, but you are actually on an @code{x86_64} machine: =20 @example -$ guix build --log-file gdb -s mips64el-linux +$ guix build --log-file gdb -s aarch64-linux https://@value{SUBSTITUTE-SERVER}/log/@dots{}-gdb-7.10 @end example =20 @@ -24476,7 +24477,7 @@ emulated: @lisp (service qemu-binfmt-service-type (qemu-binfmt-configuration - (platforms (lookup-qemu-platforms "arm" "aarch64" "mips64el")))) + (platforms (lookup-qemu-platforms "arm" "aarch64")))) @end lisp =20 In this example, we enable transparent emulation for the ARM and aarch64 diff --git a/m4/guix.m4 b/m4/guix.m4 index 961ce838ac..05057aca93 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -88,7 +88,7 @@ courageous and port the GNU System distribution to it (see # Currently only Linux-based systems are supported, and only on some # platforms. case "$guix_system" in - x86_64-linux|i686-linux|armhf-linux|aarch64-linux|mips64el-linux) + x86_64-linux|i686-linux|armhf-linux|aarch64-linux) ;; *) if test "x$guix_courageous" =3D "xyes"; then --=20 2.26.2 --pQhZXvAqiZgbeUkD-- --47eKBCiAZYFK5l32 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7Lk4sACgkQQarn3Mo9 g1Gu2w//RFeQKA6b7692g2X1q9GGQetmHDYK6b0BEcx5yoPtT6P9VF7kbwdFHw94 COaKM0GYj568plFkz4FbfxNnqWuRyLwHPK2ovjBRvDn1S51gYYSp37m3YDhS8Xy8 C9R96BFQ5M4Oz2j4LIweqUTMZV8Iichicjf93CjVFC5WCDBrbFsViYo5iZxknwsz loTlTYFIN0OV+wASzo6UYBKkyVPsoUYtzXr1ZjYPRUZXQl7KNjM1Yy4tDtgM0vbg VWbT2n4V9k2lu71KTUFZW80ORH6LmjVPPSsPAgNxMV9SE9fEGCApIVUrxj6xdW+w XNKXmM3Sl+0pN9np57lAe6UvycuwFyAKaYTErueYMkBoAY8ipZBIvvdgP9yuh/L5 9mWxsqt6x3upBjYGLrMfsPcDjaJUCjpdwgTkGhVb/0fzEyXwiq5FUaBOg5fEGUPP 0AzIucqGDrEEuA6DDB7uxd5j/IdBnQ+Djkn6i7DZUnNmXtZtX3JhwkN1w19u0vOz w9FLWSX0nXWxBCYwDb/GWe99CaHrpWyW69lIOJRejS51hZaPuCPKtTm8DpiLa/Te cQVip92+ZiLFuy8f7uTSI44WJ4O7pKN1gVfloYJpf+pajIDTpbjU3Xjeu3lF9Vbr cZ+ggCebhYXeVkM0rgDZq9bknzmYWmZzvaDKEGIzgCrLfYxFZk4= =xDK4 -----END PGP SIGNATURE----- --47eKBCiAZYFK5l32--