[mercury-users] difficulties installing the Mercury compiler

Keri Harris keri at gentoo.org
Mon Dec 8 16:50:14 AEDT 2008

On Wed, 26 Nov 2008 20:01:20 Julien Fischer wrote:
> I've tried installing Mercury 0.13.1 on OpenSUSE 11 using gcc 4.3
> and the following works:
> I only tried out installing the libraries in a couple, none.gc and hlc.gc,
> of grades, so it is possible there may be other problems.  Please let
> us know if that is the case.

Using the supplied instructions, I've installed Mercury-0.13.1 on Gentoo Linux 
(x86) with gcc-4.3 and it passed all tests in the mercury-tests tarball that 
run with grade hlc.gc.

Mercury-0.13.1 on Gentoo Linux (amd64) with gcc-4.3 failed in only one test in 
grade hlc.gc - hard_coded/deconstruct_arg:

deconstruct_arg.out:deconstruct functor: apple/1
deconstruct_arg.out:deconstruct argument 0 of apple([]) is
deconstruct_arg.out:*** Mercury runtime: caught segmentation violation ***
deconstruct_arg.out:cause: address not mapped to object
deconstruct_arg.out:address involved: (nil)
deconstruct_arg.out:This may have been caused by a stack overflow, due to 
unbounded recursion.
deconstruct_arg.out:exiting from signal handler

With mercury-0.13.1 installs on amd64 with both gcc-3 and gcc-4.1, the above 
test passes, so there's a least one quirk.
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list