2002/09/23 23:49:05
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:33 +0000 (06:50 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:33 +0000 (06:50 +0000)
darcs-hash:20040130065033-2ba56-a56be1f885dd8dd0e03ed8d325eb06eae7644858.gz

README

diff --git a/README b/README
index 8d202f5..9a24a92 100644 (file)
--- a/README
+++ b/README
@@ -93,6 +93,10 @@ The following targets do not require that you specify a platform:
 ______________________________________________________________________________
 Building
 
 ______________________________________________________________________________
 Building
 
+- WARNING: Jikes 1.16 has a bug which will cause it to generate
+  corrupt .class files; you must downgrade to 1.15 in order to compile
+  XWT.
+
 - If you only want to build the JVM version of XWT, delete these three
   files:
 
 - If you only want to build the JVM version of XWT, delete these three
   files:
 
@@ -114,9 +118,10 @@ Building
   without it, however, since it puts additional strain on the gcc cvs
   server.
 
   without it, however, since it puts additional strain on the gcc cvs
   server.
 
-  There are also two patches at the end of this file which can be
+  There are also three patches at the end of this file which can be
   applied to the branch -- the first fixes an inet_addr() bug on
   applied to the branch -- the first fixes an inet_addr() bug on
-  Win32, the second enables stack traces.
+  Win32, the second fixes a garbage collector bug, and the third
+  enables stack traces.
 
   # create an install area
   export CLASSPATH=
 
   # create an install area
   export CLASSPATH=
@@ -235,6 +240,31 @@ diff -u -r1.3.8.5 win32.h
 
 
 ______________________________________________________________________________
 
 
 ______________________________________________________________________________
+GC patch
+
+Index: win32_threads.c
+===================================================================
+RCS file: /cvs/gcc/gcc/boehm-gc/win32_threads.c,v
+retrieving revision 1.9.2.2
+diff -u -r1.9.2.2 win32_threads.c
+--- win32_threads.c     29 Jun 2002 17:29:51 -0000      1.9.2.2
++++ win32_threads.c     2 Jul 2002 18:10:02 -0000
+@@ -134,10 +134,7 @@
+                                (LPCONTEXT)&thread_table[i].context))
+          ABORT("GetThreadContext failed");
+ #      ifdef I386
+-         if (thread_table[i].context.Esp >= (DWORD)thread_table[i].stack
+-             || thread_table[i].context.Esp < (DWORD)bottom)
+-             ABORT("Thread stack pointer out of range");
+-         GC_push_one ((word) thread_table[i].context.Edi);
++             GC_push_one ((word) thread_table[i].context.Edi);
+          GC_push_one ((word) thread_table[i].context.Esi);
+          GC_push_one ((word) thread_table[i].context.Ebp);
+          GC_push_one ((word) thread_table[i].context.Ebx);
+
+
+
+______________________________________________________________________________
 Throwable.printStackTrace() patch
 
 Index: Class.h
 Throwable.printStackTrace() patch
 
 Index: Class.h