[GHC] #16145: runghc with -fobject-code and -osuf fails to find dependencies

GHC ghc-devs at haskell.org
Mon Jan 7 15:49:39 UTC 2019


#16145: runghc with -fobject-code and -osuf fails to find dependencies
-------------------------------------+-------------------------------------
           Reporter:  adamse         |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.6.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 F.hs:
 {{{#!hs
 module F where

 import G

 main = g
 }}}

 G.hs:
 {{{#!hs
 module G where

 g = print ()
 }}}

 Running:
 {{{
 $ runghc --version
 runghc 8.6.2
 $ runghc -- -fobject-code -osuf=hs.o F
 *** Exception: G.hs.o: getModificationTime:getFileStatus: does not exist
 (No such file or directory)
 }}}

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


More information about the ghc-tickets mailing list