Mercury Bugs - mercury
View Issue Details
0000170mercuryBugpublic2010-11-26 15:402010-11-30 17:24
Reporterjuliensf 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000170: stage 2 ssdb build failure on goliath
DescriptionBuilding the stage 2 ssdb library with rotd-2010-11-24 fails on goliath, ssdb.err is:

Uncaught Mercury exception:
Software Error: var_locn.m: Unexpected: clobber_lval_in_var_state_map: empty state
Stack dump not available in this grade.

This in asm_fast.gc, with -O5 and --intermodule-optimisation.

The last working compiler on goliath was rotd-2010-10-19 (between then and now the machine
was down for about a week due to memory troubles).
TagsNo tags attached.
Attached Files

Notes
(0000292)
juliensf   
2010-11-26 15:51   
Can be reproduced with:

 mmc --compile-to-c --grade asm_fast.gc -O0 --inline-compound-threshold=100 --flags SSDB_FLAGS ssdb
(0000293)
juliensf   
2010-11-26 16:34   
I have committed a workaround for this in ssdb/Mercury.options.
(0000294)
zs   
2010-11-30 17:24   
Fix committed 30 nov 2010.

Issue History
2010-11-26 15:40juliensfNew Issue
2010-11-26 15:51juliensfNote Added: 0000292
2010-11-26 16:34juliensfNote Added: 0000293
2010-11-30 17:24zsNote Added: 0000294
2010-11-30 17:24zsStatusnew => resolved
2010-11-30 17:24zsResolutionopen => fixed
2010-11-30 17:24zsAssigned To => zs