[Bug libgcj/18699] [4.0 Regression] SIGSEGV in GC_local_gcj_malloc

mark at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 28 15:28:00 GMT 2004


------- Additional Comments From mark at gcc dot gnu dot org  2004-11-28 15:28 -------
Reverting this patch seems to make things work again:

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/ChangeLog,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -r1.212 -r1.213
--- ChangeLog   26 Nov 2004 05:31:47 -0000      1.212
+++ ChangeLog   27 Nov 2004 17:44:30 -0000      1.213
@@ -1,3 +1,7 @@
+2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
+
 2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>

        Fix "PACKAGE_NAME redefined" errors.
Index: include/gc_config.h.in
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/gc_config.h.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- include/gc_config.h.in      26 Nov 2004 05:31:48 -0000      1.3
+++ include/gc_config.h.in      27 Nov 2004 17:44:31 -0000      1.4
@@ -1,3 +1,7 @@
-#undef ALL_INTERIOR_POINTERS
-#undef GC_GCJ_SUPPORT
+/* gc_config.h. This autoconf header contains macro definitions that are
+used by GC clients, such as libjava.

+This file is not generated by autoheader. We only want to define what we
+really need in order to avoid namespace pollution. */
+
+#undef THREAD_LOCAL_ALLOC


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18699



More information about the Java-prs mailing list