[kaffe] assert split patch and results
Helmer Krämer
hkraemer at freenet.de
Mon Oct 25 04:23:45 PDT 2004
On Mon, 25 Oct 2004 10:29:53 +0000 (UTC)
Riccardo <zuse at libero.it> wrote:
Hi,
> now the result is
> gmake[6]: Entering directory `/home/multix/kaffe-cvs/netbsd-intrp-
> jthread/test/regression'
> PASS: HelloWorldApp.class.save
> error compiling:
> assertion "size != 0" failed: file "../../../../kaffe/kaffe/kaffevm/
> kaffe-gc/gc-incremental.c", line 1037, function "gcMalloc"
> TestScript: line 1: 9531 Abort trap (core dumped) /home/
> multix/kaf
Could you probably try whether the attached patch
fixes something?
Thanks,
Helmer
-------------- next part --------------
Index: config/powerpc/common.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/powerpc/common.h,v
retrieving revision 1.7
diff -u -r1.7 common.h
--- config/powerpc/common.h 23 Jul 2004 16:50:50 -0000 1.7
+++ config/powerpc/common.h 25 Oct 2004 11:24:05 -0000
@@ -18,6 +18,12 @@
#define NEED_STACK_ALIGN
#define STACK_ALIGN(p) ((((unsigned long)(p)) & 15) ^ (unsigned long)(p))
+/* This define will cause callMethodV and callMethodA to avoid
+ introducing unused slots after jlongs and jdoubles. */
+#ifndef NO_HOLES
+# define NO_HOLES 1
+#endif
+
#if defined(NEED_sysdepCallMethod)
#include "sysdepCallMethod.h"
#endif /* defined(NEED_sysdepCallMethod) */
Index: config/powerpc/sysdepCallMethod.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/powerpc/sysdepCallMethod.h,v
retrieving revision 1.5
diff -u -r1.5 sysdepCallMethod.h
--- config/powerpc/sysdepCallMethod.h 21 Aug 2004 16:32:43 -0000 1.5
+++ config/powerpc/sysdepCallMethod.h 25 Oct 2004 11:24:05 -0000
@@ -16,13 +16,6 @@
/* Needed for callMethodInfo declaration */
#include "support.h"
-/* This define will cause callMethodV and callMethodA to avoid
- introducing unused slots after jlongs and jdoubles. */
-#ifndef NO_HOLES
-# define NO_HOLES 1
-#endif
-
-
/* ARG_TYPE is the type of a register used for passing arguments. */
#define ARG_TYPE long
More information about the kaffe
mailing list