From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cJvYAiZ6X2cXYQAAqHPOHw:P1 (envelope-from ) for ; Mon, 16 Dec 2024 00:53:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cJvYAiZ6X2cXYQAAqHPOHw (envelope-from ) for ; Mon, 16 Dec 2024 01:53:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=UxQLD1yi; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="GmyPILk/"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734310438; a=rsa-sha256; cv=none; b=JaWgwNQkDsgwAyBbGTx3eHr5P+9icv8FvnZkCAk5nH+l2jYO5kgfuCKIlVPulUzMeDteEz 1G/PJkIUFVpN7jjJKaAGZgrmPGIMR42pNqTXo3Vfl70f1MLVBruAKNXls3ucsvTl611P9m CMIDgcutcHTIJ+1QYpiM85FzVkYBAcKFmgr22xj2YJKeLsfF/B9E1Qw2K1QygUajVuH2hZ Gke90KvLQfHx21JdbjUbMZQzVIzA1TeFBSWBrS/vsh24146jaFNZ/eSXLvS+POIkFG/d2S 6ukpmYg2mBoVfynw1UP5FRZTkA+bp8mSF8QmhHxf9vAIPKoIjpx3lciLnz5/LQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=UxQLD1yi; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="GmyPILk/"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734310438; 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-to: 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=Ox+KXOlvnSYhEcJLKFwIWEYTDIw/+ioFnVyfop2UB6Q=; b=t0p7hpiQixEpj18FCDFi7gn9xYUxmL0Afw47QTBmubA48+hcwupbqtAYZiO2eqdORsF8ET TrwfYLQSU/PAf/28vIMJvd+1fx9N2vDHjlGPbct1uxTZhJKECXv8KbIqEv29ffZfuO//wD HhmJCcrf5ljArShylr6fXPWwin5a2ZAD2rCTucUwn812RPo/190fhZU9LfaXN84Q/4OeCp 2HAB3n2M24IhzbhshH5feV+4fG40M0DW37UbIGxAYWKb9UZDVLQmKnTIDPcHwedoOKxhHl n6HNyMr50+elR5Fw/0HT1IbPB4vVc1koNhkRzL1McrCgbiflQ0m2zGWXT8IInQ== 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 C98809D2C3 for ; Mon, 16 Dec 2024 01:53:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMxrG-0007l3-NR; Sun, 15 Dec 2024 18:17:06 -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 1tMxrE-0007kN-F0 for guix-patches@gnu.org; Sun, 15 Dec 2024 18:17:04 -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 1tMxrE-0004sl-5w for guix-patches@gnu.org; Sun, 15 Dec 2024 18:17:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Ox+KXOlvnSYhEcJLKFwIWEYTDIw/+ioFnVyfop2UB6Q=; b=UxQLD1yi/hpimbL2PFpm/Jq/HutBp/R1Z+wcUwPDmlLGKOu3yMRlj0hHwe4Jl9p0Oiy8FBrbiYohZsggJFCKQpj/KvGj99BV8+XGMFK5bHlq6e2D1Vj6UBVJJm3UBteLz6mSRzep1qqo2BglSOiZ6Y/818lkOW9J/Sj5G7q46g7/AABsY4QvEga6WlyLhtQPiqn8lSXg4MNJd1jpJ8Z/6YQ1Pb5kgt+74uRWrUr9mqxgL29/IK2ut87WB+DLxCHHpHVEid5NVK7iTQE6cbndudmIwtJCK2o4jw3geyvzJqoIt6KIWCdBbBBVfZu5z7kVnsSvqFaOQHinOizbOUc58g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMxrC-0001AY-R1 for guix-patches@gnu.org; Sun, 15 Dec 2024 18:17:02 -0500 Subject: bug#74758: [PATCH] pack: Allow cross-compiling with '--relocatable'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 15 Dec 2024 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brian Kubisiak Cc: 74758-done@debbugs.gnu.org Mail-Followup-To: 74758@debbugs.gnu.org, ludo@gnu.org, brian@kubisiak.com Received: via spool by 74758-done@debbugs.gnu.org id=D74758.17343045774409 (code D ref 74758); Sun, 15 Dec 2024 23:17:02 +0000 Received: (at 74758-done) by debbugs.gnu.org; 15 Dec 2024 23:16:17 +0000 Received: from localhost ([127.0.0.1]:52599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMxqT-000192-Fn for submit@debbugs.gnu.org; Sun, 15 Dec 2024 18:16:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMxqQ-00018m-Sp for 74758-done@debbugs.gnu.org; Sun, 15 Dec 2024 18:16:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMxqH-0004qZ-TK; Sun, 15 Dec 2024 18:16:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Ox+KXOlvnSYhEcJLKFwIWEYTDIw/+ioFnVyfop2UB6Q=; b=GmyPILk/+zR8s4yT+dcn kquaxMTwJOgwwJ+C+1JXMG+CS7VdFSAZyraxL3H7bD6GBHXlAq8pj4YYNVnWCIe5m5NWbClS8XGqH vsdCKanL8y0o2UVtDjcvv2ML2r0KHpxmzmLKV2syWdlQXG5TNMs/1gfxwb+VApBsbrbE4OkzNTfly pbuZE4IWobtkjQvfroii10qCFN1NpFYjNWpxxk0etbkir17dn3hHtUSHb3i/kCf7jURejeyz81OHY MsLnZxw3eZ2D2pMDGH53YomZGWOG0NyccWicICVrgqzQYP3xFhIR0SZ+drU/MuS9ahFLFLoi40JjW tZZffP9cSE5XRQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Brian Kubisiak's message of "Mon, 9 Dec 2024 14:13:51 -0800") References: Date: Mon, 16 Dec 2024 00:16:02 +0100 Message-ID: <87wmg0fsgd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.19 X-Spam-Score: -8.19 X-Migadu-Queue-Id: C98809D2C3 X-Migadu-Scanner: mx10.migadu.com X-TUID: ybWjdN/rd96b Hi, Brian Kubisiak skribis: > * guix/scripts/pack.scm (c-compiler-compiler): Remove exception when > cross-compiling and always build gexp->script for the host. > [toolchain]: Use standard-cross-packages when cross-compiling. > [search-paths]: Use package-search-paths instead of > package-native-search-paths when cross-compiling. > [run]: Use cc-for-target and strip-for-target. > > Change-Id: I5503e48b3394fdfee06999f8d1ad82f5f0d9af96 Excellent. Applied, thanks! > guix/scripts/pack.scm | 47 ++++++++++++++++++++++++++++--------------- > 1 file changed, 31 insertions(+), 16 deletions(-) I=E2=80=99m glad the implementation turned out to be quite small! Ludo=E2=80=99.