|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000374||mercury||Bug||public||2015-01-14 15:34||2015-01-15 14:04|
|Target Version||Fixed in Version|
|Summary||0000374: rotd-2015-01-13 fails to install with mingw64|
|Description||Building from the source distribution with the mingw-builds x86_64-4.9.2-posix-rseh t_v3-rev1 compiler|
aborts during 'make install' when building the optimisation interface for library.m in grade asm_fast.gc.
The abort occurs during expansion of equivalence types. I strongly suspect this is down to C stack
exhaustion but haven't confirmed this yet.
|Additional Information||The same occurs with the mingw-builds x86_4.8.1-posix-seh-rev5 compiler.|
32-bit builds of the same rotd using the standard mingw32 compiler are unaffected.
|Tags||No tags attached.|
Actually, the stack overflow occurs during the conversion of clauses during the initial construction
of the HLDS. The actual problem here is that I forgot to pass --host=x86_64-w64-mingw32 to configure
and so the stack limit on mercury_compile.exe was ridiculously small.
This *is* all documented in README.MinGW, but I think we need a better way of ensuring that *if* we
are using a MinGW64 under msys or cygwin that the host architecture is set correctly. I'll keep this
bug open until I find a better way ...
|2015-01-14 15:34||juliensf||New Issue|
|2015-01-14 15:34||juliensf||Status||new => assigned|
|2015-01-14 15:34||juliensf||Assigned To||=> juliensf|
|2015-01-15 14:04||juliensf||Note Added: 0000804|