From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yCfbAtIfI2KNBgEAgWs5BA (envelope-from ) for ; Sat, 05 Mar 2022 09:31:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8IFMANIfI2I2HQEA9RJhRA (envelope-from ) for ; Sat, 05 Mar 2022 09:31:14 +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 B8BC52AF4D for ; Sat, 5 Mar 2022 09:31:13 +0100 (CET) Received: from localhost ([::1]:55358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQPom-0002dx-O2 for larch@yhetil.org; Sat, 05 Mar 2022 03:31:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQPoc-0002da-Np for guix-patches@gnu.org; Sat, 05 Mar 2022 03:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQPoc-0001aO-Eh for guix-patches@gnu.org; Sat, 05 Mar 2022 03:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQPoc-0008Dq-AD for guix-patches@gnu.org; Sat, 05 Mar 2022 03:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54239] [PATCH v2 2/5] gnu: Add cross-clang. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Mar 2022 08:31: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: Maxime Devos Cc: 54239@debbugs.gnu.org Received: via spool by 54239-submit@debbugs.gnu.org id=B54239.164646901631547 (code B ref 54239); Sat, 05 Mar 2022 08:31:02 +0000 Received: (at 54239) by debbugs.gnu.org; 5 Mar 2022 08:30:16 +0000 Received: from localhost ([127.0.0.1]:47259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQPns-0008Ck-8K for submit@debbugs.gnu.org; Sat, 05 Mar 2022 03:30:16 -0500 Received: from lepiller.eu ([89.234.186.109]:57228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQPnp-0008Ca-NH for 54239@debbugs.gnu.org; Sat, 05 Mar 2022 03:30:14 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e394ede6; Sat, 5 Mar 2022 08:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=jGCzsspB5l4d Ap9MzqVgk5HhqNytqg8X9x0Eqb6upG8=; b=dfanSWTRZeHAYgYcpbdf4gcV62R4 3zeQUtfr9gef3f9IiKXQBLWgKB+yI+WKdsthtlsWqh/vMEx7B9xb3XJOeJBTZTw5 o2AlZXmaGyqu0c1NVMOTruXmgQ1B1iiJHMVKxENVgiggcT6OLEof98e7D8qDMdz3 DDKtAiMZnKOmb1Ms/G2Mt4TsGEl7qLDOOnbBphaFNF3Ek/ikfwQBg171TgZ4xTuu cmHFds9RDIZv9qEVipY/h2ko4Q6r/j4K7ZVHl1zmnX0jUqleMj5NpEY2xb3haAPM nMLiEFdS+nrLTIH+P6eXf1JfwJhEaByhkHwrQ+JD0WPvzgSBFKTRmet++Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 280dbc06 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 5 Mar 2022 08:30:12 +0000 (UTC) Date: Sat, 5 Mar 2022 09:30:10 +0100 From: Julien Lepiller Message-ID: <20220305093010.470bf145@tachikoma.lepiller.eu> In-Reply-To: References: <499e5dba47ef40df93a8b33fbb8e41cc2354e7a1.1646387919.git.julien@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=UTF-8 Content-Transfer-Encoding: quoted-printable 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=1646469073; 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: 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=jGCzsspB5l4dAp9MzqVgk5HhqNytqg8X9x0Eqb6upG8=; b=WT2D4hCQ8wTlKLRpEEj9Veio7cN5/2OhXk/EDYvT+pf/23l1MvViUF3rYUfK9ImsE5uHVh t65Lsjf5wNzsMR2oKXjkYaq0YA/pZ3xL8WuQROixCE7cqzMExLNoSrtIFo1jpqWmEIwhMU vIKcI4nJ0P9BLtXu3b3U4WIWh18cCDlmTvc+oMCYkSlkproAoIW5dSJe5es7+IEkbCZFsc SfKR65Xqh9jtAog9KP4WqGrXJGIqROlM33FjKmqPDAAVtgaz34v99SP7noE8w5XSYMrHnI a9r0f99y0IDwr9fx5kGY/w2dHtsROAbEmMuxB2AndJD7alWxMXiMDLvLi7UNjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646469073; a=rsa-sha256; cv=none; b=Z9YS4phTvwR1mVf5D/S4ZnouL2C6lmNzCGYxxa0bJxYRPaubi0sgV6ZWry5BsxNhJzZjXQ 8oJCWBTCpalfRi5pAtZ0JM56ll1vaqS+sd22l/mSI7DO69PpONDx7r8Q4Gaev/QhzQr+GK d5c06Me3oo7XrOCT2OIti97mASvkFgYAnxQzPsX5GUgOGWIYNf5RgVSl4ADZ1CG3x4AysK CgVM7mLcwiFMzcbXGc1/GwokN0qr5bUuDh72zcoBHLwE4vmW9ZpgQO4j6Oh+wocwF7ut6y dxFBikVMef8mH+yXJ7nHLhL5QE6qax17S3djn5hgm0504KGpGm8APayE0XW46w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=dfanSWTR; 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: 5.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=dfanSWTR; 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: B8BC52AF4D X-Spam-Score: 5.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: W4S2Pc3uxgag Le Fri, 04 Mar 2022 20:54:22 +0100, Maxime Devos a =C3=A9crit : > Julien Lepiller schreef op vr 04-03-2022 om 10:59 [+0100]: > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= `((substitute* "lib/Driver/Tools.cpp" > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ;; Patch the 'getLinuxDynamicLinker' > > function so that > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ;; it uses the right dynamic linker > > file name. > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (("/lib64/ld-linux-x86-64.so.2") > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append libc > > ,(glibc-dynamic-linker)))) =20 >=20 > Do we need something similar for non-x86-64 architectures as well? >=20 > Greetings, > Maxime. I don't know about that. This phase is mostly copied from clang itself.