From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KHlKFH6WFmWvNgAA9RJhRA:P1 (envelope-from ) for ; Fri, 29 Sep 2023 11:18:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KHlKFH6WFmWvNgAA9RJhRA (envelope-from ) for ; Fri, 29 Sep 2023 11:18:54 +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 2FC0D5772F for ; Fri, 29 Sep 2023 11:18:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=YVI9clgS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695979134; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=/pe7YpfnjAAXFJoCSkJusfhVvkiy9KxONm/2NlHqh8k=; b=kpArT907dxbxa2mgVtP+eCXjqP5tFEiX8GAnm6/+KaEH89O1jgV5rZNdKy4x5/gwWJChWH sY4OkQJED1DG8gHdnAKN0P+m1WlZ5s+f8wtfeO4EcVAasxxxSYe/klTL5CZk4zNBS5b76B bxA+aBC7gKoEWQAriXQE9OGoH1Xny7Kn6MB6O8KERwRx4MJQO5sPpqiJRbClcn9DGT7+vl GevzADRCLht1FEF+iF8bqYlF1IIWOwWn+9e7qfBLn4eLiO03b3kX9vm98BEBdEpD6dAKPh ewhG7a2ZKZDhKdV7ihpVlzFSlMJbHkyC/FnfBYncp9R+CI7Y1LD6NBOR5RxEWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695979134; a=rsa-sha256; cv=none; b=aMyPelBTTo1GhaPlqCUYk/lhl9KGckJX9ov16rtbYR8U2G5W948jy46wzou5+300t1JrTR Ev45rYRzrQo3rii4TY94CXK5KgBbDLDYLfAtZQsyPKQF3MypwtSR7lRIztKOE2I9hKm3wv HhUBirYIrwfBW/BR0E7JE2TvgdpUiBiAPemMi9fdQY0A9hkZxrbyrWrTyh2a4L+zTwpiGs dYdRDRtSyESTXuaaQXX7yT333DjgyiUpmrt4tO6au/Ar+pugYAKS/FWdZd2JmOOSpbd2rd wQqxIFo9qj4T3rIqIH8AumKg/0mf7yIVYpXr1sHAzB066yT35Eh3Ea9vQniOrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=YVI9clgS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm9de-0005kU-Nl; Fri, 29 Sep 2023 05:18:22 -0400 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 1qm9dH-0005Vt-V6 for guix-patches@gnu.org; Fri, 29 Sep 2023 05:18:00 -0400 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 1qm9dA-0003ud-4d for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm9dO-0004me-PT; Fri, 29 Sep 2023 05:18:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 13/23] gnu: cross-libc: Add AVR Libc case. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 29 Sep 2023 09:18:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com X-Debbugs-Original-Xcc: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169597905418155 (code B ref 66263); Fri, 29 Sep 2023 09:18:06 +0000 Received: (at 66263) by debbugs.gnu.org; 29 Sep 2023 09:17:34 +0000 Received: from localhost ([127.0.0.1]:55208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cs-0004ie-2U for submit@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:34 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:46357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cT-0004eX-Ub for 66263@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:12 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c02e232c48so229827181fa.1 for <66263@debbugs.gnu.org>; Fri, 29 Sep 2023 02:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695979009; x=1696583809; 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=/pe7YpfnjAAXFJoCSkJusfhVvkiy9KxONm/2NlHqh8k=; b=YVI9clgSKCx0c1ixeSYdKEB2ZoPiItNKXx5YPeqpJW+9lVDwhg2LU1HLO82qd9t2Gg yCshg69KZZf1nupWRD3XA6YGpNrjDbzFNtK1XjwNxS/rbhPO4Q4JbSy4kOVYwnXjegYE 9gB7XZxnaIU9lNR4iGBq/JYUt7zAwLlen3O/Jtw1iAjoZQ6AKAVcIGzrkIzyHboql8Qr 2AKEarXPEvzM+zhOV6Luj0izjSa1FUde0KCG7b1dGwg+HLXB2tPU56Hgfd3/HeX1Nfov XOc/TilDEnDgxPXCZr5y4WnboRrap9ZKFWL7DwvHeMCn0rqvTiYUHDX60ixORBB8UoNU iVvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695979009; x=1696583809; 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=/pe7YpfnjAAXFJoCSkJusfhVvkiy9KxONm/2NlHqh8k=; b=LJFf3S9aZM4BWlKtKz4Ol5StAip4aXKKzN17SO/t39F6CbX0ve2FvXc9gGCK8fxySr OXpDWpdfRRWIpbq+7rwqXVtu1hmxV73aVsYAemCL33N0dwDCE4JczWlBTUGy9UouOPv8 y9EhhwUVYwq9T4ytPO1sM9HqTp8ihDYGeC81gdKtt2P6WmAlW0idcgr1PY7D40Ug1mUg B3RhiXkwHZvzlVxyeHjUm85aaOg6hHP1twSEC4JBjPTJjRc2nObxhfXVnLNgl3Ei7Zjm fSZ6etxsMfXVVmg62YNBylI+MF+kcAtlu432KrdwVSIv2Euc83KB06VVxalvnG20CoXm Creg== X-Gm-Message-State: AOJu0YyAbKBI+F2cMmtRVCbDariyjW4vK6UQHCXBCoebqOiyT02hW/19 XsXmHJw9MoeqGLy5IJDCCbx8mU9Ag4D6YQiszOGE7w== X-Google-Smtp-Source: AGHT+IGecKd2aGkLxsjRU//Zbgh6CBcl+o6XikjjIyP0tIoMoRtGgdTcgncGxOgG1m/BJ2FSaVl9uA== X-Received: by 2002:a05:6512:3685:b0:503:17d6:7dac with SMTP id d5-20020a056512368500b0050317d67dacmr2742432lfs.42.1695979009227; Fri, 29 Sep 2023 02:16:49 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id k15-20020a7bc40f000000b004013797efb6sm1020933wmi.9.2023.09.29.02.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:16:48 -0700 (PDT) Date: Fri, 29 Sep 2023 11:16:17 +0200 Message-Id: <20230929091627.7820-13-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929091627.7820-1-jean@foundationdevices.com> References: <20230929091627.7820-1-jean@foundationdevices.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.74 X-Spam-Score: -4.74 X-Migadu-Queue-Id: 2FC0D5772F X-TUID: 6rN5stM48h8x * gnu/packages/cross-base.scm (cross-libc): Handle the AVR target case and return AVR Libc package. --- gnu/packages/cross-base.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index ec7ca2186d..fc21e7c4fd 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -28,6 +28,7 @@ (define-module (gnu packages cross-base) #:use-module (gnu packages) + #:use-module (gnu packages avr) #:use-module (gnu packages gcc) #:use-module (gnu packages base) #:use-module (gnu packages linux) @@ -622,6 +623,8 @@ (define* (cross-libc* target "Return LIBC cross-built for TARGET, a GNU triplet. Use XGCC and XBINUTILS and the cross tool chain." (match target + ((? target-avr?) + (make-avr-libc #:xgcc xgcc #:xbinutils xbinutils)) ((? target-mingw?) (let ((machine (substring target 0 (string-index target #\-)))) (make-mingw-w64 machine -- 2.34.1