From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EDWENu/QZWVX9AAA9RJhRA:P1 (envelope-from ) for ; Tue, 28 Nov 2023 12:37:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EDWENu/QZWVX9AAA9RJhRA (envelope-from ) for ; Tue, 28 Nov 2023 12:37:20 +0100 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 C26F760ABD for ; Tue, 28 Nov 2023 12:37:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=P5AJRZvv; 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=1701171439; 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=ffafbptjgBEnz9CM78WD/HTpqBOgVdEX0sYuLgtNjj4=; b=UZAxmXfILmQJ4QO/jEWWtkyzsQNnSqNJLvLN+Oi5ZpNQItl/ltc+xi9If2LtpizWwjlswy wSWg2r6Ny7alNdp1AjK0NDBSvOrBEd0t0vDUQ1oUtnc/8TjXdCwb5BIOaafTl9oO12Ut5Z UjvqQpseVrVhfdzbPooe3DPDF0559GjWHYrv1Faqfb2GCoWkb70e5TPtVhlveOi4y4OaO1 tOH2YtkxBAr/xAIvUe642u65AcN0ASEQSzI6+Vg+c07m6tU5DDMHBOAj0Rkgqvt7MTCHgz nqtD5iejwMSkiY2ERdnQuBOPCtzLjwp8eBdbuLm8JcdCAHCd65RxmvnwekUnsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=P5AJRZvv; 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-Seal: i=1; s=key1; d=yhetil.org; t=1701171439; a=rsa-sha256; cv=none; b=rIVuxNbbwc0tZwMtPT2NZpbNzibDlVWzSy2mHHG3osHbWXHK6ie/C1NvMTbH9nNfm7zvgS YxPxsPXZdsGK7lg8kodw52HdL0ujrUG50iSSMxdEyZR0/39DyhwowwZVkhPonyZskEEUTR qei1DAvBNHM88UIe8q/GZwuWzATAqv8YgzISfp5WpTJjIggPY7TSR1q1dl37viODq4TPux qXwnPhxu0XS4I6XlhHddXhG+k3znEyee7NJ5DZT7pI09mj3ETchIP+SjzxfAOoZOktI8Sx PCiL9rsUNlEqwlxJbnwEAnwc79qDu0q6w6PFMka+52E4u/uEwk0y/ApqoedNtw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wOi-0006wh-MZ; Tue, 28 Nov 2023 06:37:00 -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 1r7wOg-0006uL-1X for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:58 -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 1r7wOf-0008BO-OA for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7wOm-0003OK-I7 for guix-patches@gnu.org; Tue, 28 Nov 2023 06:37:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH v1 13/22] gnu: cross-gcc: Only C and C++ for AVR. References: <20230929091333.7623-1-jean@foundationdevices.com> In-Reply-To: <20230929091333.7623-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 11:37:04 +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: moreinfo patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.170117139212850 (code B ref 66263); Tue, 28 Nov 2023 11:37:04 +0000 Received: (at 66263) by debbugs.gnu.org; 28 Nov 2023 11:36:32 +0000 Received: from localhost ([127.0.0.1]:45628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wOG-0003LA-BZ for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:32 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:60684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wO5-0003Jg-Qi for 66263@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:22 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40b31232bf0so43253555e9.1 for <66263@debbugs.gnu.org>; Tue, 28 Nov 2023 03:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701171369; x=1701776169; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ffafbptjgBEnz9CM78WD/HTpqBOgVdEX0sYuLgtNjj4=; b=P5AJRZvvLxh/lGEQyy2GeZ/z5PPyQEYc95t3W77lbqkXtfDl1RaonZOmQfh3TEFidf Nmy0wlAr+8SEA4yXj7oHcXJcjzzSBJ1vp/kAzMWTf+K7paL2/6xhiqclI8lOo3772JGO y7S+7kCUh3H+L2+5bd7AK9ihA7RLD1Prbz0/sNJn0UqWPf49L1cpJL/TPUQ8iu6gJNk9 4VA31kf0nOmtZ3wjQYEiYBdtFb8ZH8hnfnILVDkwVqC/BobcfGjaV+Gfp/9xlSCErosL n1BECqDYwV4uiO/yp8mwwmnK6+mFczIhDKRXx7mdr3iTIcQxeU8xTw/Ymt1XyuU8wxJJ 8/WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701171369; x=1701776169; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ffafbptjgBEnz9CM78WD/HTpqBOgVdEX0sYuLgtNjj4=; b=L88K2X47n5u3TpP0qLI7ogY3axHEgsd1J0Fa42XwKhK+1cm51sj8MZmEd3DDTVHpYs mySZJmzeIvgRw44bP2cilU1rA42WV3UxKLE1SIV6B+22TOA+n73O9JzIJDdURBv5OeiF x6Gv8nv6sxdTvWcarenmgodh/sZmSDJX/El7ZcxpjfT4Oj69apvLg2cxTVCwqQYQZGBf NbE0yw3A535210xKnqMJNCVdwI9rwZlEMQOkNutU5kayC8cMj2FPrLHsnabodFgCw5VZ IAs6okfPKMpa4ocm6JCcoD6c4NpV3SVFFsjyTa/rLHWSChYY/bEeacKrGYfOoK96ykbD QlqQ== X-Gm-Message-State: AOJu0Yz5ItfxeLViDMDzAfrTBrq+dj0F05LY5r9vRC9u+/E9Ast1l6Vz LQnbktH+0htGHkbcSZ/SDVP1oi7C+7kIvFhn6lU= X-Google-Smtp-Source: AGHT+IFZtDGlhWQKqqYfN32A+5gTZoCq1Gp+ivZu/QGyqYqBwq96jYldsFRVbtoXgcOS5IlIA00Duw== X-Received: by 2002:a05:600c:548f:b0:40b:4aef:deb1 with SMTP id iv15-20020a05600c548f00b0040b4aefdeb1mr1445306wmb.23.1701171368920; Tue, 28 Nov 2023 03:36:08 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id f7-20020a05600c154700b0040b4cb14d40sm1848769wmg.19.2023.11.28.03.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 03:36:08 -0800 (PST) Date: Tue, 28 Nov 2023 12:34:56 +0100 Message-ID: <20231128113510.11214-13-jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 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-Spam-Score: -6.13 X-Spam-Score: -6.13 X-Migadu-Queue-Id: C26F760ABD X-Migadu-Scanner: mx12.migadu.com X-TUID: mOgy2ilkxNS3 * gnu/packages/cross-base.scm (cross-gcc-arguments) [target-avr?]: Add --enable-languages=c,c++. Change-Id: I1d63bb1b0a3074b9ff8650c5afb93777183c0ea4 --- gnu/packages/cross-base.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 58c37e43c1..72f786dc35 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -200,13 +200,18 @@ (define (cross-gcc-arguments target xgcc libc) "/" #$target "/lib")) #~()) + #$@(if (target-avr? target) #~("--enable-multilib") #~()) #$@(if (and libc (target-avr? target)) - #~((string-append "--with-native-system-header-dir=" + #~(;; By default GCC will attemp to compile + ;; some libraries for other languages (objc, + ;; fortran) but compilation fails for AVR. + "--enable-languages=c,c++" + (string-append "--with-native-system-header-dir=" #$libc "/" #$target "/include")) #~())) -- 2.41.0