2024-11-21 23:52 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000374mercuryBugpublic2015-01-15 14:04
Reporterjuliensf 
Assigned Tojuliensf 
PrioritynormalSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
Platformx86_64-w64-mingw32OSWindowsOS Version7
Product Version 
Target VersionFixed in Version 
Summary0000374: rotd-2015-01-13 fails to install with mingw64
DescriptionBuilding 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 InformationThe 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.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000804

juliensf (administrator)

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 ...
+Notes

-Issue History
Date Modified Username Field Change
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
+Issue History