[mercury-users] Re: Welcome to mercury-users

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Oct 10 14:08:17 AEST 2001


On 09-Oct-2001, Vic Bancroft <bancroft at zvolve.net> wrote:
> The last bit of the make_install.log are as follows :
> 
>    gmake[1]: Entering directory `/usr/local/src/mercury-compiler-0.10.1/library'
>    MERCURY_INT_DIR=. MERCURY_ALL_C_INCL_DIRS=" -I../trace -I../runtime -I../boehm_gc -I../boehm_gc/include " mmc --generate-dependencies --transitive-intermodule-optimization --grade asm_fast     --no-infer-all --halt-at-warn    library
>    ../scripts/mmc[40]: 27348 Illegal instruction(coredump)
>    gmake[1]: *** [library.depend] Illegal instruction (core dumped)

Hmm, not good.

Basically that means that the Mercury compiler has been miscompiled.
It could perhaps be a bug in gcc, or in the assembler.

That kind of thing can be difficult to debug, so I recommend trying grade
hlc.gc, as I suggested earlier, or grade none.gc or reg.gc.
(For the latter two, all you need to do is to use the normal source
distribution and add `GRADE=none.gc' or `GRADE=reg.gc' to Mmake.params.
For hlc.gc, you need different versions of the C files, so as I said earlier
I'll set up a different source distribution for that.)

> Does this hlc.gc replace the LLDS or MDLS
> c code generators ?

`hlc.gc' is the grade name normally used by the MLDS-based C code generator.

-- 
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-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list