Somme problems to generate Kaffe on SGI O2000
Tim Wilkinson
tim at transvirtual.com
Thu Nov 25 12:13:36 PST 1999
Bruno,
This is currently true - I'd welcome fixes to allow the pthreads module to
work on various different pthread systems (and not just glibc Linux).
Tim
On Thu, 25 Nov 1999, Godmar Back wrote:
>
>
> Bruno,
>
> Note that even though Tim chose to call it "unix-pthreads", it really
> only supports Xavier Leroy's linux-threads package. So don't
> even try it with any system's pthreads library but Linux's.
>
> I'd suspect a problem with your build tools. You may be trying to
> use the native compiler while kaffe expects to be built with gcc.
>
> Fixes for both problems (the linux-threads dependency and the GNU
> dependency) are of course welcome.
>
> - Godmar
>
> >
> >
> > Item Subject: Texte du message
> > Hello,
> >
> > I have some problems to generate Kaffe on SGI O2000 Irix 6.5
> >
> > I have done followings steps:
> > configure --disable-dependency-tracking --with-threads=unix-pthreads
> >
> > The compilation crash for the file:
> > kaffe-1.0.5/kaffe/kaffejvm/jit3/machine.c
> > this is due to pbs in ../../../config/mips/trampoline.c
> >
> > I joined the listing describing the problem.
> >
> > Please could you help me.
> >
> > Thank you very much by advance.
> >
> > Bruno CONCHE
> > Elf Exploration Production -
> > Seismic Treatment Research Project
> >
> > .......................................................................
> >
> > Item Subject: PBKAFFE
> > Making all in jit3
> > make.gnu.3.76.1[3]: Entering directory `/pcst2516_1/Appli/recherche/Packages/kaffe-1.0.5/kaffe/kaffevm/jit3'
> > /bin/sh ../../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../kaffe/kaffevm/systems/unix-pthreads -I.. -I./.. -DTRANSLATOR -DJIT3 -DKVER='"1.0.5"' -I/Appli/recherche/Packages/kaffe-1.0.5/./kaffe/kaffevm -I/Appli/recherche/Packages/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-pthreads -I../../../config -I../../../include -I/usr/local/include -g -c -o machine.lo machine.c
> > cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../kaffe/kaffevm/systems/unix-pthreads -I.. -I./.. -DTRANSLATOR -DJIT3 -DKVER=\"1.0.5\" -I/Appli/recherche/Packages/kaffe-1.0.5/./kaffe/kaffevm -I/Appli/recherche/Packages/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-pthreads -I../../../config -I../../../include -I/usr/local/include -g -c -DPIC machine.c -o machine.lo
> > "../../../config/mips/jit3-icode.h", line 109: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cmp_int cmp_RRR
> > ^
> >
> > "../../../config/mips/jit3-icode.h", line 110: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cmp_int_const cmp_RRC
> > ^
> >
> > "../../../config/mips/jit3-icode.h", line 111: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cmp_ref cmp_RRR
> > ^
> >
> > "../../../config/mips/jit3-icode.h", line 112: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cmp_ref_const cmp_RRC
> > ^
> >
> > "../../../config/mips/jit3-icode.h", line 137: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cvt_int_double cvtid_RRx
> > ^
> >
> > "../../../config/mips/jit3-icode.h", line 138: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cvt_int_float cvtif_RRx
> > ^
> >
> > "../../../config/mips/jit3-icode.h", line 169: warning(1014): extra text after
> > expected end of preprocessing directive
> > #undef HAVE_cmp_int_const_rangecheck(v) __intconst_rangecheck(v)
> > ^
> >
> > "machine.c", line 169: warning(1048): cast between pointer-to-object and
> > pointer-to-function
> > SET_METHOD_NATIVECODE(xmeth, (nativecode*)nullCall);
> > ^
> >
> > "kaffe-jit.def", line 12: warning(1110): statement is unreachable
> > define_insn(NOP)
> > ^
> >
> > "../../../config/mips/trampolines.c", line 34: error(1008): missing closing
> > quote
> > asm("
> > ^
> >
> > "../../../config/mips/trampolines.c", line 34: error(1079): expected a type
> > specifier
> > asm("
> > ^
> >
> > "../../../config/mips/trampolines.c", line 35: error(1007): unrecognized token
> > .text \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 36: error(1007): unrecognized token
> > .align 4 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 37: error(1007): unrecognized token
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 37: warning(1012): parsing restarts
> > here after previous syntax error
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 37: error(1079): expected a type
> > specifier
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 37: error(1007): unrecognized token
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 37: error(1007): unrecognized token
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 38: error(1007): unrecognized token
> > l1: .word " C_FUNC_NAME(soft_fixup_trampoline) " \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 39: error(1007): unrecognized token
> > .globl mips_do_fixup_trampoline \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 40: error(1007): unrecognized token
> > .ent mips_do_fixup_trampoline \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 41: error(1007): unrecognized token
> > mips_do_fixup_trampoline: \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 42: error(1007): unrecognized token
> > addi $sp, $sp, -48 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 42: warning(1012): parsing restarts
> > here after previous syntax error
> > addi $sp, $sp, -48 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 42: error(1007): unrecognized token
> > addi $sp, $sp, -48 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 42: error(1079): expected a type
> > specifier
> > addi $sp, $sp, -48 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 42: error(1079): expected a type
> > specifier
> > addi $sp, $sp, -48 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 42: error(1007): unrecognized token
> > addi $sp, $sp, -48 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 43: error(1011): unrecognized
> > preprocessing directive
> > # needed by the backtracer \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 44: error(1007): unrecognized token
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 44: error(1079): expected a type
> > specifier
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 44: error(1007): unrecognized token
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 44: error(1007): unrecognized token
> > sw $31, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 45: error(1007): unrecognized token
> > sw $2, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 45: error(1079): expected a type
> > specifier
> > sw $2, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 45: error(1007): unrecognized token
> > sw $2, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 45: error(1007): unrecognized token
> > sw $2, 0($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 46: error(1007): unrecognized token
> > sw $4, 8($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 46: error(1079): expected a type
> > specifier
> > sw $4, 8($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 46: error(1007): unrecognized token
> > sw $4, 8($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 46: error(1007): unrecognized token
> > sw $4, 8($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 47: error(1007): unrecognized token
> > sw $5, 12($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 47: error(1079): expected a type
> > specifier
> > sw $5, 12($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 47: error(1007): unrecognized token
> > sw $5, 12($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 47: error(1007): unrecognized token
> > sw $5, 12($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 48: error(1007): unrecognized token
> > sw $6, 16($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 48: error(1079): expected a type
> > specifier
> > sw $6, 16($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 48: error(1007): unrecognized token
> > sw $6, 16($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 48: error(1007): unrecognized token
> > sw $6, 16($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 49: error(1007): unrecognized token
> > sw $7, 20($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 49: error(1079): expected a type
> > specifier
> > sw $7, 20($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 49: error(1007): unrecognized token
> > sw $7, 20($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 49: error(1007): unrecognized token
> > sw $7, 20($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 50: error(1007): unrecognized token
> > swc1 $f13, 24($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 50: error(1079): expected a type
> > specifier
> > swc1 $f13, 24($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 50: error(1007): unrecognized token
> > swc1 $f13, 24($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 50: error(1007): unrecognized token
> > swc1 $f13, 24($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 51: error(1007): unrecognized token
> > swc1 $f12, 28($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 51: error(1079): expected a type
> > specifier
> > swc1 $f12, 28($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 51: error(1007): unrecognized token
> > swc1 $f12, 28($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 51: error(1007): unrecognized token
> > swc1 $f12, 28($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 52: error(1007): unrecognized token
> > swc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 52: error(1079): expected a type
> > specifier
> > swc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 52: error(1007): unrecognized token
> > swc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 52: error(1007): unrecognized token
> > swc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 53: error(1007): unrecognized token
> > swc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 53: error(1079): expected a type
> > specifier
> > swc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 53: error(1007): unrecognized token
> > swc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 53: error(1007): unrecognized token
> > swc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 54: error(1007): unrecognized token
> > sw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 54: error(1079): expected a type
> > specifier
> > sw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 54: error(1007): unrecognized token
> > sw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 54: error(1007): unrecognized token
> > sw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 55: error(1007): unrecognized token
> > sw $gp, 4($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 55: error(1079): expected a type
> > specifier
> > sw $gp, 4($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 55: error(1007): unrecognized token
> > sw $gp, 4($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 55: error(1007): unrecognized token
> > sw $gp, 4($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 56: error(1011): unrecognized
> > preprocessing directive
> > # $fp = $sp \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 57: error(1007): unrecognized token
> > move $30, $sp \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 57: error(1007): unrecognized token
> > move $30, $sp \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 57: error(1079): expected a type
> > specifier
> > move $30, $sp \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 57: error(1007): unrecognized token
> > move $30, $sp \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 58: error(1007): unrecognized token
> > lw $4, 0($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 58: error(1079): expected a type
> > specifier
> > lw $4, 0($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 58: error(1007): unrecognized token
> > lw $4, 0($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 58: error(1007): unrecognized token
> > lw $4, 0($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 59: error(1007): unrecognized token
> > lw $5, 4($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 59: error(1079): expected a type
> > specifier
> > lw $5, 4($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 59: error(1007): unrecognized token
> > lw $5, 4($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 59: error(1007): unrecognized token
> > lw $5, 4($31) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 60: error(1007): unrecognized token
> > lw $25, -4($25) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 60: error(1079): expected a type
> > specifier
> > lw $25, -4($25) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 60: error(1007): unrecognized token
> > lw $25, -4($25) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 60: error(1007): unrecognized token
> > lw $25, -4($25) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 61: error(1007): unrecognized token
> > jalr $25 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 61: error(1007): unrecognized token
> > jalr $25 \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 62: error(1007): unrecognized token
> > nop \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 63: error(1007): unrecognized token
> > lw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 63: warning(1012): parsing restarts
> > here after previous syntax error
> > lw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 63: error(1079): expected a type
> > specifier
> > lw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 63: error(1007): unrecognized token
> > lw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 63: error(1007): unrecognized token
> > lw $30, 40($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 64: error(1007): unrecognized token
> > lwc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 64: error(1079): expected a type
> > specifier
> > lwc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 64: error(1007): unrecognized token
> > lwc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 64: error(1007): unrecognized token
> > lwc1 $f14, 36($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 65: error(1007): unrecognized token
> > lwc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 65: error(1079): expected a type
> > specifier
> > lwc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 65: error(1007): unrecognized token
> > lwc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 65: error(1007): unrecognized token
> > lwc1 $f15, 32($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 66: error(1007): unrecognized token
> > lwc1 $f12, 28($sp) \n
> > ^
> >
> > "../../../config/mips/trampolines.c", line 66: error(1079): expected a type
> > specifier
> > lwc1 $f12, 28($sp) \n
> > ^
> >
> > Error limit reached.
> > 100 errors detected in the compilation of "machine.c".
> > Compilation terminated.
> > make.gnu.3.76.1[3]: *** [machine.lo] Error 1
> > make.gnu.3.76.1[3]: Leaving directory `/pcst2516_1/Appli/recherche/Packages/kaffe-1.0.5/kaffe/kaffevm/jit3'
> > make.gnu.3.76.1[2]: *** [all-recursive] Error 1
> > make.gnu.3.76.1[2]: Leaving directory `/pcst2516_1/Appli/recherche/Packages/kaffe-1.0.5/kaffe/kaffevm'
> > make.gnu.3.76.1[1]: *** [all-recursive] Error 1
> > make.gnu.3.76.1[1]: Leaving directory `/pcst2516_1/Appli/recherche/Packages/kaffe-1.0.5/kaffe'
> > make.gnu.3.76.1: *** [all-recursive] Error 1
> > **********************************************************************
> > **********************************************************************
> >
>
More information about the kaffe
mailing list