[m-rev.] diff: enable par grades on MacOS X

Peter Ross pro at missioncriticalit.com
Mon May 5 20:15:23 AEST 2003


On Mon, May 05, 2003 at 08:02:00PM +1000, Fergus Henderson wrote:
> On 05-May-2003, Peter Ross <pro at missioncriticalit.com> wrote:
> > This patch allows one to build the hlc.par.gc grade on MacOS X, however
> > when you try and run an executable you get an illegal instruction error.
> 
> Can you please back out this change until it actually works?
> 
Will do.

> > +	*powerpc*apple*)
> > +		CFLAGS_FOR_THREADS="-DMR_THREAD_SAFE"
> 
> You will need to pass some additional `-D' option to tell the Boehm
> collector to work in thread-safe mode.
> 
> I don't think the version of the Boehm collector that is included
> with the Mercury distribution supports thread-safe mode on MacOS X.
> The most recent version (6.2alpha4) does, though.
> 
The illegal instruction occurs in the boehm_gc collector.

Is it sufficient to issue the following commands to upgrade to the
latest version?

        zcat gc6.2alpha4.tar.gz | tar -xvf -
        cd gc6.2alpha4
        cvs import -I \! mercury/boehm_gc gc gc_6_2alpha4

Pete
--------------------------------------------------------------------------
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