Skip to content

loading stripped libHsghc-7.0.2.a fails

Arch linux's ghc package was upgraded to 7.0.2 this weekend. I unregistered all cabal packages, removed ~/.cabal/packages/*/* and ~/.ghc in an effort to start fresh.

I successfully installed quite a few packages via cabal install.

You can find my current ghc-pkg list here.

At cabal install yesod, I get the following:

...
Loading package MonadCatchIO-mtl-0.3.0.2 ... linking ... done.
Loading package Cabal-1.10.1.0 ... 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 ghc-7.0.2 ... ghc: This ELF file contains no symtab
ghc: panic! (the 'impossible' happened)
  (GHC version 7.0.2 for x86_64-unknown-linux):
        loadArchive "/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

cabal: Error: some packages failed to install:
yesod-0.7.1 failed during the building phase. The exception was:
ExitFailure 1

I'm reporting here because I was specifically asked to by ghc (I almost always assume these things are my fault), please let me know what additional info you would like in this report.

Thanks.

Trac metadata
Trac field Value
Version 7.0.2
Type Bug
TypeOfFailure CompileTimeCrash
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture x86_64 (amd64)
Edited by Jens Petersen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information