#1285: panic in HEAD building base library
-----------------------------+----------------------------------------------
Reporter: Isaac Dupree | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.7
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Os: Linux | Testcase: Compile base with -O0
Architecture: Multiple |
-----------------------------+----------------------------------------------
Changes (by simonpj):
* resolution: => fixed
* testcase: => Compile base with -O0
* status: new => closed
Comment:
The crash was caused by the eqString rewrite rule creating a '''forward'''
reference to GHC.Base.eqString. It's all very specific to the (exactly
three) BuiltIn rules. It's also specific to -O0, becuase with -O we do an
occasional "`GlomBinds`" to re-do the mutual dependencies.
In fact I was surprised to see that RULES fire at all with -O0. I've
committed a patch to make `-frewrite-rules` into a dynamic flag, off with
-O0 and on with -O.
That fixes the crash, so I'm closing this bug.
Thanks for pointing it out.
Simon
PS: there are a few other warnings in compiling the base package, but they
are harmless. I think.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1285>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs