[GHC] #9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python -------------------------------------------+---------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type checker) | Version: 7.8.2 Keywords: | Operating System: Windows Architecture: x86_64 (amd64) | Type of failure: Other Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------------+---------------------------- The released Windows 64 tarball available at https://www.haskell.org/ghc/dist/7.8.2/ghc-7.8.2-x86_64-unknown- mingw32.tar.xz includes the following under `mingw/bin`: * gfortran * gcj * python27.dll * The whole Python 2.7 standard library (`mingw/bin/lib`) These files have probably been included by mistake. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python -------------------------------------+------------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 (Type checker) | Keywords: Resolution: | Architecture: x86_64 (amd64) Operating System: Windows | Difficulty: Unknown Type of failure: Other | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by gintas): * cc: gintas (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------------+---------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | ---------------------------------------+---------------------------------- Changes (by thomie): * cc: thoughtpolice (added) * version: 7.8.2 => 7.8.3 * component: Compiler (Type checker) => Build System * milestone: => 7.10.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: | Differential Revisions: ---------------------------------+----------------------------------------- Changes (by thomie): * blocking: => 9218 Comment: The solution is to either: * use a different (smaller) mingw binary package from somewhere or * copy only the stuff we actually need during installation Note that we do want a C++ compiler (#3893). -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: | Differential Revisions: ---------------------------------+----------------------------------------- Changes (by RyanGlScott): * cc: RyanGlScott (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: | Differential Revisions: ---------------------------------+----------------------------------------- Comment (by Phyx-): Aren't we hosting the tar-balls in a different git repository? we can just repackage it there which would be the least amount of work. Alternatively, we seem to be using Rubenvb's msys2 builds, so we could just modify the build scripts https://github.com/rubenvb/MinGW-w64-build- scripts and remove what we don't need and use these in the repo. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: | Differential Revisions: ---------------------------------+----------------------------------------- Changes (by Phyx-): * cc: Phyx- (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Phyx- Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: #10726 #9218 | Differential Revisions: ---------------------------------+----------------------------------------- Changes (by Phyx-): * owner: => Phyx- * related: => #10726 #9218 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Phyx- Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: #10726 #9218 | Differential Revisions: ---------------------------------+----------------------------------------- Comment (by Phyx-): I am currently testing an upgrade to `GCC 5.1.1` for both `x86` and `x86_64` builds. It will be using the `dongsheng` daily builds from the `MinGW-w64` repository which has no `python` or `fortran` dependencies and so is significantly smaller. It however does seem to contain everything we need. This is done in #10726 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Phyx- Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: #10726 #9218 | Differential Revisions: ---------------------------------+----------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"7b211b4e5a38efca437d76ea442495370da7cc9a/ghc" 7b211b4/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="7b211b4e5a38efca437d76ea442495370da7cc9a" Upgrade GCC to 5.2.0 for Windows x86 and x86_64 This patch does a few things - Moved GHC x86 to MinGW-w64 (Using Awson's patch) - Moves Both GHCs to MSYS2 toolchains - Completely removes the dependencies on the git tarball repo - Downloads only the required tarball for the architecture for which we are building - Downloads the perl tarball is missing as well - Fixed a few bugs in the linker to fix tests on Windows The links currently point to repo.msys2.org and GitHub, it might be more desirable to mirror them on http://downloads.haskell.org/~ghc/mingw/ as with the previous patch attempt. For more details on what the MSYS2 packages I include see #10726 (Awson's comment). but it should contain all we need and no python or fortran, which makes the uncompressed tar a 1-2 hundreds mb smaller. The `GCC 5.2.0` in the package supports `libgcc` as a shared library, this is a problem since when compiling with -shared the produced dll now has a dependency on `libgcc_s_sjlj-1.dll`. To solve this the flag `-static-libgcc` is now being used for all GCC calls on windows. Test Plan: ./validate was ran both on x86 and x86_64 windows and compared against the baseline. A few test were failing due to Ld no longer being noisy. These were updated. The changes to the configure script *should* be validated by the build bots for the other platforms before landing Reviewers: simonmar, awson, bgamari, austin, thomie Reviewed By: thomie Subscribers: #ghc_windows_task_force, thomie, awson Differential Revision: https://phabricator.haskell.org/D1123 GHC Trac Issues: #10726, #9014, #9218, #10435 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9014: GHC 7.8.2 Win64 tarball includes gfortran/gcj/python ---------------------------------+----------------------------------------- Reporter: refold | Owner: Phyx- Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.8.3 Resolution: fixed | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: 9218 Related Tickets: #10726 #9218 | Differential Revisions: ---------------------------------+----------------------------------------- Changes (by Phyx-): * status: new => closed * resolution: => fixed Comment: The new builds should have a smaller footprint. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9014#comment:11> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC