From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GPhYFONxImJm0QAAgWs5BA (envelope-from ) for ; Fri, 04 Mar 2022 21:09:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qG2SEeNxImJmOwEA9RJhRA (envelope-from ) for ; Fri, 04 Mar 2022 21:09:07 +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 C08AB13C74 for ; Fri, 4 Mar 2022 21:09:06 +0100 (CET) Received: from localhost ([::1]:58814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQEEb-0005pp-Td for larch@yhetil.org; Fri, 04 Mar 2022 15:09:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQEBf-0000dt-03 for guix-patches@gnu.org; Fri, 04 Mar 2022 15:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQEBe-0006Rb-Kh for guix-patches@gnu.org; Fri, 04 Mar 2022 15:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQEBe-0003w2-EP for guix-patches@gnu.org; Fri, 04 Mar 2022 15:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54239] [PATCH] gnu: Add cross-clang. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Mar 2022 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54239 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 54239@debbugs.gnu.org Received: via spool by 54239-submit@debbugs.gnu.org id=B54239.164642431715072 (code B ref 54239); Fri, 04 Mar 2022 20:06:02 +0000 Received: (at 54239) by debbugs.gnu.org; 4 Mar 2022 20:05:17 +0000 Received: from localhost ([127.0.0.1]:46880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQEAu-0003v1-RU for submit@debbugs.gnu.org; Fri, 04 Mar 2022 15:05:17 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:60780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQEAt-0003uq-18 for 54239@debbugs.gnu.org; Fri, 04 Mar 2022 15:05:15 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id 2L5D270044UW6Th01L5Dx7; Fri, 04 Mar 2022 21:05:13 +0100 Message-ID: <87986722191470a315336d6cf07b3106de1b725c.camel@telenet.be> From: Maxime Devos Date: Fri, 04 Mar 2022 21:05:12 +0100 In-Reply-To: <20220303193503.4c055cec@tachikoma.lepiller.eu> References: <20220303170252.3caec0a6@tachikoma.lepiller.eu> <70c3446488f9b76479f4f989c351403c461369d1.camel@telenet.be> <20220303193503.4c055cec@tachikoma.lepiller.eu> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-zWJovEOylU399RyGR7mD" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646424313; bh=EI2dYbKaeh4PZg0HWK6xuRM7+/jbQmy/g9UwiZbssp4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=aVs2FhMFH9XvTSK5YB3ZxKqmkmHFfAhytm0xPPktkI5pVFpSf2TXHoXeuDow86gLQ GwrNxKkJ720oURMEm9VdvDSO58JVik0+zAt3Ik+7vr04p06siC9ybiUfDIWjEmuB0k NCaQWL/0PeDLdjPmI3jB02wPg+W99g72GE+X1GDdBjhL8Par4s4hhWV9xaPCH8knjg oycEc3w9fQxxjTH60Ey+fclBx4HGUMDcJ+PQOZqJnHo2sudVvK0hKSKC0jigRRXAti TJ9OXhfUQcBbAVQvf26FMzOWOZEg65R4CGl72sABVbF3bfujd0n5cvjwwIkKuW4i2g i9vtNV78x7rPg== 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646424546; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=EI2dYbKaeh4PZg0HWK6xuRM7+/jbQmy/g9UwiZbssp4=; b=NDJcWkFDvO5p3LW+RxxVuxRILZWyO0r5OVoI6w/wFhu2+vxPdYXzqGICKTWPCMzWXAEDeH y9RHm3/DdWpqaPiwQ8A+VgeJXxz5X+84dplJbHsbyoId/2eVCbzJo63s4NUjXwj42XmKx0 FvamOmnfTyGIJoSjTjGlftqcfAiP6vo/Bg45rkzeI5oEmh+fgNk2bogg9xRaMAma8cSIDt AHR+gGn5/nxip5msWkS3ibO3NImBmE4d5AAjXQPsmvZqKBy7kEtJ3t6MZPXPF3qLICcxFs HSAZwJc7q7wXUWqmlYCoQDZAjryFtup31P3zo7doYjIDSVwI1QKxElSGz4szew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646424546; a=rsa-sha256; cv=none; b=Elw12QtCsJaqmS7QZvSXHL1ojTBocBeS6kcvz4dXu47+uMP/fK5Z1+tPSi/CNDAIU7mHy+ BbA0ym3X57omueBufqpcu1vhLLahm2bRVA62xD3JU2yC1hrUzlvORCHakMDmVd2ZEuAcGN pFHoNUc7u4mGk5+Q6SnhF05U5RYUi319TvOVgnKwdIyhZLnoQ9hZ8IGf9Ha4iIEqIqjOYC gVIWsRhPjzYjwA9Yb7pUoK6iToS9M7PJ20eTs4nwuW4TWk4hs6tN/7mD/hnI2kMD2A50em C6TpKHxh05ImulgdE4e3ckKhrDFOsLuMwmcut8qXJ543XnbJya/eClkdiWH28g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=aVs2FhMF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=aVs2FhMF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Queue-Id: C08AB13C74 X-Spam-Score: 3.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7QOPpPXdaQz6 --=-zWJovEOylU399RyGR7mD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Julien Lepiller schreef op do 03-03-2022 om 19:35 [+0100]: > It won't work, just like it doesn't work for gcc-toolchain. When you do > (without my patches): >=20 > guix build hello --with-c-toolchain=3Dhello=3Dclang-toolchain > --target=3Di686-unknown-linux-gnu >=20 > it builds, but that's because --with-c-toolchain replaces "gcc" > (and friends), but the cross package uses "cross-gcc". >=20 > guix build hello --with-c-toolchain=3Dhello=3Dgcc-toolchain@7 > --target=3Di686-unknown-linux-gnu >=20 > also builds, but uses the latest gcc instead of gcc-toolchain@7. In that case, could this limitation be documented in @deffn {Scheme Procedure} package-with-c-toolchain @var{package} @var{toolc= hain} in the manual? Modifying (guix transformations) to also replace the cross-toolchain would be even better. Greetings, Maxime --=-zWJovEOylU399RyGR7mD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYiJw+BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hezAQDkymriyv+dfhA2Bf5jE/kOB2Yn hLqzuoBdYFeFMWh/JAD/W8ERivlwqO+V7WtjPsgDaUzYqHjW8W1aCelDlvq4DgY= =lWUb -----END PGP SIGNATURE----- --=-zWJovEOylU399RyGR7mD--