[GHC] #8641: ghc with -odir and -prof (or any stub file) does not create the specified output directory (was: ghc with -odir and -prof does not create the specified output directory)

GHC ghc-devs at haskell.org
Thu Apr 10 12:25:55 UTC 2014


#8641: ghc with -odir and -prof (or any stub file) does not create the specified
output directory
---------------------------------------+-----------------------------------
        Reporter:  wmarshall           |            Owner:  ezyang
            Type:  bug                 |           Status:  new
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.9
      Resolution:                      |         Keywords:
Operating System:  Unknown/Multiple    |     Architecture:
 Type of failure:  Compile-time crash  |  Unknown/Multiple
       Test Case:                      |       Difficulty:  Unknown
        Blocking:                      |       Blocked By:
                                       |  Related Tickets:
---------------------------------------+-----------------------------------
Changes (by ezyang):

 * owner:   => ezyang
 * version:  7.6.3 => 7.9


Comment:

 Applies to Linux too. The actual source of the problem is when compilation
 of the file involves a stub file (so foreign exports will trigger this
 too); we've forgotten to call createDirectoryIfMissing in
 DriverPipeline.hs.  Should be easy to fix but I need to cook up a test-
 case...

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


More information about the ghc-tickets mailing list