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

GHC ghc-devs at haskell.org
Sun Jun 5 03:00:22 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)                          |
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by crockeea):

 In bug.tar.gz, a workaround to get `cabal repl` working is to swap the
 order of the cpp files in the `c-sources` section of the cabal file.

 However, stack links the `c-sources` in alphabetical order, regardless of
 the order in the cabal file. This means I still get the linking error when
 I run `stack ghci` (if the file that should be linked first is
 alphabetically after another c-source file), and I don't know of a
 workaround in that case.

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


More information about the ghc-tickets mailing list