[GHC] #8734: 7.8.1 rc1 ghci won't load compiled files

GHC ghc-devs at haskell.org
Wed Feb 5 01:48:25 UTC 2014


#8734: 7.8.1 rc1 ghci won't load compiled files
------------------------------------------------+--------------------------
        Reporter:  George                       |            Owner:
            Type:  bug                          |           Status:  closed
        Priority:  high                         |        Milestone:  7.8.1
       Component:  Documentation                |          Version:
      Resolution:  invalid                      |  7.8.1-rc1
Operating System:  MacOS X                      |         Keywords:
 Type of failure:  Incorrect result at runtime  |     Architecture:
       Test Case:                               |  Unknown/Multiple
        Blocking:                               |       Difficulty:
                                                |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by thoughtpolice):

 We highlighted it in the release notes ("As a result of this, GHCi (and
 Template Haskell) must now load dynamic object files...") but it perhaps
 warrants a bigger mention. I do think the part you quoted should be
 changed.

 The basic idea is pretty simple: GHC now just uses the system dynamic
 linker to load code. That's all. So it needs dynamically linked object
 files. GHC normally compiles statically, though (and there are advantages
 to this.) So now you need to compile "statically and dynamically at the
 same time."

 I'll revise this in the user manual.

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


More information about the ghc-tickets mailing list