[GHC] #12152: panic: Loading temp shared object failed

GHC ghc-devs at haskell.org
Sat Jun 4 22:39:04 UTC 2016


#12152: panic: Loading temp shared object failed
-------------------------------------+-------------------------------------
           Reporter:  crockeea       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.3
  (Linking)                          |
           Keywords:                 |  Operating System:  Linux
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I've attached a no-Haskell-code project that fails when I run `cabal repl`
 with the following:


 {{{
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.3 for x86_64-unknown-linux):
         Loading temp shared object failed: /tmp/ghc60744_0/libghc_1.so:
 undefined symbol: _ZN2Zq1qE
 }}}

 Building the project works fine, so the problem seems to be (only) with
 dynamic linking. The issue can be resolved by swapping the order of the
 .cpp files in the cabal file.

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


More information about the ghc-tickets mailing list