[GHC] #14025: Object file is put in wrong directory when any source has absolute path

GHC ghc-devs at haskell.org
Sun Jul 23 21:49:58 UTC 2017


#14025: Object file is put in wrong directory when any source has absolute path
-------------------------------------+-------------------------------------
           Reporter:  literon        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           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:
-------------------------------------+-------------------------------------
 Files: `/tmp/e/A.hs`, `/tmp/e/dep.c`. Current dir: `/tmp/e`.

 `ghc -odir /tmp/xyzzy A.hs dep.c`: works as expected, puts `dep.o` in
 `/tmp/xyzzy`.

 But try to prefix either `A.hs` or `dep.c` (or both) with `/tmp/e/`, and
 suddenly `dep.o` is put in `/tmp/e`, not in `/tmp/xyzzy`.

 Couldn't check with 8.2.1 yet.

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


More information about the ghc-tickets mailing list