[mercury-users] try_io on x86-64

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Oct 11 02:49:27 AEDT 2009


On Sat, 10 Oct 2009, Michael Day wrote:

> Yes, I had to rename the module. But I still get the bug:
>
> $ mmc --use-subdirs --make try2 --intermodule-optimisation -O3
> Making Mercury/int3s/try2.int3
> Making Mercury/ints/try2.int
> Making Mercury/opts/try2.opt
> Making Mercury/cs/try2.c
> Making Mercury/os/try2.o
> Making try2
> ** Error making `try2'.
> Mercury/os/try2.o:(.rodata+0x310): undefined reference to `<predicate 
> 'exception.wrap_success_or_failure'/2 mode 0>'
> collect2: ld returned 1 exit status
>
> IMPORTANT NOTE: I only get this bug after fully bootstrapping the compiler. 
> The first install of the compiler builds it fine, only the second rebuild of 
> the compiler with unboxed floats and 3 tag bits has problems with try_io.

It works if you use first install of the source distribution (i.e. the
one with  2 tag bits and unboxed floats) to build and install using
the sources from CVS.

I suspect it may also work with just the source distribution if
you do an mmake realclean between doing the initial install and the
rebuild.

Julien.
--------------------------------------------------------------------------
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