[GHC] #9074: GHC 7.8.2's ghci does not track missing symbols when loading non-Haskell object files

GHC ghc-devs at haskell.org
Wed Jul 23 17:12:59 UTC 2014


#9074: GHC 7.8.2's ghci does not track missing symbols when loading non-Haskell
object files
-------------------------------------+-------------------------------------
              Reporter:  massysett   |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by crockeea):

 I'm also experiencing this problem. The problem affects GHC 7.8.2 and
 GHCi. I'm loading files using:

     : ghci[i] Foo Objects/*.o

 which fails:

     ghc: panic! (the 'impossible' happened)
      (GHC version 7.8.2 for x86_64-unknown-linux):
         Loading temp shared object failed: /tmp/ghc20682_0/ghc20682_3.so:
 undefined symbol: foo

 If I explicitly list out each object file in the "correct" order, I can
 get GHC to compile.

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


More information about the ghc-tickets mailing list