Re: [m-users.] Installation of the compiler fails

Volker Wysk <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
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

_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmNvY4gACgkQ+K4ydFOs
HoVNAhAA2YJbUCQjR/GGX8Obf8/eO2x1dS8A8FuPFLmEUEN8tJVQ1TAcSfjnUKl6
HVuSnruhdiHJQNDDnRrwP3Mv3IwGJ2c0B00qTgPgySKpt4d25kqbMJyYnXNEx8VS
8Gt9L6WJZB7U9Jvkgx2DXjoU/mIDuZ3MDtQVjYs8ZupMQGdWiLAgkGrTsDyDT+zS
8jMZIMA7r+en78kKGX9n0R7uonKjDSnH78TUXe+ElPZS/yqm4/6hf9/t2oQrOftj
IGkfCB3yptUGawTrGo9lPBtlCpCi8nxxfkqVbQQu4rUdmFTSeByRnyP7ojCcSFIR
8RJQFAenYWO1KcOEmMPTqFxJfJU5QgRj4QIPkE9cTSmzqnUJ9VLiWHA2qs2Z5Zpl
de6TUVQAYaB7hM5Bygm9VbpaiYKuAwrQ5v/9qfzPQ8y/MCDKdloMA1tKJo6zILTo
QKthAu3fXYIBl9hi5AUPRQ+1MaXzUUiBxW7so3bhOxmm0NN7DIB+JUSr+NUWvxDC
Ba/zAg5yxoUWhPfSK52cci05qa070zdW6slT6J6aDyPVqaMV7nad1SwDUlUDo+hm
6pVgwhG4QxR7uBPZkX3X/XzqUsMvenUCBzpqrIT1Gx8m0ElY0Mbey57lVerxc2bF
gvitAgPgQPpFTaRhMa3BJCaqLvkCRUaIv/t8xTytT4LBzawrX4E=
=Vg0q
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.