Re: [GHC] #962: hptRules crash
#962: hptRules crash --+- Reporter: guest | Owner: Type: bug | Status: closed Priority: normal| Milestone: 6.6.1 Component: Compiler |Version: 6.6 Severity: normal| Resolution: invalid Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Changes (by simonpj): * resolution: = invalid * status: new = closed Comment: I'm going to close this, because it seems to be an interface-file consistency problem. Still, GHC shouldn't crash under those circumstances, so I've made a fix that makes GHC emit a WARNING but recover in a reasonable way and carry on. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/962 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #962: hptRules crash
#962: hptRules crash --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.6.1 Component: Compiler |Version: 6.6 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Comment (by [EMAIL PROTECTED]): It does appear the interface files are in an inconsistent state - removing all of them did fix the problem originally. I don't have a reproducible testcase, sadly, though my usage pattern may offer a clue: - I have several binaries that depend on some shared source files - In a Makefile I make each of these binaries, in turn, using ghc --make - In this particular case, the first binary compiled correctly, but the second failed with the error noted above. - What is even odder about the case is that the second binary shouldn't have required module Authorization (only the first binary requires it) I can send you the generated .hi files if that helps. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/962 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #962: hptRules crash
#962: hptRules crash --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.6.1 Component: Compiler |Version: 6.6 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Changes (by igloo): * milestone: = 6.6.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/962 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #962: hptRules crash
#962: hptRules crash --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler |Version: 6.6 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Old description: I got this blowup from ghc-6.6 (ghc-6.6-2 from Debian unstable on i386). ghc-6.6: panic! (the 'impossible' happened) (GHC version 6.6 for i386-unknown-linux): hptRules Authorization [(Authorization, False), (BinParse, False), (BinaryIO, False), (BuildVersion, False), (CFreeVars, False), (CParser, False), (CSyntax, False), (CType, False), (CVParser, False), (CVParserAssertion, False), (CVParserCommon, False), (CVParserImperative, False), (CVParserUtil, False), (CVPrint, False), (Classic, False), (Error, False), (ErrorUtil, False), (Eval, False), (FStringCompat, False), (FileIOUtil, False), (FileNameUtil, False), (Fixity, False), (Flags, False), (Flexlm, False), (GHCPretty, False), (Hash, False), (IOMutVar, False), (IOUtil, False), (Id, False), (IdPrint, False), (IntLit, False), (IntMap, False), (IntegerMisc, False), (IntegerUtil, False), (Lex, False), (ListSet, False), (ListUtil, False), (Literal, False), (Log2, False), (NumType, False), (OrdMap, False), (OrdSet, False), (PFPrint, False), (PPrint, False), (PVPrint, False), (Parse, False), (Parsec, False), (ParsecChar, False), (ParsecCombinator, False), (ParsecExpr, False), (ParsecPrim, False), (Position, False), (Pragma, False), (PreIds, False), (PreStrings, False), (Pretty, False), (SEMonad, False), (SchedInfo, False), (Sort, False), (SpeedyString, False), (SystemVerilogKeywords, False), (SystemVerilogPreprocess, False), (SystemVerilogScanner, False), (SystemVerilogTokens, False), (Trace, False), (Type, False), (Util, False), (VModInfo, False), (Version, False)] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug New description: I got this blowup from ghc-6.6 (ghc-6.6-2 from Debian unstable on i386). {{{ ghc-6.6: panic! (the 'impossible' happened) (GHC version 6.6 for i386-unknown-linux): hptRules Authorization [(Authorization, False), (BinParse, False), (BinaryIO, False), (BuildVersion, False), (CFreeVars, False), (CParser, False), (CSyntax, False), (CType, False), (CVParser, False), (CVParserAssertion, False), (CVParserCommon, False), (CVParserImperative, False), (CVParserUtil, False), (CVPrint, False), (Classic, False), (Error, False), (ErrorUtil, False), (Eval, False), (FStringCompat, False), (FileIOUtil, False), (FileNameUtil, False), (Fixity, False), (Flags, False), (Flexlm, False), (GHCPretty, False), (Hash, False), (IOMutVar, False), (IOUtil, False), (Id, False), (IdPrint, False), (IntLit, False), (IntMap, False), (IntegerMisc, False), (IntegerUtil, False), (Lex, False), (ListSet, False), (ListUtil, False), (Literal, False), (Log2, False), (NumType, False), (OrdMap, False), (OrdSet, False), (PFPrint, False), (PPrint, False), (PVPrint, False), (Parse, False), (Parsec, False), (ParsecChar, False), (ParsecCombinator, False), (ParsecExpr, False), (ParsecPrim, False), (Position, False), (Pragma, False), (PreIds, False), (PreStrings, False), (Pretty, False), (SEMonad, False), (SchedInfo, False), (Sort, False), (SpeedyString, False), (SystemVerilogKeywords, False), (SystemVerilogPreprocess, False), (SystemVerilogScanner, False), (SystemVerilogTokens, False), (Trace, False), (Type, False), (Util, False), (VModInfo, False), (Version, False)] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} Comment (by simonpj): GHC thinks that it should have compiled module Authorization by now, but it hasn't. You don't show the complete compile log, so it's hard
[GHC] #962: hptRules crash
#962: hptRules crash -+-- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler | Version: 6.6 Severity: normal|Keywords: Difficulty: Unknown |Testcase: Architecture: Unknown | Os: Unknown -+-- I got this blowup from ghc-6.6 (ghc-6.6-2 from Debian unstable on i386). ghc-6.6: panic! (the 'impossible' happened) (GHC version 6.6 for i386-unknown-linux): hptRules Authorization [(Authorization, False), (BinParse, False), (BinaryIO, False), (BuildVersion, False), (CFreeVars, False), (CParser, False), (CSyntax, False), (CType, False), (CVParser, False), (CVParserAssertion, False), (CVParserCommon, False), (CVParserImperative, False), (CVParserUtil, False), (CVPrint, False), (Classic, False), (Error, False), (ErrorUtil, False), (Eval, False), (FStringCompat, False), (FileIOUtil, False), (FileNameUtil, False), (Fixity, False), (Flags, False), (Flexlm, False), (GHCPretty, False), (Hash, False), (IOMutVar, False), (IOUtil, False), (Id, False), (IdPrint, False), (IntLit, False), (IntMap, False), (IntegerMisc, False), (IntegerUtil, False), (Lex, False), (ListSet, False), (ListUtil, False), (Literal, False), (Log2, False), (NumType, False), (OrdMap, False), (OrdSet, False), (PFPrint, False), (PPrint, False), (PVPrint, False), (Parse, False), (Parsec, False), (ParsecChar, False), (ParsecCombinator, False), (ParsecExpr, False), (ParsecPrim, False), (Position, False), (Pragma, False), (PreIds, False), (PreStrings, False), (Pretty, False), (SEMonad, False), (SchedInfo, False), (Sort, False), (SpeedyString, False), (SystemVerilogKeywords, False), (SystemVerilogPreprocess, False), (SystemVerilogScanner, False), (SystemVerilogTokens, False), (Trace, False), (Type, False), (Util, False), (VModInfo, False), (Version, False)] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/962 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #962: hptRules crash
#962: hptRules crash --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler |Version: 6.6 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Changes (by guest): * cc: = [EMAIL PROTECTED] -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/962 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs