From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 26 07:13:47 2022 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: Subject: Re: bug#54864: GNU Cuirass reports arm64 as armhf To: Mathieu Othacehe Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54864 Cc: Christopher Rodriguez , 54864@debbugs.gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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