[m-rev.] diff: fix for *.gc.par grades on Solaris

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Aug 8 09:36:36 AEST 2002


This patch should fix a link error on Solaris, where we were getting
undefined symbols GC_stop_world, etc., due to boehm_gc/solaris_pthreads.c
being compiled with the wrong set of #defines.

Estimated hours taken: 0.75
Branches: main

configure.in:
	For Solaris, include -DGC_SOLARIS_PTHREADS in CFLAGS_FOR_THREADS.
	This is needed by recent versions of the Boehm collector,
	which use GC_SOLARIS_PTHREADS rather than _SOLARIS_PTHREADS.

Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.313
diff -u -d -r1.313 configure.in
--- configure.in	5 Jul 2002 13:51:04 -0000	1.313
+++ configure.in	7 Aug 2002 23:30:24 -0000
@@ -1863,7 +1863,7 @@
 case "$host" in
 	*solaris*)
 		CFLAGS_FOR_THREADS="-DMR_THREAD_SAFE -DSOLARIS_THREADS \
-			-D_SOLARIS_PTHREADS -D_REENTRANT"
+			-D_SOLARIS_PTHREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
 		;;
 
 	*linux*)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list