[m-rev.] Failure to build Mercury rotd-2025-08-20 and rotd-2025-08-21

Julien Fischer jfischer at opturion.com
Tue Aug 26 17:05:49 AEST 2025


Hi Volker,

On Tue, 26 Aug 2025 at 15:20, Volker Wysk <post at volker-wysk.de> wrote:

> Good morning.
>
> I've tracked the problem to the call of compiler/mercury_compile, by mmake,
> which calls gmake, which calls mercury_compile. I get an immediate crash
> when calling it without any arguments:

In the configure.log you sent, there is the following:

    configure: loading site script /usr/share/site/x86_64-pc-linux-gnu
    checking for i686-pc-linux-gnu-gcc... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking what the C compiler type really is... gcc
    checking what the gcc version is... 15_1_1
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu

Why does your system think the host system type is i686-pc-linux-gnu?
Are you (attempting) to build an i686 cross-compiler on x86_64?

Julien.


More information about the reviews mailing list