From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KHeWOBh9ZWD/CQAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 09:58:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +DpyMhh9ZWALLwAAbx9fmQ (envelope-from ) for ; Thu, 01 Apr 2021 07:58:16 +0000 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 2618C13906 for ; Thu, 1 Apr 2021 09:58:16 +0200 (CEST) Received: from localhost ([::1]:53770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsDW-0006xB-Ro for larch@yhetil.org; Thu, 01 Apr 2021 03:58:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsDK-0006vL-S4 for bug-guix@gnu.org; Thu, 01 Apr 2021 03:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsDK-000623-IA for bug-guix@gnu.org; Thu, 01 Apr 2021 03:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsDK-0007Zm-Hw for bug-guix@gnu.org; Thu, 01 Apr 2021 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#33848: Store references in SBCL-compiled code are "invisible" Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Apr 2021 07:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33848 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Received: via spool by 33848-submit@debbugs.gnu.org id=B33848.161726383729060 (code B ref 33848); Thu, 01 Apr 2021 07:58:02 +0000 Received: (at 33848) by debbugs.gnu.org; 1 Apr 2021 07:57:17 +0000 Received: from localhost ([127.0.0.1]:56069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsCb-0007Yd-8x for submit@debbugs.gnu.org; Thu, 01 Apr 2021 03:57:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsCZ-0007YP-Sw for 33848@debbugs.gnu.org; Thu, 01 Apr 2021 03:57:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49696) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsCT-0005Zj-PI; Thu, 01 Apr 2021 03:57:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57342 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRsCS-0006eW-HF; Thu, 01 Apr 2021 03:57:09 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r2e8jpfx.fsf@gnu.org> <877eg0i43j.fsf@netris.org> <87d0psi1xo.fsf@gnu.org> <874lb3kin6.fsf@ambrevar.xyz> <87sgynezha.fsf@gnu.org> <87tvj2yesd.fsf@netris.org> <877efwe04u.fsf@gnu.org> <8736qji7c1.fsf@ambrevar.xyz> <87tvizvzgk.fsf@netris.org> <87o9979gfn.fsf@gnu.org> <87tvizgghs.fsf@ambrevar.xyz> <87k1juaomo.fsf@gnu.org> <87muoqhk62.fsf@ambrevar.xyz> <87zhsq8wkj.fsf@gnu.org> <87d0pmhbgn.fsf@ambrevar.xyz> <87r2e28tkv.fsf@gnu.org> <874laygkiy.fsf@ambrevar.xyz> <87lfa5eymf.fsf@ambrevar.xyz> <87tuoscsk9.fsf@gnu.org> <87im57b8u7.fsf@ambrevar.xyz> <87czvebky2.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Germinal an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 01 Apr 2021 09:57:07 +0200 In-Reply-To: <87czvebky2.fsf@netris.org> (Mark H. Weaver's message of "Thu, 01 Apr 2021 02:03:06 -0400") Message-ID: <87eefu30a4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre Neidhardt , 33848@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617263896; 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; bh=HOpZUo2ZDHausj2zZjJqYqzY9lljX0Co+8MKKeWrWTk=; b=hzB5Bl4POG7a2hSZ00uRW2kxIEcaWg0cu4KYoRCWcY2yUfG3a2GjpDDPmQOYj1U0fndK2r dTI2kIDcNqJ67qJD5e/HG3ejWRM3g1KbbnSm5rkk1FjrG3cw+NrXi0g7/Ar+pXeNImwZOq w9VIh7xHXKqD1zkKwuzsHDJjtcbR5Vik+E4oJH/mXXXy02obJP0eB3CtgvJz5T8naB/zS3 s5htTBnXNOBFjsRdsPIfsaXy0y7RCLGL05CGfp0rpbjrWvxIFHUJPLGvUxIbXjy21G6Uvj BLOu8Ft08LxgX0y0vo08KeznGyhv7FGjESCfynYwP6R4G+zWIeY5nnnQaXua9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617263896; a=rsa-sha256; cv=none; b=T5RaVxpcUx9zonSr5Dti3Pr4oI2jnDeQ0tK4n7aKvH66jfwhmZOp6rLWdTMJQO0+5/fki3 9BFi8VYLfr31cFmRfYeJpREkWhDIUvYeI7laHyh8uQn3F15OCg0bvhMfg4fdxRtMu30j2a v62QbHNcpV5wm3g8H4eWrsveqgct/9BDi0LwPCyg24DN+gqe1eYDWHOcFQ2qSUX2nnYDrN wIEuHX8cT024GY72p/HGBESqYhRkBMJ9weq+Br/9ZuuobqvrgaDMEeHkDbwRUAGuSEiiai E5kMgB251CarNBZd1HAKhrw07cmrhI9kBmWobFnhkGeCgwlCeFvAMPd40ts9nQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 2618C13906 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: WxUZoX9wJYi8 Hi, Mark H Weaver skribis: > Pierre Neidhardt writes: >> - The main recommendation for an easy fix without updating the scanner >> is that we tweaked our build system to dump the store reference to a >> separate ASCII file. > > Sounds good. I made a similar proposal in Dec 2018, earlier in this > thread . I wrote: > > If you don't want to change the daemon, it could be worked around in our > build-side code as follows: we could add a new phase to certain build > systems (or possibly gnu-build-system) that scans each output for > UTF-16/32 encoded store references that are never referenced in UTF-8. > If such references exist, a file with an unobtrusive name would be added > to that output containing those references encoded in UTF-8. This would > enable our daemon's existing reference scanner to find all of the > references. > > Our grafting code would then need to be extended to recognize and > transform store references encoded in UTF-16/32 as well as UTF-8. Oh thanks for the reminder. The separate ASCII file doesn=E2=80=99t solve it all because, as you write,= we=E2=80=99d need to change the grafting code as well. Then it might be simpler to use a =E2=80=9Cbyte vector=E2=80=9D data type f= or those strings. We=E2=80=99ll have to wait for Pierre=E2=80=99s patches to get a = better idea. :-) Thanks, Ludo=E2=80=99.