GNU bug report logs -
#33848
Store references in SBCL-compiled code are "invisible"
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sun, 23 Dec 2018 14:21:02 UTC
Severity: important
Tags: fixed
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
Pierre Neidhardt <mail <at> ambrevar.xyz> 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’s a way to mark specific strings
as being ASCII, or if there’s a “byte vector” 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’s a good idea: simple and efficient. We do that for the initrd,
for instance (commit b36e06c2b0889f1d0f939465589d36887ff24d33).
This could be done in ‘asdf-build-system/sbcl’ I suppose. I can see two
drawbacks:
1. Some packages like ‘nyxt’ don’t use it, so we’d 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’s probably acceptable though, and certainly better than the status quo.
Thanks,
Ludo’.
This bug report was last modified 4 years and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.