From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QKonBw3UZ2I12AAAbAwnHQ (envelope-from ) for ; Tue, 26 Apr 2022 13:14:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4OFKBw3UZ2KOUQAA9RJhRA (envelope-from ) for ; Tue, 26 Apr 2022 13:14:21 +0200 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 B3D2C3D259 for ; Tue, 26 Apr 2022 13:14:20 +0200 (CEST) Received: from localhost ([::1]:34516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njJ99-000212-AH for larch@yhetil.org; Tue, 26 Apr 2022 07:14:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njJ8s-0001wa-L7 for bug-guix@gnu.org; Tue, 26 Apr 2022 07:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njJ8s-0006hH-Au for bug-guix@gnu.org; Tue, 26 Apr 2022 07:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njJ8r-0003yE-WE for bug-guix@gnu.org; Tue, 26 Apr 2022 07:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54864: GNU Cuirass reports arm64 as armhf Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Apr 2022 11:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54864 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 54864-submit@debbugs.gnu.org id=B54864.165097162715156 (code B ref 54864); Tue, 26 Apr 2022 11:14:01 +0000 Received: (at 54864) by debbugs.gnu.org; 26 Apr 2022 11:13:47 +0000 Received: from localhost ([127.0.0.1]:37212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njJ8c-0003wH-Bx for submit@debbugs.gnu.org; Tue, 26 Apr 2022 07:13:47 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:35535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njJ8a-0003v6-PW for 54864@debbugs.gnu.org; Tue, 26 Apr 2022 07:13:45 -0400 Received: by mail-pj1-f52.google.com with SMTP id w5-20020a17090aaf8500b001d74c754128so1976502pjq.0 for <54864@debbugs.gnu.org>; Tue, 26 Apr 2022 04:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PfoRo895+2SQPXTSrARBK3rCdgH0t3bBG8yZ6tzBvNs=; b=C4U+51Ox1d0r+h1XDiks1FzlRy71EaZ1pAFsthA9Ts7UiLJwjXYjCDtN1n192rpFVP xUnZvN43Dj2S90Mx74t9/MV0hES5/7Q3jsmYKYDv7TGgaNgrmmbHizJdvFYpH7JvlMNK D/R7U+2R6EA7IhXMCCat2pcKyJHLo7ywlln+HwB1c2zVT5tB8PBwAxbXg9RDaNJ7ObVr JAAPRBZEfD3ESP8vCnQDMMyyk+Gm3NkV9Z/yrVQy5owDgv4COc1WRe0X6oHQEheBPTSB 3ebS1uuGILyTZkwmOo8MyvOQqe8FhmrffmHe97tRfxgG8a8xfPify1QIION9HjfZDlVC czgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PfoRo895+2SQPXTSrARBK3rCdgH0t3bBG8yZ6tzBvNs=; b=iGD+TsK6yKGhCX35rynH818bwwyRKlhrzxJtBrEDzTOJeA3z1lE55hqEy+/6DvvGsI yqJBwqQ9Tbad73Gs+osEL1c+27tzOxH+Sj2i6NoRazt8x2cVZr9x0WBbYMh3tV46OFPq FleCj4+DrLWtKX2RsjaVzSYFbexU/cLBOAkMdes3vgx3AOJJyza/khB0vey+v9HbgWLv a1JnO3/dlEYWgwsKY4XNkE6hj243ywFkXKewwSQtGVGsSS4qZYMNvtqE3DgIxqXWldcA egwFIdLYO0EqzdUiBbUiq7QErz9eKvItswwQn2b/w/P3XU+3RazBDy9DJWDRnlxkfx+W 6K9Q== X-Gm-Message-State: AOAM532EJnv6JoUWe61SEKD1drDW8vDhHv6OzqOeGWgEeO+EnZug7KcV 68qFUm0m8Xn3OVZ+efDL3iGSuT5BH6dGp59kIPM= X-Google-Smtp-Source: ABdhPJwFR+lCfYGMNSlTraRE+y5yX4uo8tYHGdcX9PFFn4pVITmIQTWlPsE2eMOiDuFLtQi8nHQeMZ6Jd6CgIO/+aoc= X-Received: by 2002:a17:902:ea4f:b0:158:5013:1403 with SMTP id r15-20020a170902ea4f00b0015850131403mr22623201plg.75.1650971619029; Tue, 26 Apr 2022 04:13:39 -0700 (PDT) MIME-Version: 1.0 References: <87h76no7gv.fsf@gnu.org> <87czh94u83.fsf@gmail.com> <87fsm0wa5k.fsf@gnu.org> In-Reply-To: <87fsm0wa5k.fsf@gnu.org> From: zimoun Date: Tue, 26 Apr 2022 13:13:27 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christopher Rodriguez , 54864@debbugs.gnu.org, Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650971660; 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: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=PfoRo895+2SQPXTSrARBK3rCdgH0t3bBG8yZ6tzBvNs=; b=Gr/hWNn2AoW/6M/mwOev1QK3/j01KxBK75iwc8PYypfuZvXky4+VPgbf0VV1cV+wCgbq3v f9HODDX9+C7BnsXggU0etFi8H9gR7k5SPsZO1useFl1PQYsBW9xMOVjx2Ip1OrqyPoj1S8 +hbbcKl5hFgMeBvKX5t28yAkfmFZlkKMsHonPSe0jYqlStLytDZFInwzPsO8uXCpmrzKqI ehxaa3yC7lfb5N/wZik2vqGcutuHfXgiNWYnNXudfKswcqBapBqPEoFYhXRagV02xwpONo ekNfkoTCidz9MVB9QFdAbJKyRE7auv9kfqH5pwDHyFdDbknl/3zpUS2KGFuL/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650971660; a=rsa-sha256; cv=none; b=tdIWz1KAXcCZRLnaJSnr/1I1TjhxMBUkfjAOBW240/fZh5I12WAdapfzQOslh/IcvSuZT2 Z5PahGTCpEza6GS3U2fbK7L2kCzaSUnYy3ny6SzTUbxPx2WDPc8m3LLDAO8ZTg8AuGHrpU GVFNW2ksa5fGE6hC3tXZ8vliHgLpuZk9gM+GeTf0OGwr3CCKcN/8Wn/P1ejV1hsjQosXgD YNc6xjs9aIPB6p0sZCl+DFtpIxw7PwPpn1rs5EW2Gt343O8DeX51v5qk2y9TDm/PS9ujAJ +Sh+cWbqATd+Kw+o1H6p9cxvtvgSzZ4Z1IKCPcfwkaaR2jbKjx2URabj4DA5pA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=C4U+51Ox; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=C4U+51Ox; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B3D2C3D259 X-Spam-Score: 7.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0T7a0fSqOSvG Hi, On Tue, 26 Apr 2022 at 10:00, Mathieu Othacehe wrote: > > I've had this experience before, it's very confusing (it goes on trying > > to build a toolchain for something that is sure to fail). Perhaps we > > could at least have a place to refer to in the manual for the common GNU > > triplets which make the most sense in for GNU Guix (e.g., the currently > > supported GNU system triplets). Currently I grep the manual for > > disparate examples when my memory fail me. [...] > * Define all the supported architectures in (gnu platforms). We already > have ARM and Hurd defined there. > > * Define %supported-systems and %supported-targets lists constructed by > parsing the records. > > * Use those lists to check the values passed to --system and --target > arguments. > > * Add --list-available-systems and --list-available-targets arguments > for all the commands supporting --system and --target arguments. I agree. It would ease the dance. In addition, it would help to have a subsection in the manual about "cross-compilation"; maybe under the Development section. For instance, I do not find clear the difference between 'system' and 'target'. And the explanations for the triplet are outside the Guix manual, pointing to [1] which I do not find very clear. Something like an explicit list of possible values for this triplet would be worth. 1: Cheers, simon