[m-dev.] Errors compiling Mercury ROTD using Cygwin

Julien Fischer jfischer at opturion.com
Wed Dec 9 16:06:58 AEDT 2015


Hi all,


On Thu, 19 Nov 2015, Martin McDonough wrote:

> 
> I've run into an error compiling Mercury (most recent ROTD) using Cygwin (64-bit) on Windows 7 64-bit.
> 
> 
> https://gist.github.com/FlyingJester/66643007fb8f6d46b00a
> 
> The main error seems to be when linking:
> top_level_init.o:top_level_init.c:(.rdata$.refptr._bss_start__[.refptr._bss_start__]+0x0): undefined reference to `_bss_start__'
> top_level_init.o:top_level_init.c:(.rdata$.refptr._data_start__[.refptr._data_start__]+0x0): undefined reference to `_data_start__'
> top_level_init.o:top_level_init.c:(.rdata$.refptr._bss_end__[.refptr._bss_end__]+0x0): undefined reference to `_bss_end__'
> top_level_init.o:top_level_init.c:(.rdata$.refptr._data_end__[.refptr._data_end__]+0x0): undefined reference to `_data_end__'

A similar issue appears to be occurring with the MinGW64 GCC 4.9.  I've
added an entry to the bug database for this one
(https://www.mercurylang.org/bugs/view.php?id=398).

Further updates will be posted there.

Julien.



More information about the developers mailing list