From patchwork Tue Jan 9 23:14:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 58713 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BF20C27BBEA; Tue, 9 Jan 2024 23:16:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C19E627BBE9 for ; Tue, 9 Jan 2024 23:16:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNLKB-0001wT-Sv; Tue, 09 Jan 2024 18:15:59 -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 1rNLK9-0001tQ-2q for guix-patches@gnu.org; Tue, 09 Jan 2024 18:15:57 -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 1rNLK7-0001e2-7Y; Tue, 09 Jan 2024 18:15:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNLKE-0000JK-94; Tue, 09 Jan 2024 18:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68355] [PATCH 2/8] gnu: cross-gcc-toolchain: Use fixed name. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, guix-patches@gnu.org Resent-Date: Tue, 09 Jan 2024 23:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68355@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by submit@debbugs.gnu.org id=B.170484214231579 (code B ref -1); Tue, 09 Jan 2024 23:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2024 23:15:42 +0000 Received: from localhost ([127.0.0.1]:41269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNLJt-0008CT-L3 for submit@debbugs.gnu.org; Tue, 09 Jan 2024 18:15:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:37552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNLJr-0007yg-PV for submit@debbugs.gnu.org; Tue, 09 Jan 2024 18:15:40 -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 1rNLJY-0001lq-QQ for guix-patches@gnu.org; Tue, 09 Jan 2024 18:15:21 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNLJW-0001N1-My for guix-patches@gnu.org; Tue, 09 Jan 2024 18:15:20 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40e55c885d7so1018515e9.0 for ; Tue, 09 Jan 2024 15:15:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1704842116; x=1705446916; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5l170BZEe7cgvYP9DlUbRJ4JbbY6gOQA9MEEx1tOr+Q=; b=cJVL4cFlMZdmgVir49J3ulP4riWsMiHprD1Hu0ST8InSzul9v2jCtbmSxL6iryIxvt QUth6+R8QRXimqu9Oh+7qj9wgwhTS807zHJTFK6MZryKHhHKImUE0y3OxZAw/KgL5Anu nEf9s2VbmDgmFIxj9w05L7EGufGBM6W36wNsxQHGv114msQkAP0osKvHdYQNH3fwBR+Q Oaoss/gM4ycLQuGWG/Y9h3gZUxA8+F8lN8PgCat9RcT8QQWUKU2/3u/MLemE6DDfKjRu ky+b72MDFuY5RohhI5/EKP3MlRT0n0rdhXpGXvfvHp/h6CaAdiD7NluFU4PwNrV2UdsF 2acw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704842116; x=1705446916; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5l170BZEe7cgvYP9DlUbRJ4JbbY6gOQA9MEEx1tOr+Q=; b=YtzQuzbcKfXlslOiDJjX8+b8JMWGhnCRVvGw0GEYP4+I96iwTYSYuWFrtDy+uuCY3Y jA+wko6dD9TbamSGbmGhTAjczjlK4llJT9l/9Pi4qcDn4TeKZcsHFlNQhsfpwQk5o4v4 fMGCo7zPocfYkhnUznK3I47BFTRadITweYZewwvTe5RZ9csPNN6wWwKhMEDMe2pLUALj YgLI8e8MW7j59gzL6DtMcuIexw76LkpTgE01I8IUwABLltibMpIBeQ/cwYN0WSByMJeq Lssv6/FhQF7hQA//B816whjk0EQKJ73yClZAMLD2qZWnUqH21wMJhJfxLirN5Fc8kVSA /WBg== X-Gm-Message-State: AOJu0Ywq6z3lP1WMtpBVXpNWuGzK14t9ZESW3bhoC9UMs35+v9xO3eaz XiH4t02D0hepqjLJCNvlJbMA793zHz7Ket4zVSFV27MfC9XNfA== X-Google-Smtp-Source: AGHT+IFluZL6hyEFeNtPEFCIzU9D3yXXaAVBgOiIjgrPB4wtBoGrpSEdt4wmAKHlKXJgRC8JxcT6RQ== X-Received: by 2002:a7b:c053:0:b0:40e:47c1:eb62 with SMTP id u19-20020a7bc053000000b0040e47c1eb62mr32225wmc.46.1704842116454; Tue, 09 Jan 2024 15:15:16 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id p16-20020a05600c469000b0040e39cbf2a4sm56833wmo.42.2024.01.09.15.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 15:15:16 -0800 (PST) Date: Wed, 10 Jan 2024 00:14:36 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=jean@foundationdevices.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cross-base.scm (cross-gcc-toolchain) : Always use gcc-cross- prefix regardless of TARGET having a C standard library or not. Change-Id: I5cbe89c61e5bd324a385db17c27131ea5ef75669 --- gnu/packages/cross-base.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 6ee7b315d8..6abf07be17 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -745,7 +745,9 @@ (define* (cross-gcc-toolchain/implementation target "Returns PACKAGE that contains a cross-compilation tool chain for TARGET with XBINUTILS, XGCC and LIBC (if exists for TARGET)." (package - (name (string-append (package-name xgcc) "-toolchain")) + ;; Using PACKAGE-NAME of XGCC is avoided here as there are platforms that still + ;; need a toolchain but don't have a libc. + (name (string-append "gcc-cross-" target "-toolchain")) (version (package-version xgcc)) (source #f) (build-system trivial-build-system)