[m-rev.] diff: Increase HBLKSIZE in BoehmGC for parallel grades.

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Dec 13 02:12:51 AEDT 2010


On Fri, 10 Dec 2010, Julien Fischer wrote:

> On Wed, 8 Dec 2010, Paul Bone wrote:
>
>> Index: Mmake.common.in
>> ===================================================================
>> RCS file: /home/mercury1/repository/mercury/Mmake.common.in,v
>> retrieving revision 1.97
>> diff -u -p -b -r1.97 Mmake.common.in
>> --- Mmake.common.in	10 Oct 2009 10:44:13 -0000	1.97
>> +++ Mmake.common.in	8 Dec 2010 03:50:43 -0000
>> @@ -150,7 +150,8 @@ BOEHM_CFLAGS = @ENABLE_BOEHM_LARGE_CONFI
>> # Additional options to pass to the C compiler when building Boehm-GC for
>> # threads.
>> BOEHM_CFLAGS_FOR_THREADS = @ENABLE_BOEHM_THREAD_LOCAL_ALLOC@ \
>> -	@ENABLE_BOEHM_PARALLEL_MARK@
>> +	@ENABLE_BOEHM_PARALLEL_MARK@ \
>> +	-DHBLKSIZE=32768 -DCPP_LOG_HBLKSIZE=15
>
> These settings cause building the stage 2 compiler to abort in
> hlc.par.gc on Mac OS X.  (It appears to be fine if the line added above
> is removed.)

These settings appear to be causing trouble on anything that isn't
Linux; I suggest you modify the configure script so that they are only
set if the OS is Linux.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list