From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 26 11:14:15 2018 Received: (at 33848) by debbugs.gnu.org; 26 Dec 2018 16:14:16 +0000 Received: from localhost ([127.0.0.1]:37888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcBp0-0001Gz-E6 for submit@debbugs.gnu.org; Wed, 26 Dec 2018 11:14:15 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcBoy-0001Gr-0t for 33848@debbugs.gnu.org; Wed, 26 Dec 2018 11:14:12 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7B83917CE; Wed, 26 Dec 2018 17:14:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DDHfqvVGlezg; Wed, 26 Dec 2018 17:14:10 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BF6031753; Wed, 26 Dec 2018 17:14:09 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mark H Weaver Subject: Re: bug#33848: Store references in SBCL-compiled code are "invisible" 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=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, 26 Dec 2018 17:14:09 +0100 In-Reply-To: <87tvj2yesd.fsf@netris.org> (Mark H. Weaver's message of "Mon, 24 Dec 2018 13:12:23 -0500") Message-ID: <877efwe04u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 33848 Cc: Pierre Neidhardt , 33848@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello! Mark H Weaver skribis: > Ludovic Court=C3=A8s writes: > >> Pierre Neidhardt skribis: >> >>>> For now I lean towards looking for a way to address the issue >>>> specifically for SBCL. >>> >>> Don't forget that we currently have 5 Lisp compilers. >>> Besides, it's not clear that this can be fixed on the compiler's side, = it could >>> very well be that patches will be required on a per-project basis. >> >> I know little about CL but maybe we can find a solution that works for >> all five compilers. At least that would be the first approach I would >> suggest following. > > I can't imagine a solution that would work for all five compilers, but > perhaps that's a failure of imagination on my part. Of course, you're > welcome to search for such a solution. Can you give me a rough outline > of what you have in mind? I have nothing specific in mind, I=E2=80=99m just brainstorming with everyo= ne here. :-) For a similar situation in C++, there=E2=80=99s a fairly simple and local workaround: https://issues.guix.info/issue/30265#8 I=E2=80=99m not familiar with CL but I thought that it we could achieve something similar, that would be great=E2=80=94I=E2=80=99m not suggesting t= o change the CL compilers in any non-trivial way. For example I guess we could always store the file name as a literal byte vector/list and add a call to turn that into a string. Does that make sense? Thanks, Ludo=E2=80=99.