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 ms5.migadu.com with LMTPS id 2GV/KUERrmKuJQEAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 19:54:09 +0200 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 yLdWKUERrmKfIgEA9RJhRA (envelope-from ) for ; Sat, 18 Jun 2022 19:54:09 +0200 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 6C96521A97 for ; Sat, 18 Jun 2022 19:54:08 +0200 (CEST) Received: from localhost ([::1]:41676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2ce7-0003uy-8W for larch@yhetil.org; Sat, 18 Jun 2022 13:54:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2ce2-0003ua-Fe for guix-patches@gnu.org; Sat, 18 Jun 2022 13:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2ce2-0002Xl-4A for guix-patches@gnu.org; Sat, 18 Jun 2022 13:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2ce2-0007Ne-2b for guix-patches@gnu.org; Sat, 18 Jun 2022 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56051] [PATCH] guix: self: Do not record reference to gcc-toolchain. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Maxime Devos Cc: 56051@debbugs.gnu.org Received: via spool by 56051-submit@debbugs.gnu.org id=B56051.165557481928337 (code B ref 56051); Sat, 18 Jun 2022 17:54:02 +0000 Received: (at 56051) by debbugs.gnu.org; 18 Jun 2022 17:53:39 +0000 Received: from localhost ([127.0.0.1]:49996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2cdf-0007Mz-6d for submit@debbugs.gnu.org; Sat, 18 Jun 2022 13:53:39 -0400 Received: from lepiller.eu ([89.234.186.109]:40850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2cdc-0007Mo-Gf for 56051@debbugs.gnu.org; Sat, 18 Jun 2022 13:53:38 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 59166665; Sat, 18 Jun 2022 17:53:33 +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=L+ffQInwABiM ohwy9fGmLMLJUgX7aioCXT07AuRSUB8=; b=JW5xLy2z30jJ14MM6AY10gy/wuXW xPUGxQUqoxw5moQGDtXojmIa5tGDQcVnBzr/o1Zw8bJxh5Neoc45CoBU1iYhsqcb WOgnclAEjtopTcNcFQwsV8x9EG2e4LTdvy5oeCGo8l5hMiFbzzYtew+DnRAoFrJn /3AV1AADnbHu+V+VABLJwPTUudjWsJOQWXC3QFeyXPp6e6+/Kjg+Nygw99RGDEIz bO0CqLzwiTx0P7kLsHb9EMUCBkwWij1kyH4WmB7Cb0J0mzMLrp/B49X4LML8WnTW lyad84j1R2gvUN6Otf0E7pe5CRoskaZVvi5vxcUOyHK35utndk+Qk30A+A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 38ac06c8 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Jun 2022 17:53:32 +0000 (UTC) Date: Sat, 18 Jun 2022 19:53:25 +0200 From: Julien Lepiller Message-ID: <20220618195319.3b9af9b9@sybil.lepiller.eu> In-Reply-To: References: <20220618064632.29319-1-julien@lepiller.eu> <20220618065810.30767-1-julien@lepiller.eu> <98e47fb9762158d9198b54c0dfcf237a9f5a7482.camel@telenet.be> 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655574849; 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=cu7VDDmIbRjq7K6GHjRyQHNwx2UWxGsV2zWYl7h8UGw=; b=Dt9ST9wrAMudv2M0X+f0FhyTFdwrplLsghUVmCH6+doinXNEwjOTrLhM7/hUQqBcs8yDHQ Yi+VUtiKfrdFk3+MTtDHHgRIHjcOZ8Zs2y7qmdY7i+t6k8qTmn5CgS1Uy8EyQXeqQF52AI JVWFlioD4/yaargJlFla89MJAxCmPVa8qdQZ6Fly3G7c4jHSCUsJDpXmBjTihy1HT74Vz6 AMUIt5R45X1uioLTDBSU9xe3bSYBZowupZFpzPAbngWVsySU7S3h313yE9ItC1n4NljWRT 8/NGTUr/G4YP58pFKsRtCg3+4CCVfndwlQZGSqMnS9uukUKk1m43HxoGZoddbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655574849; a=rsa-sha256; cv=none; b=V/eD1aAu8bQDbUx8znWUZx6oetK/7CSv32KKdJdmj3hJPBjWO8ochyBo/Ln01MjHoXXvDs fIU5xFC/olHXefpxh0UMlIQ9pcDE16P3IfOS3H4JIqVKBVQaVrJ05V/DFR6wr67MwifnlU rxEO6DXF5qVSOmAekq6Gs8XyENDuZ+tPUTP3Pyix2pr0i+m1A7UqVizUjhBwAcq9b0RUWf o4BfXARCBXRZ7pXqUW9lvcUug5iNrHcbQ/2/NP4/TyMdmQV2VqVXrkVQQw7WV7WKrufuX9 hpS1z2OLhsH3jEiehJ7kFCFzurZ6dnhJCDCWu0sTOMiK3R7bmk9p6IlSUmsGRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=JW5xLy2z; 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.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=JW5xLy2z; 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: 6C96521A97 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2IrWXfWFbw0J Le Sat, 18 Jun 2022 19:23:28 +0200, Maxime Devos a =C3=A9crit : > Julien Lepiller schreef op za 18-06-2022 om 14:13 [+0200]: > > On June 18, 2022 11:45:43 AM GMT+02:00, Maxime Devos > > wrote: =20 > > > Julien Lepiller schreef op za 18-06-2022 om 08:58 [+0200]: =20 > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (seten= v "LIBRARY_PATH" #$(file-append gcc "/lib")) =20 > > >=20 > > > I'm wondering if is this line that is incorrect, given that the > > > 'gcc:out' store item does not have a /lib subdirectory.=C2=A0 Would > > > removing this line be sufficient? > > >=20 > > > Greetings, > > > Maxime. =20 > >=20 > > Removing this line I get a message that gcc can't find crt*.o. =20 >=20 > Which crt are these? crt1.o, crti.o, crtn.o (from glibc) or > crtbegin.o, crtend.o, crtprec64.o, ... (from gcc)? crt1.o and friends, from glibc. I tried using glibc explicitely and setting LIBRARY_PATH to (file-append glibc "/lib") and it worked. >=20 > > Another possibility is to explicitely use gcc, binutils, glibc and > > ld-wrapper. Thought this would be better? =20 >=20 > FWIW, the infrastructure in (guix scripts pack) does > that, and the code in guix/self.scm has a comment: >=20 > ;; XXX: Reuse from (guix scripts pack) instead? >=20 > though maybe (guix scripts pack) has the same reference-keeping > problem ... >=20 > Greetings, > Maxime. Mh, I'm not sure how to do that. Do you mind if I push this patch, and leave using to future work?