From patchwork Fri Jan 19 13:54:41 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: 59127 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 8872F27BBEC; Fri, 19 Jan 2024 13:56:31 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 8C88C27BBE2 for ; Fri, 19 Jan 2024 13:56:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQpM6-0003aK-NG; Fri, 19 Jan 2024 08:56:22 -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 1rQpLm-0003Ra-K2 for guix-patches@gnu.org; Fri, 19 Jan 2024 08:56:02 -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 1rQpLk-0007x3-NL; Fri, 19 Jan 2024 08:56:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQpLm-0001vg-NX; Fri, 19 Jan 2024 08:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68355] [PATCH v2 2/9] 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: Fri, 19 Jan 2024 13:56: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: othacehe@gnu.org, Jean-Pierre De Jesus DIAZ , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 68355-submit@debbugs.gnu.org id=B68355.17056725197265 (code B ref 68355); Fri, 19 Jan 2024 13:56:02 +0000 Received: (at 68355) by debbugs.gnu.org; 19 Jan 2024 13:55:19 +0000 Received: from localhost ([127.0.0.1]:57864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQpL5-0001t6-1M for submit@debbugs.gnu.org; Fri, 19 Jan 2024 08:55:19 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:46121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQpL3-0001sO-8C for 68355@debbugs.gnu.org; Fri, 19 Jan 2024 08:55:17 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40d6b4e2945so8657855e9.0 for <68355@debbugs.gnu.org>; Fri, 19 Jan 2024 05:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1705672509; x=1706277309; darn=debbugs.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=ribTKgOwMk2H0ykepF0XX/Nyi5/7L/WCGB2TXPkuvc0=; b=KnXGkd5MtRYfrZoAOTFkWrtZcrweZ1rTn+xqFWkKZsmUqHQ6nqGPcIHcbA4n0n0+kj IlFlXeTfyZL52ajJ3+25ll94DiqUkZpReL2MpOizZ1Byw/Hbh9EQDIwrXugd7FTotjHC GyuGRNb5oTh6DwfAp7d+mL5TWm37h/CPx/OmJnQG5fE0xqnre8hTPgQYSW5uTs8kRiQy K7IJ7cJE3fMJp1LPYxbLWeJ/0f9ZNkSBUQuWoQ41aPjn2gyCVkMB7KRfg/cqr2Op2LM3 swg0Vu5ltF4qLLcyFsDRJJLaM8FLqlgDyz4lvv7OWZ0eefcvhPEEakZtxkJqSkXD6kDy uwfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705672509; x=1706277309; 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=ribTKgOwMk2H0ykepF0XX/Nyi5/7L/WCGB2TXPkuvc0=; b=tVYEoeETHH15Qc2g5BwDf2iIgr0vZYeke2/q3hSC3qJ1h0PvgcStDRiThhSxj2Yxls U8iCD5EQT0TlycI0gaaFI3bIXuC4GJ/7tpezhlUlYt9OGgyIZQDtwYwo33D5q5OudF70 RbRn7d0dkDLDYSX3DMwZiouKuEgyb3hx8A5vLWcvZmLZwoA+yRf2dT4rpXVXkTg+8p+x UvmGaNJ4sktEGq3GSLN5VrZXsGp8ikhA2OpZudQXtCWOxq6Bj10Jv0oJosM5Am7BFjco nzuqtynM7IBZud35tiFnifmhdC1VHRgbN8m3FYZjKev6PDN4td/gOQfzPutNX1C6cpDD ZGtA== X-Gm-Message-State: AOJu0Yy+sT2zD9Zn8woEnTJIGrw8HE7LYzii7oiOeTSeJNif6iagrTke b/qqEtOW+aCyaIKWlM9+DQnf4FQPSR4qbOGgH6g0f33eT7xj6WEVNpTXsWbtRfrCoIma2OQP01G +k0U= X-Google-Smtp-Source: AGHT+IFegJW+kH3tf4TeJFbxGjTlYPaNIgRGeiota63G5+OWgN2/cl9PG/4UgQ87CTAZRKykr7iDNQ== X-Received: by 2002:a05:600c:1f87:b0:40e:8cf5:2944 with SMTP id je7-20020a05600c1f8700b0040e8cf52944mr1023511wmb.71.1705672508928; Fri, 19 Jan 2024 05:55:08 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id s8-20020a05600c45c800b0040e527602c8sm33314846wmo.9.2024.01.19.05.55.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 05:55:08 -0800 (PST) Date: Fri, 19 Jan 2024 14:54:41 +0100 Message-ID: <1a8897818195eb8da2c7b6d03828380cf8999304.1705672190.git.jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <4e6b129a26d38305073c392c04707498a2ddfe69.1705672190.git.jean@foundationdevices.com> References: <4e6b129a26d38305073c392c04707498a2ddfe69.1705672190.git.jean@foundationdevices.com> MIME-Version: 1.0 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..2d79e0acf6 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 (e.g. or1k-elf). + (name (string-append "gcc-cross-" target "-toolchain")) (version (package-version xgcc)) (source #f) (build-system trivial-build-system)