[Openmcl-devel] Clozure CL 1.3-RC1 available

Gary Byers gb at clozure.com
Fri Feb 13 20:20:42 UTC 2009


I wasn't able to reproduce the QUIT problem on 10.4.11, but problems
there (threads interrupting each other to try to shut things down)
tend to be timing-sensitive.

I did see the linker complaining about how sigreturn was referenced,
and in trying to make the Tiger linker happy noticed that an
argument to sigreturn() wasn't being passed correctly.  That
hasn't mattered on Leopard, but it's certainly possible that
this had something to do with the QUIT problem you reported.
(Since there was no backtrace in your report and since I
couldn't reproduce the problem, I don't really know what
the problem is or was.)

With that change in place, I was able to build the lisp
and the IDE and didn't notice any obvious problem.  I checked
that change into svn a little while ago.

If you get a chance, please do an "svn update", rebuild the
kernel, and see if the QUIT problem persists.  If not, great:
we can probably conclude that the linker issue/wrong arg
to sigreturn/QUIT problem were related.  If the problem
persists, please let me see a backtrace, or let me know if
the stack is too fouled up to print a backtrace, or something ...

On Fri, 13 Feb 2009, John Stoneham wrote:

>
> I really want to get CCL running on my machine, which is a Tiger 10.4.11 box (32-bit Intel), so I've been anxiously waiting for 1.3 to be released. But I'm having some problems with this release candidate. At first, it seems CCL is going to work. I set up the CCL_DEFAULT_DIRECTORY env var, and run the ccl script, then get the ccl REPL prompt. Evaluating a few simple forms seems ok. But (quit) chokes. In fact, the only way I can exit is to kill the dx86cl process. Here's what it looks like:
>
> Welcome to Clozure Common Lisp Version 1.3-RC1-r11719M  (DarwinX8632)!
> ? (format t "Hello")
> Hello
> NIL
> ? (+ 2 2)
> 4
> ? (quit)
>> Error: Error reporting error
>> While executing: CCL::FUNCALL-WITH-ERROR-REENTRY-DETECTION, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 1 >
>
> Trying to build the IDE also bombs, resulting in the exact same error as above (although the CCL:: prefix is gone) without any other output before the error.
>
> Trying to rebuild CCL gives more info when it fails:
>
> ? (ccl:rebuild-ccl :full t)
> Rebuilding Clozure Common Lisp using Version 1.3-RC1-r11719M  (DarwinX8632)
> ;Building lisp-kernel ...
>> Error: Error(s) during kernel compilation.
>>        gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-spjump32.s | as -arch i386 -g -o x86-spjump32.o
>>        gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-spentry32.s | as -arch i386 -g -o x86-spentry32.o
>>        gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-subprims32.s | as -arch i386 -g -o x86-subprims32.o
>>        gm4 -DDARWIN -DX86 -DX8632 -I../ ../imports.s | as -arch i386 -g -o imports.o
>>        cc -c -arch i386 ../pmcl-kernel.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o pmcl-kernel.o
>>        cc -c -arch i386 ../gc-common.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o gc-common.o
>>        cc -c -arch i386 ../bits.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bits.o
>>        cc -c -arch i386 ../thread_manager.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o thread_manager.o
>>        cc -c -arch i386 ../lisp-debug.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o lisp-debug.o
>>        cc -c -arch i386 ../image.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o image.o
>>        cc -c -arch i386 ../memory.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o memory.o
>>        cc -c -arch i386 ../x86-gc.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o x86-gc.o
>>        cc -c -arch i386 ../x86-exceptions.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o x86-exceptions.o
>>        cc -c -arch i386 ../unix-calls.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o unix-calls.o
>>        gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-asmutils32.s | as -arch i386 -g -o x86-asmutils32.o
>>        cc -c -arch i386 ../lispdcmd.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o lispdcmd.o
>>        cc -c -arch i386 ../plprint.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o plprint.o
>>        cc -c -arch i386 ../plsym.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o plsym.o
>>        cc -c -arch i386 ../x86_print.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o x86_print.o
>>        cc -c -arch i386 ../xlbt.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o xlbt.o
>>        ld  -macosx_version_min 10.4 -arch i386 -dynamic  -o ../../dx86cl -e start -pagezero_size 0x11000 -seg1addr 0x00011000 -sectalign __TEXT __text 0x1000  x86-spjump32.o x86-spentry32.o x86-subprims32.o imports.o pmcl-kernel.o gc-common.o bits.o thread_manager.o lisp-debug.o image.o memory.o x86-gc.o x86-exceptions.o unix-calls.o x86-asmutils32.o  lispdcmd.o plprint.o plsym.o x86_print.o xlbt.o   -lcrt1.o  -lSystem
>>        ld: x86-asmutils32.o has external relocation entries in non-writable section (__TEXT,__text) for symbols:
>>        _sigreturn
>>        make: *** [../../dx86cl] Error 1
>>        make: Target `all' not remade because of errors.
>>
>> While executing: REBUILD-CCL, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 1 >
>
> Okay, so the final error is during a call to ld. Next I tried to build the kernel using "make". I entered the lisp-kernel/darwinx8632 directory to try it, and here's the result:
>
> $ make
> gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-spjump32.s | as -arch i386 -g -o x86-spjump32.o
> gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-spentry32.s | as -arch i386 -g -o x86-spentry32.o
> gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-subprims32.s | as -arch i386 -g -o x86-subprims32.o
> gm4 -DDARWIN -DX86 -DX8632 -I../ ../imports.s | as -arch i386 -g -o imports.o
> cc -c -arch i386 ../pmcl-kernel.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o pmcl-kernel.o
> cc -c -arch i386 ../gc-common.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o gc-common.o
> cc -c -arch i386 ../bits.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bits.o
> cc -c -arch i386 ../thread_manager.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o thread_manager.o
> cc -c -arch i386 ../lisp-debug.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o lisp-debug.o
> cc -c -arch i386 ../image.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o image.o
> cc -c -arch i386 ../memory.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o memory.o
> cc -c -arch i386 ../x86-gc.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o x86-gc.o
> cc -c -arch i386 ../x86-exceptions.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o x86-exceptions.o
> cc -c -arch i386 ../unix-calls.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o unix-calls.o
> gm4 -DDARWIN -DX86 -DX8632 -I../ ../x86-asmutils32.s | as -arch i386 -g -o x86-asmutils32.o
> cc -c -arch i386 ../lispdcmd.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o lispdcmd.o
> cc -c -arch i386 ../plprint.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o plprint.o
> cc -c -arch i386 ../plsym.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o plsym.o
> cc -c -arch i386 ../x86_print.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o x86_print.o
> cc -c -arch i386 ../xlbt.c -DDARWIN -DX86 -DX8632  -g  -mdynamic-no-pic -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o xlbt.o
> ld  -macosx_version_min 10.4 -arch i386 -dynamic  -o ../../dx86cl -e start -pagezero_size 0x11000 -seg1addr 0x00011000 -sectalign __TEXT __text 0x1000  x86-spjump32.o x86-spentry32.o x86-subprims32.o imports.o pmcl-kernel.o gc-common.o bits.o thread_manager.o lisp-debug.o image.o memory.o x86-gc.o x86-exceptions.o unix-calls.o x86-asmutils32.o  lispdcmd.o plprint.o plsym.o x86_print.o xlbt.o   -lcrt1.o  -lSystem
> ld: x86-asmutils32.o has external relocation entries in non-writable section (__TEXT,__text) for symbols:
> _sigreturn
> make: *** [../../dx86cl] Error 1
>
>
> Again, the final error is during a call to ld. I've got Xcode 2.5 installed (the most recent version for Tiger), and have been using it without problems, building some quite large and involved projects including the Free Pascal compiler and the Lazarus IDE without errors.
>
> Any help would be appreciated!
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list