Skip to content

ghc-6.12.1rc1 on Nix: ghci does not work

After building the ghc-6.12.1 release candidate on a 32-bit Arch Linux machine using Nix, ghci fails to start with the following error:

GHCi, version 6.12.0.20091010: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
ghc-stage2: /nix/store/nkg79yilgrdcfpkrfvr15jrg2v49svrn-ghc-6.12.0.20091010/lib/ghc-6.12.0.20091010/HSffi.o: no string tables, or too many
Loading package ffi-1.0 ... ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 6.12.0.20091010 for i386-unknown-linux):
	loadObj: failed

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

I know that I encountered this problem before when trying to build the HEAD a couple of months before, but I didn't ever have this problem with ghc-6.10.* using Nix.

Any ideas?

Trac metadata
Trac field Value
Version 6.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information