all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Using CLISP instead of CCL to bootstrap SBCL
@ 2019-08-30 12:33 Guillaume Le Vaillant
  0 siblings, 0 replies; 10+ messages in thread
From: Guillaume Le Vaillant @ 2019-08-30 12:33 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel


Hi,

According to the NEWS file, SBCL 1.5.0 and later can also be
bootstrapped using ECL:

---
changes in sbcl-1.5.0 relative to sbcl-1.4.16:
  [...]
  * build enhancement: new host quirks mechanism, support for building under
    ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)
  [...]
---

Maybe it could be used to have the same bootstrap procedure for all
systems.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Using CLISP instead of CCL to bootstrap SBCL
@ 2019-08-29 22:01 Mark H Weaver
  2019-08-30  8:39 ` Pierre Neidhardt
  0 siblings, 1 reply; 10+ messages in thread
From: Mark H Weaver @ 2019-08-29 22:01 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel

Hi Pierre,

I just noticed that last November, you changed our SBCL package to use
CCL for bootstrapping.  Previously, it used CLISP.

  commit 4bddcae94bb9d19112354f8f0b93f6e381e67768
  Author: Pierre Neidhardt <mail@ambrevar.xyz>
  Date:   Sat Nov 24 18:33:55 2018 +0100
  
      gnu: sbcl: Update to 1.4.13.
      
      * gnu/packages/lisp.scm (sbcl): Update to 1.4.13.
      [native-inputs]: Use minimal texlive-union instead of full texlive.
      [native-inputs]: Use CCL instead of buggy CLISP.
      [arguments]: Replace all (zero? (system* ...)) by invoke.

Since our CCL package only supports i686 and x86_64, a few days later
Efraim changed it back to use CLISP on all non-x86 systems:

  commit 76d520facb54f4f86977683fd21bf1d4ac5ba45d
  Author: Efraim Flashner <efraim@flashner.co.il>
  Date:   Thu Nov 29 11:54:30 2018 +0200
  
      gnu: sbcl: bootstrap with clisp on non-Intel machines.
      
      * gnu/packages/lisp.scm (sbcl)[native-inputs]: If the current system is
      not x86_64-linux or i686-linux, use clisp in place of ccl.
      [arguments]: In the custom build phase, use the correct bootstrap lisp.

The most severe problem with CCL, from my perspective, is that
apparently it cannot be built from source code, or at least our package
in Guix doesn't.  As documented in our CCL package definition:

    ;; CCL consists of a "lisp kernel" and "heap image", both of which are
    ;; shipped in precompiled form in source tarballs.  The former is a C
    ;; program which we can rebuild from scratch, but the latter cannot be
    ;; generated without an already working copy of CCL, and is platform
    ;; dependent, so we need to fetch the correct tarball for the platform.

I consider this issue to be sufficiently serious that I'd like to
propose switching back to CLISP for all systems.

In your commit log, you wrote "Use CCL instead of buggy CLISP".  What
bugs are you referring to?  Is there a bug in CLISP that prevents it
from successfully bootstrapping current SBCL releases?  If so, have the
CLISP developers been informed?  Or did you make this change
preemptively, based on lack of confidence in CLISP to do the job?

My immediate interest in this is that I'd like to try "Next" browser,
but I don't want to trust a precompiled CCL heap image.  Is there a
reasonable way forward to address this concern?

       Thanks,
         Mark

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-05 20:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30 12:33 Using CLISP instead of CCL to bootstrap SBCL Guillaume Le Vaillant
  -- strict thread matches above, loose matches on Subject: below --
2019-08-29 22:01 Mark H Weaver
2019-08-30  8:39 ` Pierre Neidhardt
2019-09-02 10:16   ` Pierre Neidhardt
2019-09-02 12:44     ` Pierre Neidhardt
2019-09-02 13:01       ` Pierre Neidhardt
2019-09-03 12:39     ` Ludovic Courtès
2019-09-03 12:43       ` Pierre Neidhardt
2019-09-05  9:46         ` Pierre Neidhardt
2019-09-05 20:07           ` Mark H Weaver

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.