Problems with 0.9.0 on alpha_osf
Eduardo Takahashi
takahasi+ at cs.cmu.edu
Mon May 19 15:36:56 PDT 1997
Was anyone successful in getting kaffe 0.9.0 to work on alpha_osf?
I had some minor problems to compile and then when I tried to
run things got worse :( I don't finish the initialization...
One bug identified so far:
- the table "sztable" from gc-mem.c wasn't completely filled,
some values were left with sztable[t].sz equal to zero because
the two loops (top down and bottom up) don't reach each other;
The patches to solve that and the compilation problems are attached.
- Eduardo
-------------- next part --------------
*** kaffe-0.9.0/packages/tjwassoc.co.uk/APIcore/lib/Makefile.in~ Thu May 01 03:11:12 1997
--- kaffe-0.9.0/packages/tjwassoc.co.uk/APIcore/lib/Makefile.in Thu May 15 16:26:31 1997
***************
*** 88,94 ****
OBJECT.UTIL=\
ResourceBundleStub$(OBJEXT) \
! ResourceBundle$(OBJEXT) \
OBJECT.UTIL.ZIP=\
Adler32Stub$(OBJEXT) \
--- 88,94 ----
OBJECT.UTIL=\
ResourceBundleStub$(OBJEXT) \
! ResourceBundle$(OBJEXT)
OBJECT.UTIL.ZIP=\
Adler32Stub$(OBJEXT) \
*** kaffe-0.9.0/config/alpha/jit.h~ Wed Apr 16 04:11:12 1997
--- kaffe-0.9.0/config/alpha/jit.h Mon May 19 09:06:20 1997
***************
*** 34,40 ****
/* Exception handling information. */
/**/
! extern struct _thread* currentThread;
/* Structure of exception frame on stack */
typedef struct _exceptionFrame {
--- 34,40 ----
/* Exception handling information. */
/**/
! extern struct Hjava_lang_Thread* currentThread;
/* Structure of exception frame on stack */
typedef struct _exceptionFrame {
*** kaffe-0.9.0/config/alpha/jit-alpha.def~ Wed Apr 16 04:11:11 1997
--- kaffe-0.9.0/config/alpha/jit-alpha.def Mon May 19 09:54:19 1997
***************
*** 2693,2699 ****
/* Urg. So many problems with changing offsets we do this the slow
way with offsets stuck in variables. */
! static const int offsetof_PrivateInfo = offsetof(thread, PrivateInfo);
static const int offsetof_exceptPtr = offsetof(ctx, exceptPtr);
asm(".text
--- 2693,2699 ----
/* Urg. So many problems with changing offsets we do this the slow
way with offsets stuck in variables. */
! static const int offsetof_PrivateInfo = offsetof(Hjava_lang_Thread, PrivateInfo);
static const int offsetof_exceptPtr = offsetof(ctx, exceptPtr);
asm(".text
*** kaffe-0.9.0/packages/tjwassoc.co.uk/APIcore/Makefile.in~ Wed Apr 16 04:11:43 1997
--- kaffe-0.9.0/packages/tjwassoc.co.uk/APIcore/Makefile.in Mon May 19 10:24:59 1997
***************
*** 17,23 ****
clean:
(cd lib ; $(MAKE) clean) || exit 1
! (cd classes ; $(MAKE) clean) || exit 1
distclean:
(cd lib ; $(MAKE) distclean) || exit 1
--- 17,23 ----
clean:
(cd lib ; $(MAKE) clean) || exit 1
! # (cd classes ; $(MAKE) clean) || exit 1
distclean:
(cd lib ; $(MAKE) distclean) || exit 1
*** kaffe-0.9.0/packages/tjwassoc.co.uk/APInet/Makefile.in~ Wed Apr 16 04:11:37 1997
--- kaffe-0.9.0/packages/tjwassoc.co.uk/APInet/Makefile.in Mon May 19 10:26:15 1997
***************
*** 17,23 ****
clean:
(cd lib; $(MAKE) clean)
! (cd classes; $(MAKE) clean)
distclean:
(cd lib; $(MAKE) distclean)
--- 17,23 ----
clean:
(cd lib; $(MAKE) clean)
! # (cd classes; $(MAKE) clean)
distclean:
(cd lib; $(MAKE) distclean)
*** kaffe-0.9.0/packages/tjwassoc.co.uk/APIagent/Makefile.in~ Wed Apr 16 04:12:25 1997
--- kaffe-0.9.0/packages/tjwassoc.co.uk/APIagent/Makefile.in Mon May 19 10:27:07 1997
***************
*** 17,23 ****
clean:
@(cd lib ; $(MAKE) clean) || exit 1
! @(cd classes ; $(MAKE) clean) || exit 1
distclean:
@(cd lib ; $(MAKE) distclean) || exit 1
--- 17,23 ----
clean:
@(cd lib ; $(MAKE) clean) || exit 1
! # @(cd classes ; $(MAKE) clean) || exit 1
distclean:
@(cd lib ; $(MAKE) distclean) || exit 1
*** kaffe-0.9.0/kaffe/kaffevm/gc-mem.c~ Thu May 15 04:21:25 1997
--- kaffe-0.9.0/kaffe/kaffevm/gc-mem.c Mon May 19 17:45:35 1997
***************
*** 74,79 ****
--- 74,81 ----
i <<= 1;
}
else {
+ for (t = l; t > MIN_OBJECT_SIZE; t--)
+ sztable[t].sz = l;
for (t = 0; t <= MIN_OBJECT_SIZE; t++) {
sztable[t].sz = MIN_OBJECT_SIZE;
}
More information about the kaffe
mailing list