[m-users.] Installation of the compiler fails

Volker Wysk post at volker-wysk.de
Sat Nov 12 20:12:40 AEDT 2022


Am Samstag, dem 12.11.2022 um 20:06 +1100 schrieb Julien Fischer:
> Hi,
> 
> On Sat, 12 Nov 2022, Volker Wysk wrote:
> 
> > I'm trying to build MMC from scratch, without an existing Mercury
> > installation. This is how I configured the sources:
> > 
> > ./configure --enable-mm-grades \
> >            --disable-java-grade \
> >            --disable-csharp-grade \
> >            --enable-additional-
> > libgrades=asm_fast.par.gc.debug.stseg,asm_fast.par.gc.decldebug.stseg \
> >            --prefix=/usr/local/lib/mercury-srcdist-rotd-2022-11-11
> > 
> > The "configure" step outputs the grades to install:
> > 
> > the set of library grades to install will be
> >   asm_fast.gc
> >   asm_fast.gc.debug.stseg
> >   asm_fast.gc.decldebug.stseg
> >   asm_fast.gc.memprof
> >   asm_fast.gc.mmsc
> >   asm_fast.gc.mmsc.debug
> >   asm_fast.gc.prof
> >   asm_fast.gc.profdeep.stseg
> >   asm_fast.gc.tr
> >   asm_fast.gc.tr.debug.stseg
> >   asm_fast.par.gc.debug.stseg
> >   asm_fast.par.gc.decldebug.stseg
> >   asm_fast.par.gc.stseg
> >   hlc.gc
> >   hlc.gc.tr
> >   hlc.par.gc
> > 
> > I've added the grades asm_fast.par.gc.debug.stseg and
> > asm_fast.par.gc.decldebug.stseg. The full "configure" log is attached.
> > 
> > In the install step I get:
> > 
> > gmake[2]: *** [/tmp/mmake.ars3MT:105923: integer.c_date] Fehler 1
> > gmake[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
> > gmake[2]: Verzeichnis „/usr/local/src/mercury-srcdist-rotd-2022-11-
> > 11/install_grade_dir.asm_fast.par.gc.decldebug.stseg/library“ wird verlassen
> > To clean up from failed install, remove /usr/local/src/mercury-srcdist-rotd-
> > 2022-11-11/install_grade_dir.asm_fast.par.gc.decldebug.stseg
> > gmake[1]: *** [/tmp/mmake.dt2CYU:1464: install_grades] Fehler 1
> > gmake[1]: Verzeichnis „/usr/local/src/mercury-srcdist-rotd-2022-11-11“ wird
> > verlassen
> > make: *** [Makefile:34: install] Fehler 2
> > 
> > ("Fehler" means "error", "wird verlassen" means "is being left") I haven't
> > attached the "make install" log, because it is too big. Instead, I've uploaded it here:
> > 
> > https://volker-wysk.de/tmp/make_install.log
> > 
> > And I've attached the log of the "make" step.
> 
> The actual issue will probably be reported in
> 
> /usr/local/src/mercury-srcdist-rotd-2022-11-11/install_grade_dir.asm_fast.par.gc.decldebug.stseg/library/integer.err

This file contains these two lines:

Uncaught Mercury exception:
Software Error: predicate `ll_backend.prog_rep.goal_to_goal_rep'/4:
Unexpected: non-plain conjunction and declarative debugging

This looks like a compiler error (uncaught exception).

> (or possibly one of the other .err or .dep_err files in the that
> directory.)
> 
> Mixing .par and .debug (or .decldebug) grades isn't really supported, so
> if I had to hazard a guess that's likely to be the issue here.

Cheers
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20221112/ddf73c8e/attachment.sig>


More information about the users mailing list