From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yO0LNFjpIGIL6gAAgWs5BA (envelope-from ) for ; Thu, 03 Mar 2022 17:14:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eCSbMVjpIGKF3QAA9RJhRA (envelope-from ) for ; Thu, 03 Mar 2022 17:14:16 +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 7C66B9E01 for ; Thu, 3 Mar 2022 17:14:16 +0100 (CET) Received: from localhost ([::1]:43724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPo5n-0007SD-J2 for larch@yhetil.org; Thu, 03 Mar 2022 11:14:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPnvv-0006zC-1A for guix-patches@gnu.org; Thu, 03 Mar 2022 11:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPnvu-00075g-OO for guix-patches@gnu.org; Thu, 03 Mar 2022 11:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPnvu-0000M3-D3 for guix-patches@gnu.org; Thu, 03 Mar 2022 11:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54239] [PATCH] gnu: Add cross-clang. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Mar 2022 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54239 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54239@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16463233921271 (code B ref -1); Thu, 03 Mar 2022 16:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Mar 2022 16:03:12 +0000 Received: from localhost ([127.0.0.1]:43479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPnv6-0000KQ-3f for submit@debbugs.gnu.org; Thu, 03 Mar 2022 11:03:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:35996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPnv5-0000KJ-2M for submit@debbugs.gnu.org; Thu, 03 Mar 2022 11:03:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPnv4-0005xT-KE for guix-patches@gnu.org; Thu, 03 Mar 2022 11:03:10 -0500 Received: from [2a00:5884:8208::1] (port=46232 helo=lepiller.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPnut-0006zE-Fr for guix-patches@gnu.org; Thu, 03 Mar 2022 11:03:01 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f3be507a for ; Thu, 3 Mar 2022 16:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=yx/9FADobAGXgNQHKltaZnHs1 WLYRM0m7fSjyHXoqi8=; b=YAGO+L6n6iudvgGqImCaKlZDaqONlGCDnUt2cVEAS TSAfTn9R46wCq14nc213Ct3n4DxzzLgY2CnzBPQxv4vAsViPW5Ri7CWUvARcJG1S EvKXii7sV0Nb8WD9uoDfxd/E1jAZhS8lbMBj2MiYTWr1k+4zVV9DPW21/R4d0xO9 5/hYABvnNcqbTxDodcxC7LBH1QN60bqRLFjvUWw2dsJVeuds6Lbm9fbMwrA1DAox TAhGIrdeFo1qNpUZkqKiF7KVp7i2qhKmJBd6dQ5vfk69aNBUoST5linKsb0gnkvm DDHysPWBCq5AkpAFp7NpqzW7WDC4xSXIpJHiuHge7Ftrw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 80824b58 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Thu, 3 Mar 2022 16:02:54 +0000 (UTC) Date: Thu, 3 Mar 2022 17:02:52 +0100 From: Julien Lepiller Message-ID: <20220303170252.3caec0a6@tachikoma.lepiller.eu> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8208::1 (failed) Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , 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=1646324056; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yx/9FADobAGXgNQHKltaZnHs1WLYRM0m7fSjyHXoqi8=; b=HeanZ08RePeSgUmptc9wvE94QxB3aY6L1x/I8IYjUHMG0G9ddDSZEScWcMuQYLgSMlVpr8 7OyXkROh29Ie7BAwEfIzG0aRaHWgYwVQCqb4LeoBwLoF9jFd2rqAQEIWA5uIeUsXi4tnb5 eUTiXXFH+xQHLSchWlGDr3sEhjqyRfujSQGJS6yO4Zs2HfuSK91MMwKqDrQ5jHx5rIoxXP r63RfZEiGCQfCvo9CsnpwCtY7qKFEmEaDBQ53RNUfgeb+bDuCg79kOVPE5AIzXhmmrJkv5 XsyDEw34oDIj93rDQuSuQzmn5u9GJbqAY/HtmjL588bEXoVF2aGpinUTEAvwfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646324056; a=rsa-sha256; cv=none; b=bFaghwQNZThw/VFAdiWNCWbfeGpXZMPNYRSk4CLIJ3uiEXRLsiXVVdWYZV8pecojSDCdx1 AKXy/PjtxptZh0hZ3oZCrn8EYoLm0MPx/AFlaTUzOsVoeWVypq02SutszGzx9flng9fNCI FIP4oWJwgwIWRuEvUiouOHaUVOaO2JFDux5oCmoHN6uoMOVmJUSNfCJeyOBJ468/78wAlb Lo+jFfqIOfJ2D0K6wNvTudspOL0LbWoF9KvK9fmJEi4lYq8LIcy+ImU9IhfynHsDgEQ7Ya JuXa8Xerz5NDHX9D02UESc3oxAZe5LQSGGqtWJOTOB1NZ8LHAF7jII44I/cOyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=YAGO+L6n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 4.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=YAGO+L6n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 7C66B9E01 X-Spam-Score: 4.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: /PX7Ek/VSkCg Hi Guix! This small patch series adds cross-clang, a cross-compiler version of clang. Clang doesn't really make a distinction between a native and a cross-build, it is already a cross-compiler, but this ensures that: 1. it actually works 2. it targets (%current-target-architecture) by default The rest of the series ensures that libcxx and libcxxabi can be cross-compiled with it.