SBCL on OSX/Intel: Success!

SBCL build on an Apple Intel Core Duo iMac (Dual-core 2Ghz, 1G RAM):

//build started: Mon Mar 6 08:48:56 CST 2006
//build finished: Mon Mar 6 08:58:54 CST 2006
real 9m58.717s
user 8m50.595s
sys 0m31.261s

Thanks to Cyrus Harmon’s patch for 20060503 SBCL from CVS. I used CLISP (v2.37) to bootstrap SBCL from source, then recompiled it with itself just to make sure things were going to work.

gojira:~ mrbill$ uname -a
Darwin gojira.local 8.5.1 Darwin Kernel Version 8.5.1: Mon Jan 30 21:07:08 PST 2006; root:xnu-792.8.36.obj~1/RELEASE_I386 i386 i386
gojira:~ mrbill$ sbcl
This is SBCL 0.9.10.15, an implementation of ANSI Common Lisp.
More information about SBCL is available at .

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
*

5 Responses to 'SBCL on OSX/Intel: Success!'

  1. Peter Van Eynde Says:

    What version of clisp did you use to build sbcl?

  2. mrbill Says:

    gojira:~ mrbill$ clisp –version
    GNU CLISP 2.37 (2006-01-02) (built 3346756401) (memory 3346756570)
    Software: GNU C 4.0.1 (Apple Computer, Inc. build 5250) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -falign-functions=4 -x none libcharset.a -lncurses -liconv
    SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
    libiconv 1.9
    Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE BASE-CHAR=CHARACTER UNIX MACOS)
    C Modules: (clisp i18n syscalls regexp)
    Installation directory: /usr/local/lib/clisp/
    User language: ENGLISHMachine: I386 (I386) gojira.local [192.168.1.15]

  3. Johan Persson Says:

    How did you get clisp to work?

  4. Johan Persson Says:

    Heh, sorry about the clueless reply. I got it to work, though it was a bit tricky. :)

  5. n9yty Says:

    I am having weird problems… I got clisp up, and tried to build sbcl, but I get an error, the same error (I think) as I get when trying to run the supplied sbcl binary.

    uname -a
    Darwin smpmbp 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun 7 16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386

    clisp –version
    GNU CLISP 2.39 (2006-07-16) (built 3367024446) (memory 3367609108)
    Software: GNU C 4.0.1 (Apple Computer, Inc. build 5363)
    gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -x none libcharset.a -L/usr/local/lib -lreadline -lncurses -L/usr/X11R6/lib
    SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
    libreadline 5.1
    Features:
    (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL
    INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE
    BASE-CHAR=CHARACTER UNIX MACOS)
    C Modules: (clisp i18n syscalls regexp)
    Installation directory: /usr/local/lib/clisp/
    User language: ENGLISH
    Machine: I386 (I386) smpmbp.local [192.168.4.242]

    sbcl CRASH:
    **********

    Host Name: smpMBP
    Date/Time: 2006-09-18 22:40:53.807 -0500
    OS Version: 10.4.7 (Build 8J2135)
    Report Version: 4

    Command: sbcl
    Path: /usr/local/bin/sbcl
    Parent: bash [16628]

    Version: ??? (???)

    PID: 18526
    Thread: 0

    Exception: EXC_BAD_ACCESS (0×0001)
    Codes: KERN_PROTECTION_FAILURE (0×0002) at 0×10168464

    Thread 0 Crashed:
    0 > 0×1008c02f 0 + 269008943

    Thread 0 crashed with i386 Thread State:
    eax: 0×10168467 ebx: 0×00904f24 ecx:0×0800000b edx: 0×1003f6af
    edi: 0×00000000 esi: 0×00000000 ebp:0×00904f24 esp: 0×00904ea4
    ss: 0×0000002f efl: 0×00010246 eip:0×1008c02f cs: 0×00000027
    ds: 0×0000002f es: 0×0000002f fs:0×00000000 gs: 0×00000037

    Binary Images Description:
    0×1000 - 0×15fff sbcl /usr/local/bin/sbcl
    0×8fe00000 - 0×8fe4cfff dyld 45.3 /usr/lib/dyld
    0×90000000 - 0×9016efff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0×901be000 - 0×901c0fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib

    ANOTHER:
    **********

    Host Name: smpMBP
    Date/Time: 2006-09-11 21:23:28.431 -0500
    OS Version: 10.4.7 (Build 8J2135)
    Report Version: 4

    Command: sbcl
    Path: /usr/local/bin/sbcl
    Parent: bash [18997]

    Version: ??? (???)

    PID: 19192
    Thread: 0

    Exception: EXC_BAD_ACCESS (0×0001)
    Codes: KERN_PROTECTION_FAILURE (0×0002) at 0×10168464

    Thread 0 Crashed:
    0 > 0×1008c02f 0 + 269008943

    Thread 0 crashed with i386 Thread State:
    eax: 0×10168467 ebx: 0×00904f24 ecx:0×0800000b edx: 0×1003f6af
    edi: 0×00000000 esi: 0×00000000 ebp:0×00904f24 esp: 0×00904ea4
    ss: 0×0000002f efl: 0×00010246 eip:0×1008c02f cs: 0×00000027
    ds: 0×0000002f es: 0×0000002f fs:0×00000000 gs: 0×00000037

    Binary Images Description:
    0×1000 - 0×15fff sbcl /usr/local/bin/sbcl
    0×8fe00000 - 0×8fe4cfff dyld 45.3 /usr/lib/dyld
    0×90000000 - 0×9016efff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0×901be000 - 0×901c0fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib