[GHC] #13400: realgcc.exe do not run GHCi in Windows in a particular case

GHC ghc-devs at haskell.org
Wed Mar 15 19:37:33 UTC 2017


#13400: realgcc.exe do not run GHCi in Windows in a particular case
-----------------------------+----------------------------------------
        Reporter:  vanto     |                Owner:  (none)
            Type:  bug       |               Status:  closed
        Priority:  normal    |            Milestone:
       Component:  Compiler  |              Version:  8.0.2
      Resolution:  fixed     |             Keywords:
Operating System:  Windows   |         Architecture:  Unknown/Multiple
 Type of failure:  Other     |            Test Case:
      Blocked By:            |             Blocking:
 Related Tickets:            |  Differential Rev(s):
       Wiki Page:            |
-----------------------------+----------------------------------------
Changes (by Phyx-):

 * status:  upstream => closed
 * resolution:   => fixed


Comment:

 It seems that the `GCC` in `GHC 8.0.1` and `GHC 8.0.2` were built on a
 path `D:\develop`. This path ended up being hard coded into the binary and
 it's checked when compiling things.

 This results in the following access:

 [[Image(https://cloud.githubusercontent.com/assets/1177385/23966480/683f0300-09b3-11e7
 -8c6e-e1003d53402d.png)]]

 Because of this, you guys with `D:\` mapped to a removable drive get the
 dialog. This is a bit out of our control. But it seems that the `GCC` that
 will be used for the upcoming `GHC 8.2` release uses `C:\building`. Since
 in 99% of the cases everyone has a fixed drive on `C:\` if it's available,
 then it should work.

 So for now, I can recommend a workaround of changing the removable storage
 from `D:\` to something else, or wait for `GHC 8.2.1`.

 This is about as fixed as it's going to get. We'll try to keep an eye out
 in the future for what the build directory is. But we don't build `GCC`.

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


More information about the ghc-tickets mailing list