[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Fix bootstrapping issues (hopefully) and finis
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Fix bootstrapping issues (hopefully) and finish chicken.syntax, at the same time! |
Date: |
Wed, 13 Dec 2017 23:30:22 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
Hi all,
As Kooda noted, there are some issues when bootstrapping master from
scratch using 5.0.0pre3. I tried to create a pre4, but doing so got
me stuck on this problem introduced by 139deae. I don't understand
the issue 100%, but it looks the problem is this:
A clean git checkout does not contain "chicken.syntax.import.scm",
and at the first step of compiling library.scm and emitting export
libraries, we need to import chicken.syntax (because 139deae added
it to every toplevel that has no -explicit-use). This fails because
chicken.syntax.import.scm is emitted much much later, as part of
compiling expand.scm.
Now, we already decided that "begin-for-syntax" and "syntax" should
be in the chicken.syntax module, so it had to be hand-written eventually
anyway, so I think the attached patch should do the trick. After it is
applied, I'll finish the pre4 bootstrap tarball.
Cheers,
Peter
0001-Add-hand-written-chicken-syntax-module.patch
Description: Text Data
signature.asc
Description: PGP signature
- [Chicken-hackers] [PATCH] Fix bootstrapping issues (hopefully) and finish chicken.syntax, at the same time!,
Peter Bex <=