[mercury-users] detstack overflow on install and simple invocation of mmc

Paul Bone pbone at csse.unimelb.edu.au
Sun Aug 2 22:13:40 AEST 2009

On Sun, Aug 02, 2009 at 05:45:45PM +1000, Julien Fischer wrote:
> Hi,
> On Sun, 2 Aug 2009, Paul Bone wrote:
>> On Sat, Aug 01, 2009 at 01:00:16PM +1000, Mark Wassell wrote:
>>> Hi,
>>> I am getting the following error at the end of the install and whenever
>>> I run mmc with no parameters.
>>> mmc --generate-dependencies --grade hlc.gc      --mercury-linkage shared
>>> --flags LIB_FLAGS   --flags INTER_FLAGS
>>> -R/usr/local/mercury-0.13.1/lib/mercury/lib/hlc.gc
>>> -R/usr/local/mercury-0.13.1/lib/mercury/lib  --no-warn-nothing-exported
>>> mer_std
>>> Mercury runtime: memory zone detstack#0 overflowed
>>> This may have been caused by a stack overflow, due to unbounded recursion.
>>> I am running:
>>> Debian - Release 5.0.2
>>> Kernel Linux 2.6.26-2-amd64
>>> Memory: 1005.3 MiB
>>> I believe I have enough memory and no other application is giving a
>>> problem. I am running through VMWare.
>> We've noticed a number of problems with recent versions of GCC.  What version
>> of GCC are you using?  If it helps we know that gcc-3.4 works fine,
>> unfortunatly it will be removed from Debian soon.  Otherwise some workarrounds
>> are available.  Please see the FAQ.
> Actually, don't see the FAQ because the 0.13 version doesn't say
> anything useful here and the ROTD version contains advice that doesn't
> apply to version 0.13.X.  I've described an equivalent workaround to
> that in the ROTD FAQ that will work with version 0.13.X below.

Sorry, my mistake, I hadn't noticed this was 0.13.1.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/users/attachments/20090802/a6c9c105/attachment.sig>

More information about the users mailing list