Re: Problem loading sample implementation in Chibi
Marc Nieper-Wißkirchen 20 Apr 2022 09:27 UTC
Am Mi., 20. Apr. 2022 um 10:53 Uhr schrieb Daphne Preston-Kendal
<xxxxxx@nonceword.org>:
>
> On 20 Apr 2022, at 10:17, Marc Nieper-Wißkirchen <xxxxxx@gmail.com> wrote:
>
> > With Chibi 0.9, all tests pass; with Chibi 0.10 it's broken. What
> > change between 0.9 and 0.10 may be responsible?
>
>
> I ran Git bisect between the 0.9 tag and HEAD, rebuilding Chibi from scratch each time and then running the sample implementation test suite. It identified this commit as the culprit:
>
> > 42aab7905c8420e7c5475b67f286e87a730a7873 is the first bad commit
> > commit 42aab7905c8420e7c5475b67f286e87a730a7873
> > Author: Alex Shinn <xxxxxx@gmail.com>
> > Date: Mon Apr 19 10:27:46 2021 +0900
> >
> > enable SEXP_USE_STRICT_TOPLEVEL_BINDINGS by default (issue #699)
> >
> > include/chibi/features.h | 16 ++++++++++++++--
> > 1 file changed, 14 insertions(+), 2 deletions(-)
Wow, thanks! That's pretty helpful.
Apparently, `:c` is not bound at a place where it should be bound. The
loser 0.9 semantics would have then resorted to comparison by symbolic
name.
> I should note that the commits without the crash fail one test anyway:
>
> > %%%% Starting test SRFI 148 (Writing full log to "SRFI 148.log")
> > FAIL em-cute: without ...
> > # of expected passes 141
> > # of unexpected failures 1
>
> I marked them good nonetheless since that’s not the bug I was investigating.
This should be added to the SRFI 148 mailing list.