>>>>> "Ole" == ole rohne <[EMAIL PROTECTED]>:
 Jan> I am stuck with no working lisp on my laptop :-/ The 2003-12
 Jan> snapshot provided by Ole is nice, but I've had strange problems
 Jan> with 2003-12 ("NIL fell through ETYPECASE expression" errors when
 Jan> ASDF loads compiled files).

 Ole> I've seen the same problem, and I suspect PCL, not the memory
 Ole> layout - I think I did cross-check that it also shows up on stock
 Ole> 2003-12 under RedHat 7.x.  I've posted my tentative diagnostics to
 Ole> the CMUCL implementation list:
 Ole> <http://article.gmane.org/gmane.lisp.cmucl.devel/4976>

You are right -- I have verified on another machine and it is clearly
the 2003-12 snapshot that introduces this problem, while 2003-11 works
just fine.

 Jan> I tried to compile and cross-compile the 2003-11 snapshot changing
 Jan> the DYNAMIC_0_SPACE_START offset to 0x58000000, but all I got is
 Jan> segfaults in the load-world stage. Apparently there is more to it
 Jan> than just changing this value.

 Ole> Yes, you have to change TARGET-DYNAMIC-SPACE-START in
 Ole> x86/compiler/x86/parms.lisp as well and make sure it reallay gets
 Ole> into the image that's doing the compilation. At one point that
 Ole> didn't seem to happen to me, so cross compilation seems like the
 Ole> safest bet.
[...]

Thanks. I didn't know about the entry in parms.lisp. After adjusting it
everything went relatively smoothly. That's the first time I've built
CMUCL, so I didn't know what to expect. Just for the reference, I had
to:

  -- do a cross-compile (a normal build would not work and I didn't
     investigate),

  -- remove package locks during the build process, as it otherwise
     wouldn't continue,

  -- ignore the fact that PCL did not get built during the
     cross-compile, and rebuild the target with itself adding (pushnew
     :pcl *features) to xtarget/setenv.lisp to get PCL,

Otherwise, things went fine. Oh, motifd didn't build (it seems it was
missing libpthread and some other X libraries), but I really don't care
about that, so I didn't investigate.

So, I have a working CMUCL again! And your (Ole) PCL patch fixes the "NIL
fell through ETYPECASE" error nicely.

Many thanks to all of you.

--J.


Reply via email to