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

GHC ghc-devs at haskell.org
Tue Feb 4 22:03:22 UTC 2014


#8734: 7.8.1 rc1 ghci won't load compiled files
------------------------------------------------+--------------------------
        Reporter:  George                       |            Owner:
            Type:  bug                          |           Status:  new
        Priority:  high                         |        Milestone:  7.8.1
       Component:  GHCi                         |          Version:
      Resolution:                               |  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 George):

 Following is script showing that 7.8.1-rc1 ghci won't load compiled files
 on Mac

 {{{
  /usr/local/bin/ghc Bug.hs
 [1 of 1] Compiling Main             ( Bug.hs, Bug.o )
 Linking Bug ...
 bash-3.2$ /usr/local/bin/ghci
 GHCi, version 7.8.20140130: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> :load bug
 [1 of 1] Compiling Main             ( bug.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> :show modules
 Main             ( bug.hs, interpreted )
 *Main>

 but it did load .o files on 7.6.3:

  /usr/bin/ghc Bug.hs
 [1 of 1] Compiling Main             ( Bug.hs, Bug.o )
 Linking Bug ...
 bash-3.2$ /usr/bin/ghci
 GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> :load Bug
 Ok, modules loaded: Main.
 Prelude Main> :show modules
 Main             ( Bug.hs, Bug.o )
 }}}

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


More information about the ghc-tickets mailing list