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

GHC ghc-devs at haskell.org
Mon Jan 7 16:43:29 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
      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:                    |
-------------------------------------+-------------------------------------

Comment (by adamse):

 It seems that putting {{{hs.}}} anywhere breaks:
 {{{
 $ runghc -- -fobject-code -osuf=xxxhs.o F
 *** Exception: G.xxxhs.o: getModificationTime:getFileStatus: does not
 exist (No such file or directory)
 }}}

 But a osuf without hs. works fine:

 {{{
 $ runghc -- -fobject-code -osuf=xxxhso F
 ()
 }}}

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


More information about the ghc-tickets mailing list