X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcold-init.lisp;h=97577343c3f0d9c6da224d47f06e63011909468e;hb=4281f3b99891120fea5cabbc3a9d091b19f45995;hp=6834b86bd65528991c5ef6843b75f66c83a538ce;hpb=01044af1b8d69fc3899dc0417064c1512223223d;p=sbcl.git diff --git a/src/code/cold-init.lisp b/src/code/cold-init.lisp index 6834b86..9757734 100644 --- a/src/code/cold-init.lisp +++ b/src/code/cold-init.lisp @@ -49,7 +49,7 @@ ;;;; putting ourselves out of our misery when things become too much to bear -(declaim (ftype (function (simple-string) nil) critically-unreachable)) +(declaim (ftype (function (simple-string) nil) !cold-lose)) (defun !cold-lose (msg) (%primitive print msg) (%primitive print "too early in cold init to recover from errors") @@ -111,6 +111,7 @@ ;; this to be initialized, so we initialize it right away. (show-and-call !random-cold-init) + (show-and-call !early-package-cold-init) (show-and-call !package-cold-init) ;; All sorts of things need INFO and/or (SETF INFO). @@ -296,17 +297,7 @@ instead (which is another name for the same thing).")) ;; call site. (set-floating-point-modes :traps '(:overflow #!-netbsd :invalid :divide-by-zero)) - (sb!thread::maybe-install-futex-functions) - - ;; Clear pseudo atomic in case this core wasn't compiled with - ;; support. - ;; - ;; FIXME: In SBCL our cores are always compiled with support. So - ;; we don't need to do this, do we? At least not for this - ;; reason.. (Perhaps we should do it anyway in case someone - ;; manages to save an image from within a pseudo-atomic-atomic - ;; operation?) - #!+x86 (setf *pseudo-atomic-atomic* 0))) + (sb!thread::maybe-install-futex-functions))) (gc-on) (gc))