This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] boehm-gc include for solaris


Hi,

without the patch below I get unresolved symbols when running make check in boehm-gc under solaris.

Andreas

2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>

	* solaris_threads.c: Include gc.h for threads definition.
	* solaris_pthreads.c: Likewise.


Index: solaris_pthreads.c
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/solaris_pthreads.c,v
retrieving revision 1.10
diff -u -r1.10 solaris_pthreads.c
--- solaris_pthreads.c	13 Aug 2004 23:05:30 -0000	1.10
+++ solaris_pthreads.c	14 Aug 2004 06:48:35 -0000
@@ -16,6 +16,8 @@
  * Modified by Peter C. for Solaris Posix Threads.
  */
 
+#include <gc.h>
+
 # if defined(GC_SOLARIS_PTHREADS) || defined(GC_THREADS)
 # include "private/gc_priv.h"
 # endif
Index: solaris_threads.c
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/solaris_threads.c,v
retrieving revision 1.11
diff -u -r1.11 solaris_threads.c
--- solaris_threads.c	13 Aug 2004 23:05:30 -0000	1.11
+++ solaris_threads.c	14 Aug 2004 06:48:36 -0000
@@ -16,6 +16,8 @@
  */
 /* Boehm, September 14, 1994 4:44 pm PDT */
 
+#include <gc.h>
+
 # if defined(GC_SOLARIS_THREADS) || defined(GC_SOLARIS_PTHREADS) \
      || defined(GC_THREADS)
 #   include "private/gc_priv.h"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]