[GHC] #3103: Compiling base with cabal fails.

GHC cvs-ghc at haskell.org
Mon Jan 21 16:26:18 CET 2013


#3103: Compiling base with cabal fails.
---------------------------------+------------------------------------------
    Reporter:  Lemmih            |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  high              |   Milestone:  7.8.1           
   Component:  Compiler          |     Version:  6.10.1          
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:  T3103           
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by monoidal):

 Not sure if this matters, but when I do "cabal build" with HEAD only a
 warning is given instead of a panic:

 {{{
 [ 69 of 196] Compiling Foreign.Ptr      ( Foreign/Ptr.hs,
 dist/build/Foreign/Ptr.o )
 The interface for `base:GHC.Num'
 Declaration for $fNumWord_$csignum
 Unfolding of GHC.Num.$fNumWord_$csignum:
   Can't find interface-file declaration for data constructor GHC.Types.W#
     Probable cause: bug in .hi-boot file, or inconsistent .hi file
     Use -ddump-if-trace to get an idea of which file caused the error
 }}}

 and the compilation succeeds. The warning is suspect, though.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3103#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list