When testing ghc-7.8.2.20140609 with Stackage, I came across the following ghc panic:
[51 of 62] Compiling Data.Comp.Ordering ( src/Data/Comp/Ordering.hs, dist/build/Data/Comp/Ordering.o )ghc: panic! (the 'impossible' happened) (GHC version 7.8.2.20140609 for x86_64-unknown-linux): Loading temp shared object failed: /tmp/ghc4836_0/ghc4836_257.so: undefined symbol: compdatazm0zi8zi1zi0_DataziCompziDeriveziUtils_zdwabstractConType_infoPlease report this as a GHC bug: http://www.haskell.org/ghc/reportabugFailed to install compdata-0.8.1.0
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
That's right, I asked Michael to file this, I just haven't had time to get to it yet (I've been in merge limbo for the past two days with some of the latest patches, so I may drop some of them at this point).
Hmm, I was unable to reproduce this with the latest 7.8 commit 32b4bf33. Strange since I assume that's very similar if not identical to your GHC version 7.8.2.20140609.
Fwiw, I can confirm this with the current ghc-7.8.3 PPA .deb which is supposed to correspond to 32b4bf33
Fwiw, ghc-7.8.3-7.8.2.20140609-1 reports the wrong version (7.8.2.20140603) due to a stale VERSION file in the tharball, that's supposed to be fixed by ghc-7.8.3-7.8.2.20140609-2 which is building right now
if #9186 (closed) is a regression, it is almost certainly caused by 2f8b4c93, but it's probably best to just back that out if it's the last thing holding up the release
I just built GHC myself with the same commit (32b4bf33) and experienced the same problem with compdata.
What steps exactly are you taking to encounter this error? Can you paste your relevant Cabal configuration? Are you using -j for either cabal-install or ghc?
Also, I wonder if we could be seeing different behavior from the system linker. What distribution/version are you running?
I've reproduced the same error whether I use cabal install or cabal install -j. I did the building in a fresh hsenv with a standard cabal config file: http://lpaste.net/105744. I got the same issues from:
Yes, this bug is particularly weird because on e.g. my Debian machine where I cook the release images, this does not happen. But it does on Ubuntu 12.04.
I have a potential fix incoming with a binary build people should test.