[GHC] #905: the `impossible' happened: ASSERT failed! file
codeGen/ClosureInfo.lhs, line 596
GHC
trac at galois.com
Mon Oct 16 18:57:10 EDT 2006
#905: the `impossible' happened: ASSERT failed! file codeGen/ClosureInfo.lhs,
line 596
---------------------------------------------+------------------------------
Reporter: Misha Aizatulin <avatar at hot.ee> | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
---------------------------------------------+------------------------------
Changes (by Samuel Bronson <naesten at gmail.com>):
* testcase: =>
* version: 6.4.2 => 6.5
Comment:
This still happens with quasi-6.6 (calls itself 6.5...)...
Same file, same line number! The module being built is even the same
module!
Also, it happens even when I only say:
{{{
WAY_p_HC_OPTS += -auto-all
}}}
not
{{{
SRC_HC_OPTS += -prof -auto-all
}}}
(I'm trying to track down increased allocation in some of the nofib
programs caused by a patch I'm working on...)
Here is the relevant portion of my build.mk file (I left out the part for
BuildFlavour = perf, since I'm not using it here.)
{{{
BuildFlavour = devel
#BuildFlavour = perf
# Which warnings we like to use
MyWarningOpts = -W -fno-warn-unused-matches -fwarn-unused-imports
WAY_p_HC_OPTS += -auto-all #-caf-all
# -------- 1. A Development build
--------------------------------------------
ifeq "$(BuildFlavour)" "devel"
GhcCompilerWays =
SRC_HC_OPTS = -H32m -O -fasm $(MyWarningOpts)
GhcLibHcOpts = -O -dcore-lint $(MyWarningOpts)
GhcLibWays = p
# If you're working on the stage1 compiler, build stage1 with debugging:
GhcStage1HcOpts = -Rghc-timing -O0 -DDEBUG
# alternatively, to work on the stage 2 compiler:
# GhcStage2HcOpts = -Rghc-timing -O0 -DDEBUG
# profiled RTS
#GhcRtsCcOpts = -pg -g
# Optimised/profiled RTS
#GhcRtsCcOpts = -O2 -pg
#GhcRtsWithFrontPanel = YES
#SRC_HC_OPTS += `gtk-config --libs`
SplitObjs = NO
NoFibWays = p
SRC_RUNTEST_OPTS += +RTS -H10m -RTS
STRIP=:
ifeq "$(way)" "p"
SRC_RUNTEST_OPTS += +RTS -P -RTS
endif
endif
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/905>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list