$ gcc -v Using built-in specs. Target: powerpc-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-softfloat --enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu Thread model: posix gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) $ uname -a Linux green 2.6.15-23-powerpc #1 Tue May 23 13:46:54 UTC 2006 ppc GNU/Linux $ make linux-ppc make factor CONFIG=vm/Config.linux.ppc make[1]: Entering directory `/home/janderson/factor/factor' gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/os-unix.o vm/os-unix.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/os-genunix.o vm/os-genunix.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/os-linux.o vm/os-linux.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/cpu-ppc.o vm/cpu-ppc.S gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/alien.o vm/alien.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/bignum.o vm/bignum.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/code_heap.o vm/code_heap.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/debug.o vm/debug.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/factor.o vm/factor.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/ffi_test.o vm/ffi_test.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/image.o vm/image.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/io.o vm/io.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/math.o vm/math.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/data_gc.o vm/data_gc.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/code_gc.o vm/code_gc.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/primitives.o vm/primitives.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/run.o vm/run.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/callstack.o vm/callstack.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/types.o vm/types.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/quotations.o vm/quotations.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/utilities.o vm/utilities.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/errors.o vm/errors.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/profiler.o vm/profiler.c gcc -c -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o vm/main-unix.o vm/main-unix.c ar rcs libfactor.a vm/os-unix.o vm/os-genunix.o vm/os-linux.o vm/cpu-ppc.o vm/alien.o vm/bignum.o vm/code_heap.o vm/debug.o vm/factor.o vm/ffi_test.o vm/image.o vm/io.o vm/math.o vm/data_gc.o vm/code_gc.o vm/primitives.o vm/run.o vm/callstack.o vm/types.o vm/quotations.o vm/utilities.o vm/errors.o vm/profiler.o gcc -ldl -lm -lpthread -lfreetype -lGL -lGLU -lX11 -L/usr/X11R6/lib -L. -Wl,--whole-archive -lfactor -Wl,-no-whole-archive \ -Wall -O3 -fomit-frame-pointer -export-dynamic -mregnames -o factor vm/main-unix.o make[1]: Leaving directory `/home/janderson/factor/factor' $ md5sum boot.linux-ppc.image 7f2bedb47ccb5ea480c1dffd12ad1705 boot.linux-ppc.image $ ./factor -i=boot.linux-ppc.image *** Stage 2 early init... done Loading P" resource:core/bootstrap/stage2.factor" Loading P" resource:core/command-line/command-line.factor" Cross-referencing... Loading P" resource:core/listener/listener.factor" Loading P" resource:core/none/none.factor" Loading P" resource:extra/bootstrap/math/math.factor" Loading P" resource:extra/math/ratios/ratios.factor" Loading P" resource:extra/math/functions/functions.factor" Loading P" resource:extra/math/constants/constants.factor" Loading P" resource:extra/math/libm/libm.factor" Loading P" resource:extra/math/complex/complex.factor" Loading P" resource:core/bootstrap/compiler/compiler.factor" Loading P" resource:core/compiler/compiler.factor" Loading P" resource:core/inference/backend/backend.factor" Loading P" resource:core/inference/dataflow/dataflow.factor" Loading P" resource:core/math/intervals/intervals.factor" Loading P" resource:core/inference/state/state.factor" Loading P" resource:core/generator/generator.factor" Loading P" resource:core/cpu/architecture/architecture.factor" Loading P" resource:core/generator/fixup/fixup.factor" Loading P" resource:core/alien/strings/strings.factor" Loading P" resource:core/alien/c-types/c-types.factor" Loading P" resource:core/io/streams/memory/memory.factor" Loading P" resource:core/io/encodings/utf16/utf16.factor" Loading P" resource:core/math/bitfields/bitfields.factor" Loading P" resource:core/generator/registers/registers.factor" Loading P" resource:core/inference/inference.factor" Loading P" resource:core/inference/known-words/known-words.factor" Loading P" resource:core/inference/transforms/transforms.factor" Loading P" resource:core/inference/errors/errors.factor" Loading P" resource:core/optimizer/optimizer.factor" Loading P" resource:core/optimizer/backend/backend.factor" Loading P" resource:core/inference/class/class.factor" Loading P" resource:core/optimizer/def-use/def-use.factor" Loading P" resource:core/optimizer/known-words/known-words.factor" Loading P" resource:core/optimizer/pattern-match/pattern-match.factor" Loading P" resource:core/optimizer/inlining/inlining.factor" Loading P" resource:core/optimizer/math/partial/partial.factor" Loading P" resource:core/optimizer/specializers/specializers.factor" Loading P" resource:core/optimizer/control/control.factor" Loading P" resource:core/optimizer/math/math.factor" Loading P" resource:core/optimizer/collect/collect.factor" Loading P" resource:core/alien/compiler/compiler.factor" Loading P" resource:core/alien/arrays/arrays.factor" Loading P" resource:core/alien/structs/structs.factor" Loading P" resource:core/alien/syntax/syntax.factor" Loading P" resource:core/search-dequeues/search-dequeues.factor" Loading P" resource:core/alien/remote-control/remote-control.factor" Loading P" resource:core/cpu/ppc/ppc.factor" Loading P" resource:core/cpu/ppc/architecture/architecture.factor" Loading P" resource:core/cpu/ppc/assembler/assembler.factor" Loading P" resource:core/compiler/constants/constants.factor" Loading P" resource:core/cpu/ppc/intrinsics/intrinsics.factor" Loading P" resource:core/cpu/ppc/allot/allot.factor" [ swap >c call -> c> drop ] [ [ dup parse-file call ] assert-depth -> drop ] [ >r datastack r> dip -> >r datastack r> 2dup [ length ] compare { { +lt+ [ trim-datastacks nip relative-underflow ] } { +eq+ [ 2drop ] } { +gt+ [ trim-datastacks drop relative-overflow ] } } case ] [ >r call -> r> ] [ millis >r default-image-name "output-image" set-global "math compiler help io random tools ui ui.tools unicode handbook" "include" set-global "" "exclude" set-global parse-command-line "-no-crossref" cli-args member? [ do-crossref ] unless os wince? [ "windows.ce" require ] when os winnt? [ "windows.nt" require ] when "deploy-vocab" get [ "stage2: deployment mode" print ] [ "listener" require "none" require ] if [ load-components run-bootstrap-init ] with-compiler-errors -> :errors f error set-global f error-continuation set-global "deploy-vocab" get [ "tools.deploy.shaker" run ] [ [ boot do-init-hooks [ parse-command-line run-user-init "run" get run output-stream get [ stream-flush ] when* ] [ print-error 1 exit ] recover ] set-boot-quot millis r> - dup bootstrap-time set-global print-report "output-image" get save-image-and-exit ] if ] [ H{ } clone >n call -> ndrop ] [ over >r compose [ dip rethrow ] curry recover -> r> call ] [ swap >c call -> c> drop ] [ load-components -> run-bootstrap-init ] [ iterate-step -> iterate-next (each-integer) ] [ swap >r 2dup 2slip -> r> swap ] [ >r >r call -> r> r> ] [ load-vocab -> drop ] [ dup load-vocab-hook get call -> vocab ] [ swap >c call -> c> drop ] [ dup vocab-source-loaded? [ dup load-source ] unless -> dup vocab-docs-loaded? [ dup load-docs ] unless drop ] [ "deploy-vocab" get [ "alien.remote-control" require ] unless "cpu." cpu name>> append require -> enable-compiler nl "Compiling..." write flush { roll -roll declare not array? hashtable? vector? tuple? sbuf? node? tombstone? array-capacity array-nth set-array-nth wrap probe namestack* } compile-uncompiled "." write flush { bitand bitor bitxor bitnot } compile-uncompiled "." write flush { + 1+ 1- 2/ < <= > >= shift } compile-uncompiled "." write flush { new-sequence nth push pop peek } compile-uncompiled "." write flush { hashcode* = get set } compile-uncompiled "." write flush { . lines } compile-uncompiled "." write flush { malloc calloc free memcpy } compile-uncompiled vocabs [ words compile-uncompiled "." write flush ] each " done" print flush ] [ load-vocab -> drop ] [ dup load-vocab-hook get call -> vocab ] [ swap >c call -> c> drop ] [ dup vocab-source-loaded? [ dup load-source ] unless -> dup vocab-docs-loaded? [ dup load-docs ] unless drop ] [ [ source-wasn't-loaded ] [ vocab-source-path [ parse-file ] [ [ ] ] if* ] [ source-was-loaded ] tri -> [ % ] [ call ] if-bootstrapping ] [ >r >r keep r> keep -> r> call ] [ >r call -> r> ] [ swap >c call -> c> drop ] [ H{ } clone >n call -> ndrop ] [ over >r compose [ dip rethrow ] curry recover -> r> call ] [ swap >c call -> c> drop ] [ H{ } clone >n call -> ndrop ] [ swap >c call -> c> drop ] [ lines dup parse-fresh -> tuck finish-parsing forget-smudged ] [ H{ } clone >n call -> ndrop ] [ swap >c call -> c> drop ] [ f parse-until -> >quotation ] [ dup >r parse-step -> [ r> (parse-until) ] [ r> drop ] if ] [ nip execute-parsing -> t ] [ iterate-step -> iterate-next (each-integer) ] [ swap >r 2dup 2slip -> r> swap ] [ >r >r call -> r> r> ] [ load-vocab -> (use+) ] [ dup load-vocab-hook get call -> vocab ] [ swap >c call -> c> drop ] [ dup vocab-source-loaded? [ dup load-source ] unless -> dup vocab-docs-loaded? [ dup load-docs ] unless drop ] [ [ source-wasn't-loaded ] [ vocab-source-path [ parse-file ] [ [ ] ] if* ] [ source-was-loaded ] tri -> [ % ] [ call ] if-bootstrapping ] [ >r >r keep r> keep -> r> call ] [ >r call -> r> ] [ swap >c call -> c> drop ] [ H{ } clone >n call -> ndrop ] [ over >r compose [ dip rethrow ] curry recover -> r> call ] [ swap >c call -> c> drop ] [ H{ } clone >n call -> ndrop ] [ swap >c call -> c> drop ] [ lines dup parse-fresh -> tuck finish-parsing forget-smudged ] [ H{ } clone >n call -> ndrop ] [ swap >c call -> c> drop ] [ f parse-until -> >quotation ] [ dup >r parse-step -> [ r> (parse-until) ] [ r> drop ] if ] [ nip execute-parsing -> t ] [ >r parse-until -> r> call parsed ] [ dup >r parse-step -> [ r> (parse-until) ] [ r> drop ] if ] [ scan-word -> { { [ 2dup eq? ] [ 2drop f ] } { [ dup not ] [ drop unexpected-eof t ] } { [ dup delimiter? ] [ unexpected t ] } { [ dup parsing-word? ] [ nip execute-parsing t ] } [ pick push drop t ] } cond ] [ dup no-word-error boa swap words-named [ forward-reference? not ] filter word-restarts throw-restarts -> dup vocabulary>> (use+) ] [ [ <condition> throw ] callcc1 -> 2nip ] [ self error-thread set-global continuation -> error-continuation set-global rethrow ] P" resource:core/cpu/ppc/ppc.factor" 2: namespaces alien.c-types kernel system combinators ; ^ P" resource:core/cpu/ppc/intrinsics/intrinsics.factor" 441: tuple "layout" get size>> 2 + cells %allot ^ T{ no-word-error f "size>>" } The following restarts are available: :1 Use the word IN: accessors GENERIC: size>> ( object -- value ) :2 Load resource:core/cpu/ppc/intrinsics/intrinsics.factor again :3 Load resource:core/cpu/ppc/ppc.factor again ( scratchpad )
Pastie