[GHC] #16073: Hadrian build fails on Windows

GHC ghc-devs at haskell.org
Fri Jan 11 16:36:12 UTC 2019


#16073: Hadrian build fails on Windows
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.8.1
       Component:  Build System      |              Version:  8.6.3
  (Hadrian)                          |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by alpmestan):

 I don't know why, but I just can't reproduce this, I always go past the
 point of registering the stage 1 RTS. Apparently, Andrey hasn't run into
 this either since he reported that his Windows builds were working just
 fine except for the Shake `--lint` problems from #15971.

 What I did run into is a failure to copy `_build/stage1/lib/x86_64
 -windows-ghc-8.7.[...]/rts-1.0/include` to `_build/bindist/ghc-8.7
 .[...]-unknown-mingw32`, because the former doesn't exist. What does exist
 is `_build/stage1/x86_64-windows-ghc-8.7.[...]/rts-1.0/include`, that is,
 without the `lib` in the middle. This seems quite wrong.

 As a reference, on my usual Linux system, the rts include dir is located
 under `_build/stage1/lib/x86_64-linux-ghc-8.7.20190111/rts-1.0/include`.
 This is from the same GHC commit as the one with which I tried to build a
 bindist on Windows.

 Andrey, I am failing to see where in Hadrian we could be doing things
 differently on Windows and other systems. Do you have any idea of what's
 going on?

 This doesn't help solve the error that the Windows CI runs into though.

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


More information about the ghc-tickets mailing list