#2878: panic while compiling Cabal-1.6.0.1
-------------------------------+--------------------------------------------
    Reporter:  dvogel          |        Owner:                  
        Type:  bug             |       Status:  new             
    Priority:  normal          |    Milestone:                  
   Component:  Compiler        |      Version:  6.8.3           
    Severity:  major           |   Resolution:                  
    Keywords:                  |   Difficulty:  Unknown         
    Testcase:                  |           Os:  Unknown/Multiple
Architecture:  x86_64 (amd64)  |  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown

Old description:

> While compiling Cabal-1.6.0.1, as packaged with Cabal-0.6.0, I got:
>
> [16 of 50] Compiling Distribution.Simple.Utils (
> Distribution/Simple/Utils.hs, dist/build/Distribution/Simple/Utils.o )
> ghc-6.8.2: panic! (the 'impossible' happened)
>   (GHC version 6.8.2 for x86_64-unknown-linux):
>         applyTypeToArgs
>     unix-2.3.0.0:System.Posix.Signals.a38{v rov8} [gid]
>       (unix-2.3.0.0:System.Posix.Signals.a5{v rov7} [gid]
>        `cast` (base:GHC.Prim.sym{(w) tc 34v}
>                  (base:Foreign.C.Types.:CoCInt{tc r1dN})
>                :: <pred>base:GHC.Int.Int32{tc 3V}
>                           ~
>                         <nt>base:Foreign.C.Types.CInt{tc r17X}))
>       unix-2.3.0.0:System.Posix.Signals.Ignore{v rov6} [gid]
>       (base:Data.Maybe.Nothing{v r6E} [gid]
>          @ <nt>unix-2.3.0.0:System.Posix.Signals.SignalSet{tc rov5})
>       eta{v apCg} [lid]
>     (# base:GHC.Prim.State#{(w) tc 32q}
>          base:GHC.Prim.RealWorld{(w) tc 31E},
>        <nt>unix-2.3.0.0:System.Posix.Signals.SignalSet{tc rov5} #)

New description:

 While compiling Cabal-1.6.0.1, as packaged with Cabal-0.6.0, I got:
 {{{
 [16 of 50] Compiling Distribution.Simple.Utils (
 Distribution/Simple/Utils.hs, dist/build/Distribution/Simple/Utils.o )
 ghc-6.8.2: panic! (the 'impossible' happened)
   (GHC version 6.8.2 for x86_64-unknown-linux):
         applyTypeToArgs
     unix-2.3.0.0:System.Posix.Signals.a38{v rov8} [gid]
       (unix-2.3.0.0:System.Posix.Signals.a5{v rov7} [gid]
        `cast` (base:GHC.Prim.sym{(w) tc 34v}
                  (base:Foreign.C.Types.:CoCInt{tc r1dN})
                :: <pred>base:GHC.Int.Int32{tc 3V}
                           ~
                         <nt>base:Foreign.C.Types.CInt{tc r17X}))
       unix-2.3.0.0:System.Posix.Signals.Ignore{v rov6} [gid]
       (base:Data.Maybe.Nothing{v r6E} [gid]
          @ <nt>unix-2.3.0.0:System.Posix.Signals.SignalSet{tc rov5})
       eta{v apCg} [lid]
     (# base:GHC.Prim.State#{(w) tc 32q}
          base:GHC.Prim.RealWorld{(w) tc 31E},
        <nt>unix-2.3.0.0:System.Posix.Signals.SignalSet{tc rov5} #)
 }}}

Comment:

 That's odd; we use Cabal in GHC itself, so we compile it all the time.

 Does the same thing happen with GHC 6.10?  You might want to remove all
 `.hi` files, just in case there's some kind of out-of-date-ness fooling
 the recompilation checker.

 If it works in 6.10, we'll probably treat this as won't-fix because we
 won't release another version of 6.8.  If it fails in 6.10, please can you
 describe exactly how to reproduce it?  Many thanks.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2878#comment:2>
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

Reply via email to