[GHC] #14312: Head does not build on Windows with the default make config.

GHC ghc-devs at haskell.org
Mon Oct 16 22:47:23 UTC 2017


#14312: Head does not build on Windows with the default make config.
-------------------------------------+-------------------------------------
        Reporter:  AndreasK          |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4080
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 OK, this is a problem, the real issue here if `capi`.

 In a foreign import such as `foreign import capi unsafe "HsBase.h
 tcsetattr"` the header can be a local or a system include. Which leaves is
 how to generate the includes. We'd need to use quoted paths to get local
 headers in the same folder, but then we won't be able to use system
 headers, however I don't see a way around it without a backwards
 incompatible change...

 @bgamari, what do you think. Is the cost worth the change here? Keep in
 mind this isn't Windows specific. You should get the same error on any
 system.

 Directory has been updated so we can just update the submodule to fix it.

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


More information about the ghc-tickets mailing list