
#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