[Mono-list] libgc-mono

Alejandro Mery amery@geeks.cl
Sat, 13 Dec 2003 17:12:25 -0300


i have a linux with boehm-gc 6.2 with gcc-3.3.2 (objc+java) linked
against it. and with mono-0.29 linked against it too.
i'm trying to build mono-debugger-0.5 but it screams because of the
absence of  mono/private/libgc-mono-debugger.h

wrapper.c:7:46: mono/private/libgc-mono-debugger.h: No such file or
directory
wrapper.c:53: warning: integer constant is too large for "long" type
wrapper.c: In function `debugger_class_get_static_field_data':
wrapper.c:147: warning: cast to pointer from integer of different size
make[2]: *** [wrapper.o] Error 1
make[2]: Leaving directory `/R.src/mono-debugger-0.5/wrapper'

on http://primates.ximian.com/~martin/debugger/ there is a
libgc-mono-6.1.tar.gz which readme claims to be boehm-gc 6.1, but
673024 gc6.1.tar.gz
542708 libgc-mono-6.1.tar.gz

# diff -udrN gc6.1 libgc-mono-6.1 | lsdiff | wc -l
     71

what's the idea?
to use this instead of official in the system?
to build it just for mono?
to build it just for debugger?
is all this cleanup mandatory?

can i safely apply real (vtable instead of direct)  changes to system's
gc6.2 and create a dummy private/libgc-mono-debugger.h?
is vtable too slow to using it in the whole system?

best regards,
Alejandro Mery

--- gc6.1/ChangeLog     1969-12-31 21:00:00.000000000 -0300
+++ libgc-mono-6.1/ChangeLog    2003-04-05 15:49:01.000000000 -0400
@@ -0,0 +1,26 @@
+2003-03-31  Martin Baulig  <martin@ximian.com>
+
+       * include/gc.h (GCThreadFunctions): New type.
+       (gc_thread_vtable): New global variable.
+
+       * include/gc_pthread_redirects.h: Use the `gc_thread_vtable'
+       vtable for the redirects instead of calling the methods directly.
+       This allows us to override them at runtime.
+
+2003-03-31  Martin Baulig  <martin@ximian.com>
+
+       * include/Makefile.am: Install gc_pthread_redirects.h.
+
+       * include/gc.h: `#include <gc/gc_pthread_redirects.h>', not
+       `#include "gc_pthread_redirects.h"'.
+
+2003-03-31  Martin Baulig  <martin@ximian.com>
+
+       * configure.in: Call the package `libgc-mono'.
+
+       * libgc-mono.pc.in: Added pkg-config files.
+
+2003-03-31  Martin Baulig  <martin@ximian.com>
+
+       This is a modified version of Boehm GC 6.1.
+