From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBdEGuDeZGDnZgAAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 22:43:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eCU6FODeZGDnNAAA1q6Kng (envelope-from ) for ; Wed, 31 Mar 2021 20:43:12 +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 AA14314E4A for ; Wed, 31 Mar 2021 22:43:11 +0200 (CEST) Received: from localhost ([::1]:49220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRhgD-0003n7-Qa for larch@yhetil.org; Wed, 31 Mar 2021 16:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRhg6-0003mx-OM for bug-guix@gnu.org; Wed, 31 Mar 2021 16:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRhg6-0001va-GK for bug-guix@gnu.org; Wed, 31 Mar 2021 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRhg6-0007pf-DI for bug-guix@gnu.org; Wed, 31 Mar 2021 16:43: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: Wed, 31 Mar 2021 20:43: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: Pierre Neidhardt Received: via spool by 33848-submit@debbugs.gnu.org id=B33848.161722335430073 (code B ref 33848); Wed, 31 Mar 2021 20:43:02 +0000 Received: (at 33848) by debbugs.gnu.org; 31 Mar 2021 20:42:34 +0000 Received: from localhost ([127.0.0.1]:55640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRhfd-0007oz-VY for submit@debbugs.gnu.org; Wed, 31 Mar 2021 16:42:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRhfd-0007om-2u for 33848@debbugs.gnu.org; Wed, 31 Mar 2021 16:42:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40181) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRhfW-0001fI-33; Wed, 31 Mar 2021 16:42:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55542 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRhfV-00089i-Hu; Wed, 31 Mar 2021 16:42:25 -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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 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: Wed, 31 Mar 2021 22:42:24 +0200 In-Reply-To: <87im57b8u7.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 31 Mar 2021 18:12:48 +0200") Message-ID: <87zgyj5a33.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: 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=1617223391; 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=aamdjyvY3YvqvSo0hXSSL30F/vnNDmqgax7Qx2/EYL4=; b=ane2L6JE+RwAMU2hc8q8lDAgBx5gbtqZ30P703NpZBACCPbaHYkFB6pHnuKX/8IrZupQnx SG3VasPHrc+7BbvsOukUnJx9qVQBg76FFZvga4N8Iuf0/cLVkAV62cQi/W75M9KTFFckX1 SpNXQ5DdpyPWYg7uo5iXECn/TG/atIn2ygQvNwd5JxsM9Dx/myIwX+sRCzEn0TZBi9hXHR 7EuuLf0tauCRIJxXTsik1myVjm+UVmTBsf7mER1Hp6q9JReM0bAOyhkI+gAA9pjUEI+bDA GweLFxvOpepqn14GWY53GmuW8bjsmBfQlaNPvbHYD4Q/osCH4ldI7GKraPzBTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617223391; a=rsa-sha256; cv=none; b=VJFEAb/ttHETOVC8WlojwOrE2jwQ3IkayYci6HFeEMCk5yzS0pwKwd5qCkDpsdZh1ESDq1 qwH0NjlnisxPMxrgHVtKCz7a095SOMbeWLn/iztSAzWH1YRqS9Ml4j5MYFafGroeGmm+Ip 3tJVvtRshE6FxJrqPdIRod+/pQukCFbbpFlzNsWeimoWSwhgc0PiCzZG/ydT5U/iC4HKM1 ZLGOR0z53eq3s7Hl3K72ISIheEQlQWNzvUKcg7YvQicRIQn5bY+tLGuVoX0+KrbIIxo2yd 7uDlsws0OkhJkTeUHHixjMRS/33MdRlDbWZb1A4boaP531UMDcrorV7132HHiw== 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: AA14314E4A X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: m8meaKt7iKtW Hi, Pierre Neidhardt skribis: > A brief discussion has ensued on SBCL bugtracker: Nice, thanks for starting the discussion! > - It's unlikely that SBCL will change its internal string > representation. Of course, I would not suggest that. What could have been nice is if there=E2=80=99s a way to mark specific stri= ngs as being ASCII, or if there=E2=80=99s a =E2=80=9Cbyte vector=E2=80=9D data = type compatible with strings, for instance. > - 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. That=E2=80=99s a good idea: simple and efficient. We do that for the initr= d, for instance (commit b36e06c2b0889f1d0f939465589d36887ff24d33). This could be done in =E2=80=98asdf-build-system/sbcl=E2=80=99 I suppose. = I can see two drawbacks: 1. Some packages like =E2=80=98nyxt=E2=80=99 don=E2=80=99t use it, so we= =E2=80=99d have to duplicate the phase there. 2. It may be coarse-grain compared to scanning binaries for references (for example, we might retain references to build-only tools, such as libraries used only for tests). That=E2=80=99s probably acceptable though, and certainly better than the st= atus quo. Thanks, Ludo=E2=80=99.