Skip to content

Building NDP fails with GHC panic on x86_64

With the latest GHC and NDP from darcs I get the following during the compilation of NDP on my Intel Core 2 Quad (x86_64) system:

[ 7 of 78] Compiling Data.Array.Parallel.Base.Rebox ( Data/Array/Parallel/Base/Rebox.hs, dist/build/Data/Array/Parallel/Base/Rebox.o )
ghc-6.9.20080605: panic! (the 'impossible' happened)
  (GHC version 6.9.20080605 for x86_64-unknown-linux):
	initC: srt_lbl

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

This is what I did to get to that point:

$ darcs get --partial http://darcs.haskell.org/ghc
$ cd ghc
$ chmod a+x darcs-all
$ ./darcs-all get

I then copied mk/build.mk.sample to mk/build.mk, uncommenting the line "BuildFlavour = perf", after which:

$ sh boot
$ ./configure
$ make
$ cd libraries
$ darcs get http://darcs.haskell.org/packages/ndp/
$ make make.library.ndp
Trac metadata
Trac field Value
Version 6.9
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