[GHC] #9704: GHC fails with "Loading temp shared object failed"

GHC ghc-devs at haskell.org
Sat Oct 18 22:30:05 UTC 2014


#9704: GHC fails with "Loading temp shared object failed"
-------------------------------------+-------------------------------------
       Reporter:  MaxGabriel         |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.8.3
       Keywords:                     |        Operating System:  MacOS X
   Architecture:  Unknown/Multiple   |         Type of failure:  Compile-
     Difficulty:  Unknown            |  time crash
     Blocked By:                     |               Test Case:
Related Tickets:  9074               |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 While developing Yesod project on GHC 7.8.3, `cabal install --force-
 reinstalls` failed with the following error:

 {{{
 [9 of 9] Compiling Application      ( Application.hs, dist/dist-sandbox-
 e4ea4713/build/Application.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.8.3 for x86_64-apple-darwin):
         Loading temp shared object failed:
 dlopen(/var/folders/qk/6s42bj3n6g30fyqf6mc2x_c80000gn/T/ghc13386_0/ghc13386_53.dylib,
 9): Symbol not found:
 _aesonzm0zi8zi0zi1_DataziAesonziTypesziInternal_zdsfromList1_closure
   Referenced from:
 /var/folders/qk/6s42bj3n6g30fyqf6mc2x_c80000gn/T/ghc13386_0/ghc13386_53.dylib
   Expected in: flat namespace
  in
 /var/folders/qk/6s42bj3n6g30fyqf6mc2x_c80000gn/T/ghc13386_0/ghc13386_53.dylib

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

 cabal: Error: some packages failed to install:
 MyBlog-0.0.0 failed during the building phase. The exception was:
 ExitFailure 1
 }}}

 (Full output at https://gist.github.com/MaxGabriel/847561107e4ee2e869f1.
 Verbose output at https://gist.github.com/MaxGabriel/10c2c3c253815b3f392a)

 Following compilation, both aeson-0.8.0.1 and aeson-0.8.0.2 are present in
 the sandbox. Running `cabal install` again yields the same error (full
 output at https://gist.github.com/MaxGabriel/9aa530105d68a613de11).

 The code for the project as it was when the panic happened is available
 here: https://github.com/MaxGabriel/MyBlog-GHC-Panic

 Is there more information I could provide to diagnose the bug?

 I'll probably wipe the sandbox and try recompiling in a bit.

 Version info:
 OS : OS X 10.10 (14A389) (Yosemite)
 Cabal: cabal-install version 1.20.0.3 using version 1.20.0.1 of the Cabal
 library
 GHC: The Glorious Glasgow Haskell Compilation System, version 7.8.3

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9704>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list