Hi,

SBCL 1.0.52.14-357b030 fails to build for me on OS/X 10.6

Darwin Al 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

I'm betting the problem is the xcode version of 3.2.6 which has gcc 4.2.1.  The following diff fixes the problem.

cheers

bruce

 

diff --git a/src/runtime/x86-64-assem.S b/src/runtime/x86-64-assem.S
index e2bc331..517f7b0 100644
--- a/src/runtime/x86-64-assem.S
+++ b/src/runtime/x86-64-assem.S
@@ -194,7 +194,7 @@ Lstack:
        xor     %rdx,%rdx       # clear any descriptor registers
        xor     %rdi,%rdi       # that we can't be sure we'll
        xor     %rsi,%rsi       # initialise properly.  XX do r8-r15 too?
-       shl     $N_FIXNUM_TAG_BITS,%rcx # (fixnumize num-args)
+       shl     $ N_FIXNUM_TAG_BITS,%rcx        # (fixnumize num-args)
  ! ;      cmp     $0,%rcx
        je      Ldone
        mov     0(%rbx),%rdx    # arg0