
#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 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by adamse: Old description:
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) }}}
New description: 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) $ ls F.hs G.hi G.hs G.hs.hs.o }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16145#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler