Re: [GHC] #2011: [6.8.1 regression] panic: lookupVers1 base:GHC.Prim sym{tc}
#2011: [6.8.1 regression] panic: lookupVers1 base:GHC.Prim sym{tc} --+- Reporter: simonmar | Owner: igloo Type: merge | Status: closed Priority: high | Milestone: 6.8.3 Component: Compiler |Version: 6.8.2 Severity: normal| Resolution: fixed Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Changes (by igloo): * status: new = closed * resolution: = fixed Comment: Merged -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2011#comment:2 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] #2011: [6.8.1 regression] panic: lookupVers1 base:GHC.Prim sym{tc}
#2011: [6.8.1 regression] panic: lookupVers1 base:GHC.Prim sym{tc} --+- Reporter: simonmar | Owner: igloo Type: merge | Status: new Priority: high | Milestone: 6.8.3 Component: Compiler |Version: 6.8.2 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: Unknown Os: Unknown | --+- Changes (by simonpj): * owner: simonpj = igloo * type: bug = merge Comment: The patch is this one. Ian, please merge to 6.8 branch. {{{ Thu Dec 20 16:43:07 GMT 2007 [EMAIL PROTECTED] * Fix nasty recompilation bug in MkIface.computeChangedOccs MERGE to 6.8 branch In computeChangedOccs we look up the old version of a Name. But a WiredIn Name doesn't have an old version, because WiredIn things don't appear in interface files at all. Result: ghc-6.9: panic! (the 'impossible' happened) (GHC version 6.9 for x86_64-unknown-linux): lookupVers1 base:GHC.Prim chr#{v} This fixes the problem. The patch should merge easily onto the branch. }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2011#comment:1 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
[GHC] #2011: [6.8.1 regression] panic: lookupVers1 base:GHC.Prim sym{tc}
#2011: [6.8.1 regression] panic: lookupVers1 base:GHC.Prim sym{tc} -+-- Reporter: simonmar | Owner: simonpj Type: bug | Status: new Priority: high | Milestone: 6.8.3 Component: Compiler | Version: 6.8.2 Severity: normal|Keywords: Difficulty: Unknown |Testcase: Architecture: Unknown | Os: Unknown -+-- When rebuilding the base package you might encounter this: {{{ ../../compiler/stage1/ghc-inplace -package-name base-3.0.1.0 -hide-all- packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include HsBase.h -odir dist/build -hidir dist/build -stubdir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -XCPP -idist/build -H16m -O -O -Rghc-timing -fgenerics -c Data/Generics/Twins.hs -o dist/build/Data/Generics/Twins.o -ohi dist/build/Data/Generics/Twins.hi ghc-6.8.2: panic! (the 'impossible' happened) (GHC version 6.8.2 for powerpc-apple-darwin): lookupVers1 base:GHC.Prim sym{tc} }}} Workaround is to clean in `libraries/base`. The problem is that `MkIface.computeChangedOccs` needs to avoid wired-in names when checking version numbers, because wired-in names are never mentioned in usages. I believe simonpj has a patch for this in his working tree, we diagnosed it before disappearing for the Christmas period. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2011 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