[GHC] #9101: Build 7.8.2 from sources on Windows/msys2

#9101: Build 7.8.2 from sources on Windows/msys2 ------------------------------------+--------------------------------- Reporter: cchantep | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Keywords: | Operating System: Windows Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+--------------------------------- Hi, Trying to build GHC 7.8.2 from sources on Windows 7, from msys2 shell, required binaries such as gcc, ld, ar are forced to those in inplace directories (windows-extra), even system/env provide such tools (e.g. using pacman package manager in msys2): https://ghc.haskell.org/trac/ghc/browser/ghc/configure.ac#L274 . It leads to issues as tools in inplace are quite old. Particularly it can be critical about linking: GHC will be working with old ld, but you can have built/linked libraries using the more recent ld. Then, what's built using system tool can't be used throught GHC (ld version conflict). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9101 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9101: Build 7.8.2 from sources on Windows/msys2 -------------------------------------+------------------------------------- Reporter: cchantep | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by gintas): * cc: gintas (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9101#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9101: Build 7.8.2 from sources on Windows/msys2 -------------------------------------+------------------------------------- Reporter: cchantep | Owner: gintas Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by gintas): * owner: => gintas Comment: I'm looking into this, updating the wikipage as I go. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9101#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9101: Need option to use system gcc and binutils on Windows/msys2 -------------------------------------+------------------------------------- Reporter: cchantep | Owner: gintas Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.2 Component: Build | Keywords: System | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: Windows | Blocked By: Type of failure: | Related Tickets: #9218 None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by gintas): * type: bug => feature request * component: Compiler => Build System * related: => #9218 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9101#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

Trying to build GHC 7.8.2 from sources on Windows 7, from msys2 shell, required binaries such as gcc, ld, ar are forced to those in inplace
#9101: Need option to use system gcc and binutils on Windows/msys2 -------------------------------------+------------------------------------- Reporter: cchantep | Owner: gintas Type: feature request | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.8.2 Resolution: wontfix | Keywords: Operating System: Windows | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #9218 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => wontfix Comment: directories (windows-extra) I understand this is by design. Quoting Simon in this [https://mail.haskell.org/pipermail/ghc-devs/2014-June/005174.html email] to ghc-devs: "We physically include very selective chunks of MinGW in a GHC Windows distribution - so that users don't need to install MinGW - so that GHC doesn't break just because a user has a different version of MinGW than we expected We keep these chunks of MinGW in the GHC repo (in ghc-tarballs) precisely so that we know exactly which bits to ship. The intention is that the MinGW bits shipped with GHC are essentially invisible to the user. They just see a ghc.exe, which just happens internally to call some Mingw binaries." But the version of MinGW shipped with GHC at the moment is indeed out of date. Please subscribe to #9218 for updates. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9101#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC