X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcold%2Fcompile-cold-sbcl.lisp;h=465236d24aefddaed32ff85fe57d0fddcba5c21f;hb=ae47ad0774edd8cb376772ae7e615428295f979e;hp=7bd002c509e64552c60720d3245aa7f4636394f3;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/cold/compile-cold-sbcl.lisp b/src/cold/compile-cold-sbcl.lisp index 7bd002c..465236d 100644 --- a/src/cold/compile-cold-sbcl.lisp +++ b/src/cold/compile-cold-sbcl.lisp @@ -14,33 +14,13 @@ (in-package "SB-COLD") -;;;; $Header$ - (defvar *target-object-file-names*) -;;; KLUDGE.. -;;; -;;; CMU CL (as of 2.4.6 for Debian, anyway) issues warnings (and not just -;;; STYLE-WARNINGs, either, alas) when it tries to interpret code containing -;;; references to undefined functions. The most common problem is that -;;; macroexpanded code refers to this function, which isn't defined until late. -;;; -;;; This -;;; #+cmu (defun sb!kernel::do-arg-count-error (&rest rest) -;;; (error "stub version of do-arg-count-error, rest=~S" rest)) -;;; doesn't work, with or without this -;;; (compile 'sb!kernel::do-arg-count-error)) -;;; so perhaps I should try -;;; (declaim (ftype ..) ..) -;;; instead? -(declaim (ftype (function (&rest t) nil) sb!kernel::do-arg-count-error)) - (let ((reversed-target-object-file-names nil)) - (for-stems-and-flags (stem flags) - (unless (find :not-target flags) - ;; FIXME: Remove these GC calls after fixing the problem of ridiculous - ;; bootstrap memory bloat. + (do-stems-and-flags (stem flags) + (unless (position :not-target flags) (push (target-compile-stem stem + :trace-file (find :trace-file flags) :assem-p (find :assem flags) :ignore-failure-p (find :ignore-failure-p flags))