Hi!
The current build of factor requires SSE3 which my current box does
not have so I tried to botstrap the image and it broke, apparantly for
the same reason :)
I'm quite new to the language so I think my fixing it would not be
that efficient :)
so here's the trace (just in case I'm including the whole thing):
Loading vocab:bootstrap/bootstrap-error.factor
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
millis default-image-name "output-image" set-global
"math compiler threads help io tools ui ui.tools unicode handbook"
"include" set-global "" "exclude" set-global
strip-encodings (command-line) parse-command-line os wince?
[ "windows.ce" require ] when os winnt?
[ "windows.nt" require ] when
"staging" get "deploy-vocab" get or
[ "stage2: deployment mode" print ] [
"debugger" require "inspector" require
"tools.errors" require "listener" require
"none" require
] if load-components -> millis over -
core-bootstrap-time set-global
run-bootstrap-init f error set-global
f error-continuation set-global millis swap -
bootstrap-time set-global print-report "deploy-vocab" get
[ "tools.deploy.shaker" run ] [
"staging" get ~quotation~ ~quotation~ if
"output-image" get save-image-and-exit
] if
]
[ iterate-step -> iterate-next (each-integer) ]
[ -roll [ call ] 3dip -> ]
[ load-vocab -> drop ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ <from> -> (add-qualified) ]
[ (from) -> extract-words from boa ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ iterate-step -> iterate-next (each-integer) ]
[ -roll [ call ] 3dip -> ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ [ load-vocab ] dip -> search-vocabs>> push ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ iterate-step -> iterate-next (each-integer) ]
[ -roll [ call ] 3dip -> ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ [ load-vocab ] dip -> search-vocabs>> push ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ iterate-step -> iterate-next (each-integer) ]
[ -roll [ call ] 3dip -> ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ [ load-vocab ] dip -> search-vocabs>> push ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ iterate-step -> iterate-next (each-integer) ]
[ -roll [ call ] 3dip -> ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ [ load-vocab ] dip -> search-vocabs>> push ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ iterate-step -> iterate-next (each-integer) ]
[ -roll [ call ] 3dip -> ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ [ load-vocab ] dip -> search-vocabs>> push ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ swap >c call -> c> drop ]
[
dup source-loaded?>> [ dup load-source ] unless
-> dup docs-loaded?>> [ dup load-docs ] unless
]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[
+parsing+ >>source-loaded? dup vocab-source-path
[ parse-file ] [ ~quotation~ ] if* ->
[ +parsing+ >>source-loaded? ] dip
[ % ] [ (( -- )) call-effect ] if-bootstrapping
+done+ >>source-loaded? drop
]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ [ compose ~quotation~ curry recover ] [ drop ] 2bi -> call ]
[ [ 2keep ] dip -> call ]
[ -rot [ call ] 2dip -> ]
[ swap >c call -> c> drop ]
[ swap >n call -> ndrop ]
[ swap >c call -> c> drop ]
[
stream-lines dup parse-fresh ->
[ nip ] [ finish-parsing ] 2bi forget-smudged
]
[ swap >n call -> ndrop ]
[
parse-lines -> auto-used?
[ print-use-hook get (( -- )) call-effect ] when
]
[ swap >c call -> c> drop ]
[ f parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ (:) -> define-declared ]
[ CREATE-WORD complete-effect parse-definition -> swap ]
[ \ ; parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[ nip execute-parsing -> t ]
[
[ ~quotation~ dip dip ] dip ->
[ in>> length ] [ out>> length ] [ ] tri
[ check-datastack ] dip [ wrong-values ] curry unless
]
[ swap [ call ] dip -> ]
[ parse-quotation -> parsed ]
[ \ ] parse-until -> >quotation ]
[ [ parse-step ] keep -> swap [ (parse-until) ] [ drop ] if ]
[ over [ call ] dip -> ]
[
scan-word ->
{ ~array~ ~array~ ~array~ ~array~ ~quotation~ } cond
]
[ <no-word-error> throw-restarts -> no-word-restarted ]
[ [ <condition> throw ] callcc1 -> 2nip ]
[
63 getenv error-thread set-global
continuation -> error-continuation set-global rethrow
]
resource:basis/bootstrap/compiler/compiler.factor
10: FROM: compiler => enable-optimizer ;
^
resource:basis/compiler/compiler.factor
20: compiler.codegen ;
^
resource:basis/compiler/tree/optimizer/optimizer.factor
16: compiler.tree.checker ;
^
resource:basis/compiler/tree/propagation/propagation.factor
13: compiler.tree.propagation.known-words ;
^
resource:basis/compiler/tree/propagation/simple/simple.factor
13: compiler.tree.propagation.constraints ;
^
resource:basis/compiler/tree/propagation/inlining/inlining.factor
14: compiler.tree.propagation.nodes ;
^
resource:basis/math/partial-dispatch/partial-dispatch.factor
150: [ drop math-class-max swap specific-method >boolean ] if ;
^
No word named ``specific-method'' found in current vocabulary search path
The following restarts are available:
:1 Defer word in current vocabulary
:2 Load resource:basis/math/partial-dispatch/partial-dispatch.factor again
:3 Load resource:basis/compiler/tree/propagation/inlining/inlining.factor aga
in
4 :res Load resource:basis/compiler/tree/propagation/simple/simple.factor again
5 :res Load resource:basis/compiler/tree/propagation/propagation.factor again
6 :res Load resource:basis/compiler/tree/optimizer/optimizer.factor again
7 :res Load resource:basis/compiler/compiler.factor again
8 :res Load resource:basis/bootstrap/compiler/compiler.factor again
( scratchpad )
--
Alex.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk