<div>Thanks. A fresh tarball download has solved the Cocoa problem however this same fresh checkout fails a full rebuild. The pre-built IDE runs fine, I'm trying to work through the Cocoa GUI examples. This is running 10.4.11:</div>
  <div><br /></div>
  <div>
    <div>administrators-ibook-g4:~/Illation/Development/Applications/ccl admin$ ./dppccl</div>
    <div>Welcome to Clozure Common Lisp Version 1.3-r11936 &nbsp;(DarwinPPC32)!</div>
    <div>? (rebuild-ccl :full t)</div>
    <div>Rebuilding Clozure Common Lisp using Version 1.3-r11936 &nbsp;(DarwinPPC32)</div>
    <div>;Building lisp-kernel ...</div>
    <div>&gt; Error: Error(s) during kernel compilation.</div>
    <div>&gt; &nbsp; &nbsp; &nbsp; &nbsp;</div>
    <div>&gt; While executing: REBUILD-CCL, in process listener(1).</div>
    <div>&gt; Type :POP to abort, :R for a list of available restarts.</div>
    <div>&gt; Type :? for other options.</div>
    <div>1 &gt; :b</div>
  </div>
  <div>&nbsp;(F0199B30) : 0 (REBUILD-CCL :UPDATE NIL :FULL T :CLEAN T :KERNEL T :FORCE NIL :RELOAD T :EXIT NIL :RELOAD-ARGUMENTS NIL :VERBOSE NIL :OPTIONAL-FEATURES NIL) 1188</div>
  <div>
    <div>&nbsp;(F0199B70) : 2 (CALL-CHECK-REGS REBUILD-CCL :FULL T) 72</div>
    <div>&nbsp;(F0199B90) : 4 (TOPLEVEL-EVAL (REBUILD-CCL :FULL T) NIL) 476</div>
    <div>&nbsp;(F0199BC0) : 5 (READ-LOOP :INPUT-STREAM #&lt;SYNONYM-STREAM to *TERMINAL-IO* #x84D02B6&gt; :OUTPUT-STREAM #&lt;SYNONYM-STREAM to *TERMINAL-IO* #x84D0246&gt; :BREAK-LEVEL 0 :PROMPT-FUNCTION #&lt;Compiled-function (:INTERNAL CCL::READ-LOOP) (Non-Global) &nbsp;#x81A8166&gt;) 1080</div>
    <div>&nbsp;(F0199C00) : 6 (TOPLEVEL-LOOP) 72</div>
    <div>&nbsp;(F0199C20) : 7 (FUNCALL #'#&lt;(:INTERNAL (TOPLEVEL-FUNCTION (CCL::LISP-DEVELOPMENT-SYSTEM T)))&gt;) 72</div>
    <div>&nbsp;(F0199C40) : 9 (FUNCALL #'#&lt;(:INTERNAL CCL::MAKE-MCL-LISTENER-PROCESS)&gt;) 392</div>
    <div>&nbsp;(F0199C70) : 11 (RUN-PROCESS-INITIAL-FORM #&lt;TTY-LISTENER listener(1) [Active] #x84CF86E&gt; (#&lt;COMPILED-LEXICAL-CLOSURE # #x84CF66E&gt;)) 404</div>
    <div>&nbsp;(F0199CB0) : 13 (FUNCALL #'#&lt;(:INTERNAL CCL::%PROCESS-PRESET-INTERNAL)&gt; #&lt;TTY-LISTENER listener(1) [Active] #x84CF86E&gt; (#&lt;COMPILED-LEXICAL-CLOSURE # #x84CF66E&gt;)) 164</div>
    <div>&nbsp;(F0199CD0) : 14 (FUNCALL #'#&lt;(:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION)&gt;) 176</div>
  </div>
  <div><br /></div>
  <div><br /></div>
Quoting Gary Byers &lt;gb@clozure.com&gt;:<br /> <br />
&gt; It's certainly supposed to work.&nbsp; I just tried doing (REQUIRE <br />
&gt; &quot;COCOA&quot;) in both the<br />
&gt; current trunk and the current 1.3 release on PPCs running 10.5.6 and <br />
&gt; 10.4.11 and<br />
&gt; also ran the pre-built IDE from the clozurecl-1.3-darwinppc.dmg <br />
&gt; archive on both<br />
&gt; OSes, and didn't notice any problems; I don't remember having heard of anyone<br />
&gt; having problems, and I don't remember there having been any such problems in<br />
&gt; recent development versions.<br />
&gt;<br />
&gt; (It's certainly true that the PPC versions of CCL get less exercise <br />
&gt; these days<br />
&gt; than the x86 versions do, but a lot of the work I've been doing for the last<br />
&gt; several months has been on a Darwin PPC box, and I used a fairly current CCL<br />
&gt; on that machine fairly regularly.)<br />
&gt;<br />
&gt; _NSRemoveHandler2 is part of the (32-bit) ObjC exception handling mechanism;<br />
&gt; it's called all of the time as code transitions betwen Lisp and ObjC. <br />
&gt;&nbsp; My first<br />
&gt; guess is that a crash there is a symptom of something else (stack <br />
&gt; overflow ?),<br />
&gt; but that's just a guess (and not necessarily a good one.)<br />
&gt;<br />
&gt; If you can, please get it to crash like this and generate a backtrace in<br />
&gt; the kernel debugger.&nbsp; I'd be interested in seeing that, and it might lead to<br />
&gt; a better guess.<br />
&gt;<br />
&gt; (It also never hurts to mention what version of CCL you're using and what<br />
&gt; OS version is involved.)<br />
&gt;<br />
&gt; On Fri, 1 May 2009, Steve Núñez wrote:<br />
&gt;<br />
&gt;&gt; Does anyone do any Cocoa work on PPC 32bit? I'm just guessing that <br />
&gt;&gt; the platform is the problem here. When I try to build the bridge, <br />
&gt;&gt; via (require 'cocoa'), CCL crashes with:<br />
&gt;&gt;<br />
&gt;&gt; Unhandled exception 11 at 0x9f84e40c, context-&gt;regs at #xbffff458<br />
&gt;&gt; Read operation to unmapped address 0x5<br />
&gt;&gt; In foreign code at address 0x9f84e40c<br />
&gt;&gt; [_NSRemoveHandler2 + 496]<br />
&gt;&gt;<br />
&gt;&gt; Any ideas?<br />
&gt;&gt;<br />
&gt;&gt; Regards,<br />
&gt;&gt;&nbsp; &nbsp; &nbsp;- Steve<br /><br /><br />
<br />
----------------------------------------------------------------<br />
This message was sent using IMP, the Internet Messaging Program.<br />