Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Daniel Barlow <dan@te...> - 2000-09-10 15:24:08
|
People might be interested to know that SBCL 0.6.5 on Linux/Alpha now successfully starts up with cold-sbcl.core, and makes it through cold-init to the * prompt. It blows up very quickly afterwards (LET and QUIT are among the forms that can make it die) but I thought that rated as progress anyway. I can evaluate "(+ 1 2 3)" with no problems :-) I've just reviewed a diff file, which is pleasingly short to far (after removing a gazillion "%primitive print" calls). So far I've needed to make the following general categories of changes: 1) "semi-mechanical" changes to the cmucl alpha backend - package renaming, asterisks on the names of specials, and so on. 2) invocations of copiers for structure-based classes get replaced with calls to COPY-STRUCTURE as they're found to cause problems - e.g. COPY-NUMERIC-TYPE in code/late-type.lisp. I find it vaguely disturbing that this was necessary, given that it apparently isn't on the x86 3) I hacked up the signals stuff in an if-it-builds-ship-it fashion - linux/alpha supports posix signals so I thought I'd wait for 0.6.7 instead of expending effort trying to understand what 0.6.5 did 4) random changes: e.g. - the appropriate bit of DO-COLD-FIXUP needed fixing to not use SAPs - SYMBOL-HASH has no VOP on the Alpha, so calls to it tended to spin on CPU. I had to write a real function: (%sxhash-simple-string (symbol-name function)) - code/debug-int.lisp has references to a %ALPHA package; changed to use SB!VM instead 5) weird stuff: e.g. - the DECLAIM of DO-COLD-FIXUP causes :JMP-HINT relocations to break. Commented out - "(def-type-translator or" on the alpha uses REDUCE, which crashes. Rewritten to use DOLIST instead Signals are still set to bite me. GC I expect will bite me (it looks like CMUCL on the Alpha uses gc.c which is neither conservative or generational). Floating point modes likewise as soon as I uncomment the appropriate call in. Dynamic loading, when I get that far, I'll make work like the x86 Linux version works. I'm not sure if it gets easier or harder from here ... -dan -- http://ww.telent.net/cliki/ - CLiki: CL/Unix free software link farm |