X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=build-order.lisp-expr;h=441e75729693bf37532f1a595bc956af68a87e19;hb=4d5d7a4d8451095eac7384e3a8d14d10f59c5e0c;hp=ed67fe26c1f5ed7008896a7a86d294b2438314b3;hpb=bd0ba0f214518e8d72ff2d44de5a1e3e4b02af2c;p=sbcl.git diff --git a/build-order.lisp-expr b/build-order.lisp-expr index ed67fe2..441e757 100644 --- a/build-order.lisp-expr +++ b/build-order.lisp-expr @@ -73,16 +73,21 @@ ;;; supplied by basic machinery ("src/code/cross-misc" :not-target) + ("src/code/cross-char" :not-target) ("src/code/cross-byte" :not-target) + ("src/code/cross-boole" :not-target) ("src/code/cross-float" :not-target) ("src/code/cross-io" :not-target) ("src/code/cross-sap" :not-target) + ("src/code/cross-thread" :not-target) ("src/code/cross-make-load-form" :not-target) + ("src/code/cross-condition" :not-target) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; stuff needed early both in cross-compilation host and in target Lisp ("src/code/uncross") + ("src/code/primordial-type") ("src/code/early-defbangmethod") ("src/code/defbangtype") @@ -96,9 +101,9 @@ ;; for various constants e.g. SB!XC:MOST-POSITIVE-FIXNUM and ;; SB!VM:N-LOWTAG-BITS, needed by "early-objdef" and others + ("src/compiler/target/parms") ("src/compiler/generic/early-vm") ("src/compiler/generic/early-objdef") - ("src/compiler/target/parms") ("src/code/early-array") ; needs "early-vm" numbers ("src/code/early-extensions") ; on host for COLLECT, SYMBOLICATE, etc. @@ -128,6 +133,9 @@ ("src/code/target-extensions" :not-host) + ;; Needed before the first use of WITH-SINGLE-PACKAGE-LOCKED-ERROR. + ("src/code/early-package" :not-host) + ("src/code/early-defstructs" :not-host) ; gotta-be-first DEFSTRUCTs ("src/code/defbangstruct") @@ -157,6 +165,7 @@ ("src/code/target-error" :not-host) + ("src/compiler/early-backend") ;; a comment from classic CMU CL: ;; "These guys can supposedly come in any order, but not really. ;; Some are put at the end so that macros don't run interpreted @@ -186,7 +195,8 @@ ("src/code/misc-aliens" :not-host) ("src/code/array" :not-host) - ("src/code/target-sxhash" :not-host) + ("src/code/early-float" :not-host) + ("src/code/target-sxhash" :not-host) ; needs most-fooative-foo-float constants ("src/code/list" :not-host) ("src/code/seq" :not-host) ; "code/seq" should come after "code/list". @@ -221,6 +231,7 @@ #!+sparc ("src/code/sparc-vm" :not-host) #!+hppa ("src/code/hppa-vm" :not-host) #!+x86 ("src/code/x86-vm" :not-host) + #!+x86-64("src/code/x86-64-vm" :not-host) #!+ppc ("src/code/ppc-vm" :not-host) #!+alpha ("src/code/alpha-vm" :not-host) #!+mips ("src/code/mips-vm" :not-host) @@ -334,6 +345,7 @@ ;; in class.lisp. ("src/code/condition" :not-host) + ("src/compiler/generic/vm-array") ("src/compiler/generic/primtype") ;; the implementation of the compiler-affecting part of forms like @@ -375,6 +387,8 @@ ("src/code/cross-type" :not-target) ("src/compiler/generic/vm-type") ("src/compiler/proclaim") + + ("src/code/class-init") ("src/code/typecheckfuns") ;; The DEFSTRUCT machinery needs SB!XC:SUBTYPEP, defined in @@ -398,6 +412,9 @@ ("src/compiler/compiler-error") ("src/code/type-init") + ;; Now that the type system is initialized, fix up UNKNOWN types that + ;; have crept in. + ("src/compiler/fixup-type") ;; These define target types needed by fndb.lisp. ("src/code/package") @@ -405,6 +422,7 @@ ("src/code/hash-table") ("src/code/readtable") ("src/code/pathname") + ("src/code/host-pprint") ("src/compiler/lexenv") ;; KLUDGE: Much stuff above here is the type system and/or the INFO @@ -434,10 +452,13 @@ ;; (and so that they don't cause lots of annoying compiler warnings ;; about undefined types). ("src/compiler/generic/core") - ("src/code/cross-thread" :not-target) ("src/code/thread") ("src/code/load") + #!+linkage-table ("src/code/linkage-table" :not-host) + #!+os-provides-dlopen ("src/code/foreign-load" :not-host) + ("src/code/foreign") + ("src/code/fop") ; needs macros from code/load.lisp ("src/compiler/ctype") @@ -453,7 +474,9 @@ ("src/compiler/main") ; needs DEFSTRUCT FASL-OUTPUT from dump.lisp ("src/compiler/target-main" :not-host) ("src/compiler/ir1tran") + ("src/compiler/ir1tran-lambda") ("src/compiler/ir1-translators") + ("src/compiler/ir1-step") ("src/compiler/ir1util") ("src/compiler/ir1report") ("src/compiler/ir1opt") @@ -466,6 +489,7 @@ ("src/compiler/float-tran") ("src/compiler/saptran") ("src/compiler/srctran") + ("src/compiler/generic/vm-tran") ("src/compiler/locall") ("src/compiler/dfo") ("src/compiler/checkgen") @@ -503,10 +527,24 @@ ("src/compiler/target/memory") ("src/compiler/target/static-fn") ("src/compiler/target/arith" - ;; KLUDGE: for ppc and sparc this appears to be necessary -- see the - ;; comment below regarding src/compiler/target/array -- CSR, - ;; 2002-05-05 - :ignore-failure-p) + ;; KLUDGE: for ppc and sparc this appears to be necessary, as it + ;; used to be for array VOPs for X86 until ca. 0.8.5.24 when CSR's + ;; patch for that architecture was finally committed + ;; + ;; old (0.8.5.23) comment on the array-VOP hack for X86: + ;; x Compiling this file for X86 raises alarming warnings of + ;; x the form + ;; x Argument FOO to VOP CHECK-BOUND has SC restriction + ;; x DESCRIPTOR-REG which is not allowed by the operand type: + ;; x (:OR POSITIVE-FIXNUM) + ;; x This seems not to be something that I broke, but rather a "feature" + ;; x inherited from classic CMU CL. (Debian cmucl_2.4.8.deb compiling + ;; x Debian cmucl_2.4.8.tar.gz raises the same warning). Thus, even though + ;; x these warnings are severe enough that they would ordinarily abort + ;; x compilation, for now we blithely ignore them and press on to more + ;; x pressing problems. Someday, though, it would be nice to figure out + ;; x what the problem is and fix it. + #!+(or ppc sparc) :ignore-failure-p) ("src/compiler/target/subprim") ("src/compiler/target/debug") @@ -521,21 +559,7 @@ ("src/compiler/target/nlx") ("src/compiler/generic/late-nlx") ("src/compiler/target/show") - ("src/compiler/target/array" - ;; KLUDGE: Compiling this file for X86 raises alarming warnings of - ;; the form - ;; Argument FOO to VOP CHECK-BOUND has SC restriction - ;; DESCRIPTOR-REG which is not allowed by the operand type: - ;; (:OR POSITIVE-FIXNUM) - ;; This seems not to be something that I broke, but rather a "feature" - ;; inherited from classic CMU CL. (Debian cmucl_2.4.8.deb compiling - ;; Debian cmucl_2.4.8.tar.gz raises the same warning). Thus, even though - ;; these warnings are severe enough that they would ordinarily abort - ;; compilation, for now we blithely ignore them and press on to more - ;; pressing problems. Someday, though, it would be nice to figure out - ;; what the problem is and fix it. (See the comments in - ;; src/compiler/x86/array for a candidate patch.) -- WHN 19990323 - :ignore-failure-p) + ("src/compiler/target/array") ("src/compiler/generic/array") ("src/compiler/target/pred") @@ -572,7 +596,6 @@ ("src/compiler/copyprop") ("src/compiler/represent") - ("src/compiler/generic/vm-tran") ("src/compiler/pack") ("src/compiler/codegen") ("src/compiler/debug") @@ -604,6 +627,7 @@ ("src/code/target-random" :not-host) ; needs "code/random" ("src/code/target-hash-table" :not-host) ; needs "code/hash-table" ("src/code/reader" :not-host) ; needs "code/readtable" + ("src/code/target-stream" :not-host) ; needs WHITESPACEP from "code/reader" ("src/code/target-pathname" :not-host) ; needs "code/pathname" ("src/code/filesys" :not-host) ; needs HOST from "code/pathname" ("src/code/save" :not-host) ; uses the definition of PATHNAME @@ -649,6 +673,10 @@ ;; DEFVAR or DEFPARAMETER. ("src/code/cl-specials") + ;; FIXME: here? earlier? can probably be as late as possible. Also + ;; maybe call it FORCE-DELAYED-PROCLAIMS? + ("src/compiler/late-proclaim") + ;; fundamental target macros (e.g. CL:DO and CL:DEFUN) and support ;; for them ("src/code/defboot")