Kio,

To bootstrap with the latest darcs change this line:
./Factor/core/cpu/x86/32/32.factor 254
-4 <x86-backend> compiler-backend set-global
+T{ x86-backend f 4 } compiler-backend set-global

Similarly for 64bit:
./Factor/core/cpu/x86/64/64.factor
-8 <x86-backend> compiler-backend set-global
+T{ x86-backend f 8 } compiler-backend set-global

Or could pull my last patch from:  http://spitspat.org/repos

Doug

On Aug 13, 2007, at 8:09 AM, [EMAIL PROTECTED] wrote:

Hi,

I am just a beginner trying to learn Factor and my first hurdle has been to try and get it working on my machine. Unfortunately I am not very clued up in
how to interpret the compiler error messages.

I am having trouble compiling the boot.image.amd64 on my Intel x86_64 machine:
$uname -a
Linux firestorm 2.6.22-ARCH #1 SMP PREEMPT Thu Aug 2 17:32:20 UTC 2007 x86_64
Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz GenuineIntel GNU/Linux

The output from the compiler looks like this:
./factor -i=boot.image.amd64
*** Data GC (0 minor, 0 cards)
Loading P" resource:core/bootstrap/boot-stage2.factor"
Cross-referencing...
Compiling number=
Compiling >bignum
Compiling delegate
Compiling no-method
Compiling /i
Compiling no-math-method
Compiling *
Compiling <
Compiling >float
Compiling neg
Compiling -
Compiling gcd
Compiling zero?
Compiling integer?
Compiling /mod
Compiling +
You have triggered a bug in Factor. Please report.
critical_error: GC disabled 0
Starting low level debugger...
  Basic commands:
q                -- continue executing Factor - NOT SAFE
im               -- save image to fep.image
x                -- exit Factor
  Advanced commands:
d <addr> <count> -- dump memory
u <addr>         -- dump object at tagged <addr>
. <addr>         -- print object at tagged <addr>
s r              -- dump data, retain stacks
.s .r .c         -- print data, retain, call stacks
i                -- dump interpreter state
e                -- dump environment
g                -- dump generations
card <addr>      -- print card containing address
addr <card>      -- print address containing card
code             -- code heap dump
READY

I have saved the current image to fep.image and would be happy to send it
whenever.

I also tried to use Factor-0.90 from darcs and the latest image but it gave me
a different error when trying to create the factor.image:
./factor -i=boot.x86.64.image
*** Data GC (0 minor, 0 cards)
Loading P" resource:core/bootstrap/stage2.factor"
Loading P" resource:core/command-line/command-line.factor"
Cross-referencing...
Loading P" resource:core/bootstrap/math/math.factor"
Loading P" resource:core/math/ratios/ratios.factor"
Loading P" resource:core/math/functions/functions.factor"
Loading P" resource:core/math/constants/constants.factor"
Loading P" resource:core/math/libm/libm.factor"
Loading P" resource:core/math/floats/floats.factor"
Loading P" resource:core/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/math/vectors/vectors.factor"
Loading P" resource:core/generator/generator.factor"
Loading P" resource:core/inference/inference.factor"
Loading P" resource:core/inference/known-words/known-words.factor"
Note: (math.private iterate-next) shadowed by (inference.dataflow iterate-next)
Loading P" resource:core/inference/stack/stack.factor"
Loading P" resource:core/inference/transforms/transforms.factor"
Loading P" resource:core/math/bitfields/bitfields.factor"
Loading P" resource:core/inference/errors/errors.factor"
Loading P" resource:core/generator/fixup/fixup.factor"
Loading P" resource:core/cpu/architecture/architecture.factor"
Loading P" resource:core/generator/registers/registers.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/pattern-match/pattern-match.factor"
Loading P" resource:core/optimizer/known-words/known-words.factor"
Note: (inference.dataflow iterate-next) shadowed by (math.private iterate-next)
Loading P" resource:core/optimizer/math/math.factor"
Note: (math.private iterate-next) shadowed by (inference.dataflow iterate-next)
Loading P" resource:core/threads/threads.factor"
Loading P" resource:core/queues/queues.factor"
Loading P" resource:core/alien/compiler/compiler.factor"
Loading P" resource:core/alien/arrays/arrays.factor"
Loading P" resource:core/alien/c-types/c-types.factor"
Loading P" resource:core/libc/libc.factor"
Loading P" resource:core/alien/structs/structs.factor"
Loading P" resource:core/alien/syntax/syntax.factor"
Loading P" resource:core/alien/remote-control/remote-control.factor"
Loading P" resource:core/cpu/x86/64/64.factor"
Loading P" resource:core/cpu/x86/assembler/assembler.factor"
Loading P" resource:core/cpu/x86/architecture/architecture.factor"
Loading P" resource:core/cpu/x86/intrinsics/intrinsics.factor"
Loading P" resource:core/cpu/x86/allot/allot.factor"
Note: (cpu.x86.assembler callable?) shadowed by (quotations callable?)
Note: (cpu.x86.assembler callable) shadowed by (quotations callable)
Loading P" resource:core/cpu/x86/sse2/sse2.factor"
Note: (cpu.x86.assembler callable?) shadowed by (quotations callable?)
Note: (cpu.x86.assembler callable) shadowed by (quotations callable)
P" resource:core/cpu/x86/64/64.factor":176
8 <x86-backend> compiler-backend set-global
               ^
Word not found in current vocabulary search path
no-word-name "<x86-backend>"

The following restarts are available:

:1    Load resource:core/cpu/x86/64/64.factor again

Debugger commands:

:help - documentation for this error
:s    - data stack at exception time
:r    - retain stack at exception time
:c    - call stack at exception time
:edit - jump to source location (parse errors only)
:get  ( var -- value ) accesses variables at time of the error
Loading P" resource:core/listener/listener.factor"
Factor 0.90 on linux/x86.64

Any ideas what I can try next?

Thanks,
Kio


---------------------------------------------------------------------- ---
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to