Hi.

When I try to compile neko (latest version from CVS) I get the following errors:

mkdir bin 2>/dev/null
make: [createbin] Error 1 (ignored)
cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm -DCOMPACT_TABLE -pthread -o
vm/alloc.o -c vm/alloc.c cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm
-DCOMPACT_TABLE -pthread -o vm/builtins.o -c vm/builtins.c cc -Wall -O3 -fPIC
-fomit-frame-pointer -I vm -DCOMPACT_TABLE -pthread -o vm/callback.o -c
vm/callback.c vm/callback.c: In function `neko_val_callEx': vm/callback.c:43:
warning: variable `ret' might be clobbered by `longjmp' or `vfork' cc -Wall -O3
-fPIC -fomit-frame-pointer -I vm -DCOMPACT_TABLE -pthread -o vm/context.o -c
vm/context.c cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm -DCOMPACT_TABLE
-pthread -o vm/interp.o -c vm/interp.c vm/interp.c: In function `interp_loop':
vm/interp.c:988: fixed or forbidden register 0 (ax) was spilled for class
GENERAL_REGS. vm/interp.c:988: This may be due to a compiler bug or to
impossible asm vm/interp.c:988: statements or clauses. vm/interp.c:988: This is
the instruction: (insn 7525 7524 7529 (set (mem:SI (plus:SI (plus:SI (mult:SI
(reg/v:SI 1171) (const_int 4 [0x4]))
                    (reg/v:SI 1173))
                (const_int 4 [0x4])) 0)
        (reg:SI 1174)) 47 {movsi+1} (insn_list 7524 (nil))
    (expr_list:REG_DEAD (reg:SI 1174)
        (nil)))
make: *** [vm/interp.o] Error 1

I have gc6.7 installed (in /usr/local), which compiled without problems.
Could it be that my glibc (glibc-2.2.5) is too old? Does neko only compile
with glibc > 2.3?

-- 
Andreas Mokros
[EMAIL PROTECTED]

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to