[m-rev.] for review: read .opt files transitively

Peter Ross peter.ross at miscrit.be
Fri Apr 20 02:06:51 AEST 2001


On Thu, Apr 19, 2001 at 03:10:12PM +1000, Fergus Henderson wrote:
> On 18-Apr-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> >
> > A patch like this is also needed for the reuse analysis, because the
> > type (and hence representation) of every variable needs to be known.  I
> > have one implemented on the reuse branch.
> > However I am not totally sure of the correctness of my approach.
> 
> There seems to be a problem with the dependencies for .trans_opt
> files on the reuse branch.  The following commands
> 
> 	cvs checkout -rreuse mercury
> 	cd mercury
> 	autoconf
> 	sh configure
> 	make
> 	echo "EXTRA_MCFLAGS = --infer-possible-aliases" > Mmake.stage.params
> 	tools/bootcheck
> 
> result in a failure when building the stage 2 browser
> 
> 	...
> 	MERCURY_INT_DIR=../library MERCURY_ALL_C_INCL_DIRS=" -I../trace
> 		-I../library -I../runtime -I../boehm_gc -I../boehm_gc/include "
> 		/home/mars/public/mercury-latest/i686-pc-linux-gnu/bin/mmc
> 		--no-unboxed-float --conf-low-tag-bits 2 --bits-per-word
> 		32 --bytes-per-word 4 --compile-to-c --grade asm_fast.gc
> 		--no-infer-all --halt-at-warn --infer-possible-aliases
> 		browse.m > browse.err 2>&1
> 	gmake: *** [mdb.browse.c] Error 1
> 	+ echo 'building of stage 2 browser not successful'
> 	building of stage 2 browser not successful
> 	+ exit 1
> 
The warnings are a known problem, try turning off --halt-at-warn.
--------------------------------------------------------------------------
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