[kaffe] freebsd compile patch

jrandom jrandom at i2p.net
Tue Aug 31 13:10:37 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi y'all

Quick patch for freebsd (FreeBSD 4.8-RELEASE-p23, i386), related to
another patch Dalibor found a few weeks back having to do with some
old GC related code in the unix-jthreads.  It now compiles fine
(gmake check passes 144).

hth,
=jr

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQTTa+xpxS9rYd+OGEQIpVwCbBRdO7AN+Rm5LB+vlauNKEk9Es6AAoNS3
BDJGWOMVfq1Zeub2NLYeXcxO
=zKtU
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: signal.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c,v
retrieving revision 1.24
diff -u -r1.24 signal.c
--- signal.c	11 Jul 2004 17:44:55 -0000	1.24
+++ signal.c	31 Aug 2004 20:03:31 -0000
@@ -81,13 +81,6 @@
         void *stackptr;
   
 	DEFINEFRAME();
-#if defined(__FreeBSD__) && !defined(INTERPRETER)
-	if ((uintp) ctx->sc_err > gc_heap_base) {
-		dprintf("accessing free page %p (above %p)\n",
-			(void*) ctx->sc_err, (void *) gc_heap_base);
-		abort();
-	}
-#endif
 	/* Restore the signal handler if necessary */
 	restoreSyncSignalHandler(sig, nullException);
 
-------------- next part --------------
Index: ChangeLog
===================================================================
RCS file: /cvs/kaffe/kaffe/ChangeLog,v
retrieving revision 1.2686
diff -u -r1.2686 ChangeLog
--- ChangeLog	31 Aug 2004 17:27:43 -0000	1.2686
+++ ChangeLog	31 Aug 2004 20:09:29 -0000
@@ -1,3 +1,8 @@
+2004-08-31	jrandom <jrandom at i2p.net>
+
+	* kaffe/kaffevm/systems/unix-jthreads/signal.c:
+	(nullException): Removed obsolete Kaffe-GC dependency on FreeBSD.
+
 2004-08-31  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* kaffe/kaffevm/locks.c


More information about the kaffe mailing list