#5004: yesod-0.7.1 causes panic on Arch's ghc 7.0.2
---------------------------------+------------------------------------------
    Reporter:  pbrisbin          |       Owner:            
        Type:  bug               |      Status:  new       
    Priority:  normal            |   Component:  Compiler  
     Version:  7.0.2             |    Keywords:            
    Testcase:                    |   Blockedby:            
          Os:  Linux             |    Blocking:            
Architecture:  Unknown/Multiple  |     Failure:  GHCi crash
---------------------------------+------------------------------------------
Changes (by slyfox):

 * cc: slyfox@… (added)
  * failure:  Compile-time crash => GHCi crash
  * architecture:  x86_64 (amd64) => Unknown/Multiple


Comment:

 I confirm the same problem with gentoo's package.
 We strip out debug info from archives when install
 package.

 Simpler testcase:
 {{{
 prefix@sf ~ $ ghci -package ghc
 GHCi, version 7.0.2: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package array-0.3.0.2 ... linking ... done.
 Loading package containers-0.4.0.0 ... linking ... done.
 Loading package filepath-1.2.0.0 ... linking ... done.
 Loading package old-locale-1.0.0.2 ... linking ... done.
 Loading package old-time-1.0.0.6 ... linking ... done.
 Loading package unix-2.4.2.0 ... linking ... done.
 Loading package directory-1.1.0.0 ... linking ... done.
 Loading package pretty-1.0.1.2 ... linking ... done.
 Loading package process-1.0.1.5 ... linking ... done.
 Loading package Cabal-1.10.1.0 ... linking ... done.
 Loading package bytestring-0.9.1.10 ... linking ... done.
 Loading package ghc-binary-0.5.0.2 ... linking ... done.
 Loading package bin-package-db-0.0.0.0 ... linking ... done.
 Loading package hpc-0.5.0.6 ... linking ... done.
 Loading package template-haskell ... linking ... done.
 Loading package ghc-7.0.2 ... ghc:
 /home/prefix/gentoo/usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a: no
 string tables, or too many
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.0.2 for i386-unknown-linux):
         loadArchive
 "/home/prefix/gentoo/usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a": failed

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

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