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

Volker Wysk post at volker-wysk.de
Tue Aug 26 21:35:38 AEST 2025


Hi

It works. The reason of the crash of "compiler/mercury_compile" must have
been my bogus argument "--host=i686-pc-linux-gnu" which I had passed to
"configure".

Cheers,  
Volker

Am Dienstag, dem 26.08.2025 um 09:21 +0200 schrieb Volker Wysk:

> Am Dienstag, dem 26.08.2025 um 17:05 +1000 schrieb Julien Fischer:
> 
> > Hi Volker,
> > 
> > On Tue, 26 Aug 2025 at 15:20, Volker Wysk
<[post at volker-wysk.de](mailto: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?
> 
> 
> No, that isn't my intention. I've forgotten why I put the responsible
> configure option there. I've been using my shell scripts for a long time
and
> they have always worked...
> 
> I've started a new build, without that option.
> 
> Bye,
> V.





More information about the reviews mailing list