Upgrade MingW-w64 distributions for windows
This is the second part of splitting up #9218 (closed).
The goal is to move GHC x86
from MingW
to MingW-w64
and to upgrade both the x86
and the x86_64
toolchains shipped with GHC
to newer versions.
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | #9014 (closed), #9218 (closed), #10435 (closed) |
Blocking | |
CC | |
Operating system | |
Architecture |
- Show closed items
Relates to
- #107957.10.3
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- lukexi mentioned in issue #3242 (closed)
mentioned in issue #3242 (closed)
- Michael Snoyman mentioned in issue #8596 (closed)
mentioned in issue #8596 (closed)
- Tamar Christina mentioned in issue #9014 (closed)
mentioned in issue #9014 (closed)
- Tamar Christina mentioned in issue #9218 (closed)
mentioned in issue #9218 (closed)
- Tamar Christina mentioned in issue #10435 (closed)
mentioned in issue #10435 (closed)
- Thomas Miedema mentioned in issue #10672 (closed)
mentioned in issue #10672 (closed)
- Tamar Christina changed weight to 5
changed weight to 5
- Tamar Christina added Ttask Trac import labels
added Ttask Trac import labels
- Author Developer
Chosen
MinGW-w64
build for this are thedongsheng
daily builds from theMinGW-w64
repository. Which avoids the issues mentioned in #9014 (closed) .The
GCC
versions will be upgraded to5.1.1
.To be complete the
dongsheng
builds contain:binutils 2.25 gdb 7.9.1 make 4.1 gmp 6.0.0 mpfr 3.1.3 mpc 1.0.3 isl 0.14.1 mingw-w64 master gcc 5.1.1
- Author Developer
Trac metadata
Trac field Value Differential revisions - → D1123 Could we, perhaps, use Msys2 builds for this? They are of a high quality and pretty well supported. Also they have gcc-5.2 and, most important, recently released binutils-2.25.1 which have a very important bug (wrong linking of 64-bit import libraries generated by MS linker) fixed.
As of today the transitive closure of packages required is (I believe) this:
mingw-w64-x86_64-crt-git-5.0.0.4531.49c7046-1 mingw-w64-x86_64-winpthreads-git-5.0.0.4538.78dca70-1 mingw-w64-x86_64-headers-git-5.0.0.4531.49c7046-1 mingw-w64-x86_64-libwinpthread-git-5.0.0.4538.78dca70-1 mingw-w64-x86_64-zlib-1.2.8-8 mingw-w64-x86_64-isl-0.14.1-2 mingw-w64-x86_64-mpc-1.0.3-2 mingw-w64-x86_64-mpfr-3.1.3.p0-2 mingw-w64-x86_64-gmp-6.0.0-3 mingw-w64-x86_64-gcc-libs-5.2.0-3 mingw-w64-x86_64-binutils-2.25.1-1 mingw-w64-x86_64-libiconv-1.14-5 mingw-w64-x86_64-gcc-5.2.0-3
The new repo of Msys2 packages is http://repo.msys2.org/mingw.
- Author Developer
I have no problems with that. I'll try to modify the script tomorrow and let validate run over night.
I will keep them all separate packages and download each individually. I think that gives us a bit more control over updating the packages. Unless you think we should group them in one large tar file?
- Maintainer
- Author Developer
I've updated the toolchains to 5.2.0. Validate on
x86_64
looks good again, still fixing a few tests onx86
. See Phabricator. - Tamar Christina mentioned in commit 7b211b4e
mentioned in commit 7b211b4e
Replying to [ticket:10726#comment:103382 awson]:
recently released binutils-2.25.1 which have a very important bug (wrong linking of 64-bit import libraries generated by MS linker) fixed.
Strictly speaking, binutils-2.25.1 doesn't have this bug fixed, but its MSys2 build *has* the relevant patch (and a couple of other useful patches) applied.
- Tamar Christina closed
closed
- Author Developer
Trac metadata
Trac field Value Resolution Unresolved → ResolvedFixed - joozek78 mentioned in issue #10795 (closed)
mentioned in issue #10795 (closed)
- joozek78 mentioned in issue #10795 (closed)
mentioned in issue #10795 (closed)