
#8986: GHC panic while installing distributive library on Mac OS X Mavericks ------------------------------------+------------------------------------- Reporter: mvanier | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- While trying to install Snap from cabal, the install failed while installing the distributive-0.4.3.1 library. Specifically, I got this:
cabal install distributive Resolving dependencies... [1 of 1] Compiling Main ( /var/folders/76/d5y5v4wx7ybccp__l44r5cg00000gn/T/distributive-0.4.3.1-16721/distributive-0.4.3.1/Setup.lhs, /var/folders/76/d5y5v4wx7ybccp__l44r5cg00000gn/T/distributive-0.4.3.1-16721/distributive-0.4.3.1/dist/setup/Main.o ) Linking /var/folders/76/d5y5v4wx7ybccp__l44r5cg00000gn/T/distributive-0.4.3.1-16721/distributive-0.4.3.1/dist/setup/setup ... Configuring distributive-0.4.3.1... Building distributive-0.4.3.1... Preprocessing library distributive-0.4.3.1... [1 of 2] Compiling Data.Distributive.Generic ( src/Data/Distributive/Generic.hs, dist/build/Data/Distributive/Generic.o ) [2 of 2] Compiling Data.Distributive ( src/Data/Distributive.hs, dist/build/Data/Distributive.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package transformers-0.3.0.0 ... linking ... done. Loading package transformers-compat-0.1.1.1 ... ghc: /Users/mvanier/Library/Haskell/ghc-7.6.3/lib/transformers- compat-0.1.1.1/lib/HStransformers-compat-0.1.1.1.o: Bad magic. Expected: feedfacf, got: feedface.
ghc: panic! (the 'impossible' happened) (GHC version 7.6.3 for x86_64-apple-darwin): loadObj "/Users/mvanier/Library/Haskell/ghc-7.6.3/lib /transformers-compat-0.1.1.1/lib/HStransformers-compat-0.1.1.1.o": failed Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Failed to install distributive-0.4.3.1 cabal: Error: some packages failed to install: distributive-0.4.3.1 failed during the building phase. The exception was: ExitFailure 1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8986 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler