Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0
@ 2020-10-13 18:59 alekseyt
  2020-10-15  4:41 ` ericonr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: alekseyt @ 2020-10-13 18:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

There is a new pull request by alekseyt against master on the void-packages repository

https://github.com/alekseyt/void-packages mingw-v8
https://github.com/void-linux/void-packages/pull/25576

cross-x86_64-w64-mingw32: update to 8.0.0
* Mingw-w64 8.0.0
* GCC 10.2.0
* Other dependencies harmonized with mainline
* Incorporates #16891

A patch file from https://github.com/void-linux/void-packages/pull/25576.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mingw-v8-25576.patch --]
[-- Type: text/x-diff, Size: 3825 bytes --]

From d72769b7d5f03b07a9af6802274a5f17568a8151 Mon Sep 17 00:00:00 2001
From: Aleksey Tulinov <aleksey.tulinov@gmail.com>
Date: Tue, 13 Oct 2020 21:45:57 +0300
Subject: [PATCH] cross-x86_64-w64-mingw32: update to 8.0.0

[ci skip]
---
 srcpkgs/cross-x86_64-w64-mingw32/template | 40 +++++++++++------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/srcpkgs/cross-x86_64-w64-mingw32/template b/srcpkgs/cross-x86_64-w64-mingw32/template
index 0711aae3637..c85ca436272 100644
--- a/srcpkgs/cross-x86_64-w64-mingw32/template
+++ b/srcpkgs/cross-x86_64-w64-mingw32/template
@@ -1,17 +1,17 @@
 # Template file for 'cross-x86_64-w64-mingw32'
-_gcc_version=9.3.0
-_binutils_version=2.32
-_gmp_version=6.1.2
-_mpfr_version=4.0.1
+_gcc_version=10.2.0
+_binutils_version=2.34
+_gmp_version=6.2.0
+_mpfr_version=4.0.2
 _mpc_version=1.1.0
-_isl_version=0.19
-_mingw_version=6.0.0
+_isl_version=0.21
+_mingw_version=8.0.0
 
 pkgname=cross-x86_64-w64-mingw32
 version=$_mingw_version
-revision=5
+revision=1
 create_wrksrc=yes
-hostmakedepends="flex perl python3 tar"
+hostmakedepends="tar flex perl texinfo"
 makedepends="zlib-devel"
 # it's ok to build with current's -devel packages
 # although it might break the package during compiler updates
@@ -22,20 +22,20 @@ maintainer="Aleksey Tulinov <aleksey.tulinov@gmail.com>"
 homepage="https://sourceforge.net/projects/mingw-w64/"
 license="GPL-2.0-or-later, GPL-3.0-or-later, ZPL-2.1"
 distfiles="
- ${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
+ ${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.xz
  ${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
  ${GNU_SITE}/mpc/mpc-${_mpc_version}.tar.gz
- https://gmplib.org/download/gmp/gmp-${_gmp_version}.tar.xz
- http://www.mpfr.org/mpfr-${_mpfr_version}/mpfr-${_mpfr_version}.tar.xz
+ ${GNU_SITE}/gmp/gmp-${_gmp_version}.tar.xz
+ ${GNU_SITE}/mpfr/mpfr-${_mpfr_version}.tar.xz
  http://isl.gforge.inria.fr/isl-${_isl_version}.tar.bz2
  ${SOURCEFORGE_SITE}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${_mingw_version}.tar.bz2"
-checksum="de38b15c902eb2725eac6af21183a5f34ea4634cb0bcef19612b50e5ed31072d
- 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
+checksum="f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
+ b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
  6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e
- 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
- 67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
- d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
- 805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0"
+ 258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
+ 1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a
+ d18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859
+ 44c740ea6ab3924bc3aa169bad11ad3c5766c5c8459e3126d44eabb8735a5762"
 
 nocross=yes
 nopie=yes
@@ -269,7 +269,7 @@ cross-x86_64-w64-mingw32-crt_package() {
 	# this subpackage exists to skip strip step on CRT files
 	nostrip=yes
 	noverifyrdeps=yes
-	noshlibsprovides=yes
+	noshlibprovides=yes
 	lib32disabled=yes
 	pkg_install() {
 		DESTDIR="$PKGDESTDIR" _install_crt "x86_64-w64-mingw32"
@@ -282,7 +282,7 @@ cross-i686-w64-mingw32_package() {
 	nopie=yes
 	nodebug=yes
 	noverifyrdeps=yes
-	noshlibsprovides=yes
+	noshlibprovides=yes
 	lib32disabled=yes
 	nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
 	 libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
@@ -299,7 +299,7 @@ cross-i686-w64-mingw32-crt_package() {
 	nodebug=yes
 	nostrip=yes
 	noverifyrdeps=yes
-	noshlibsprovides=yes
+	noshlibprovides=yes
 	lib32disabled=yes
 	pkg_install() {
 		DESTDIR="$PKGDESTDIR" _install_crt "i686-w64-mingw32"

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
@ 2020-10-15  4:41 ` ericonr
  2020-10-15 11:57 ` alekseyt
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-10-15  4:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#issuecomment-708892726

Comment:
Know any simple project I can easily test the resulting toolchain with?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
  2020-10-15  4:41 ` ericonr
@ 2020-10-15 11:57 ` alekseyt
  2020-10-15 17:24 ` [PR REVIEW] " ericonr
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: alekseyt @ 2020-10-15 11:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

New comment by alekseyt on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#issuecomment-709241173

Comment:
Hmm. Maybe Lua: https://www.lua.org/versions.html#5.4

```bash
$ make mingw CC=x86_64-w64-ming32-gcc
```

and then run it with Wine: `wine ./src/lua.exe`

This is C. As for C++, perhaps CppUnit will do? https://www.freedesktop.org/wiki/Software/cppunit/

```bash
$ LDFLAGS="-static-libgcc -static-libstdc++ -static" ./configure --host=x86_64-w64-mingw32 --disable-doxygen
$ make
```

and then again run with wine: `WINEPATH=/usr/x86_64-w64-mingw32/bin wine ./examples/simple/simple.exe`

Generally any simple project should be buildable with regard to cross-compiling specifics.

Please let me know if i can help with anything else.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
  2020-10-15  4:41 ` ericonr
  2020-10-15 11:57 ` alekseyt
@ 2020-10-15 17:24 ` ericonr
  2020-10-15 20:21 ` [PR PATCH] [Updated] " alekseyt
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-10-15 17:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#discussion_r505713935

Comment:
The gcc 10.2 PR is using mpfr 4.1.0, from what I can see. Should we perhaps use that instead?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
                   ` (2 preceding siblings ...)
  2020-10-15 17:24 ` [PR REVIEW] " ericonr
@ 2020-10-15 20:21 ` alekseyt
  2020-10-15 20:21 ` [PR REVIEW] " alekseyt
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: alekseyt @ 2020-10-15 20:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

There is an updated pull request by alekseyt against master on the void-packages repository

https://github.com/alekseyt/void-packages mingw-v8
https://github.com/void-linux/void-packages/pull/25576

cross-x86_64-w64-mingw32: update to 8.0.0
* Mingw-w64 8.0.0
* GCC 10.2.0
* Other dependencies harmonized with mainline
* Incorporates #16891

A patch file from https://github.com/void-linux/void-packages/pull/25576.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mingw-v8-25576.patch --]
[-- Type: text/x-diff, Size: 4526 bytes --]

From 69e1505fce61e411bbcb53b0969c3d1a5f4a4899 Mon Sep 17 00:00:00 2001
From: Aleksey Tulinov <aleksey.tulinov@gmail.com>
Date: Thu, 15 Oct 2020 23:19:39 +0300
Subject: [PATCH] cross-x86_64-w64-mingw32: update to 8.0.0

[ci skip]
---
 srcpkgs/cross-x86_64-w64-mingw32/template | 44 +++++++++++------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/srcpkgs/cross-x86_64-w64-mingw32/template b/srcpkgs/cross-x86_64-w64-mingw32/template
index 0711aae3637..3db21abb692 100644
--- a/srcpkgs/cross-x86_64-w64-mingw32/template
+++ b/srcpkgs/cross-x86_64-w64-mingw32/template
@@ -1,17 +1,17 @@
 # Template file for 'cross-x86_64-w64-mingw32'
-_gcc_version=9.3.0
-_binutils_version=2.32
-_gmp_version=6.1.2
-_mpfr_version=4.0.1
+_gcc_version=10.2.0
+_binutils_version=2.34
+_gmp_version=6.2.0
+_mpfr_version=4.1.0
 _mpc_version=1.1.0
-_isl_version=0.19
-_mingw_version=6.0.0
+_isl_version=0.21
+_mingw_version=8.0.0
 
 pkgname=cross-x86_64-w64-mingw32
 version=$_mingw_version
-revision=5
+revision=1
 create_wrksrc=yes
-hostmakedepends="flex perl python3 tar"
+hostmakedepends="tar flex perl texinfo"
 makedepends="zlib-devel"
 # it's ok to build with current's -devel packages
 # although it might break the package during compiler updates
@@ -22,20 +22,20 @@ maintainer="Aleksey Tulinov <aleksey.tulinov@gmail.com>"
 homepage="https://sourceforge.net/projects/mingw-w64/"
 license="GPL-2.0-or-later, GPL-3.0-or-later, ZPL-2.1"
 distfiles="
- ${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
+ ${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.xz
  ${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
  ${GNU_SITE}/mpc/mpc-${_mpc_version}.tar.gz
- https://gmplib.org/download/gmp/gmp-${_gmp_version}.tar.xz
- http://www.mpfr.org/mpfr-${_mpfr_version}/mpfr-${_mpfr_version}.tar.xz
+ ${GNU_SITE}/gmp/gmp-${_gmp_version}.tar.xz
+ ${GNU_SITE}/mpfr/mpfr-${_mpfr_version}.tar.xz
  http://isl.gforge.inria.fr/isl-${_isl_version}.tar.bz2
  ${SOURCEFORGE_SITE}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${_mingw_version}.tar.bz2"
-checksum="de38b15c902eb2725eac6af21183a5f34ea4634cb0bcef19612b50e5ed31072d
- 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
+checksum="f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
+ b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
  6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e
- 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
- 67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
- d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
- 805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0"
+ 258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
+ 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
+ d18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859
+ 44c740ea6ab3924bc3aa169bad11ad3c5766c5c8459e3126d44eabb8735a5762"
 
 nocross=yes
 nopie=yes
@@ -46,7 +46,7 @@ lib32disabled=yes  # disable build of 32bits packages
 nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
  libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
  libssp.a libssp.dll.a libssp_nonshared.a
- libstdc++.a libstdc++.dll.a libsupc++.a"
+ libstdc++.a libstdc++.dll.a libstdc++fs.a libsupc++.a"
 
 # https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/
 # https://gcc.gnu.org/install/configure.html
@@ -269,7 +269,7 @@ cross-x86_64-w64-mingw32-crt_package() {
 	# this subpackage exists to skip strip step on CRT files
 	nostrip=yes
 	noverifyrdeps=yes
-	noshlibsprovides=yes
+	noshlibprovides=yes
 	lib32disabled=yes
 	pkg_install() {
 		DESTDIR="$PKGDESTDIR" _install_crt "x86_64-w64-mingw32"
@@ -282,12 +282,12 @@ cross-i686-w64-mingw32_package() {
 	nopie=yes
 	nodebug=yes
 	noverifyrdeps=yes
-	noshlibsprovides=yes
+	noshlibprovides=yes
 	lib32disabled=yes
 	nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
 	 libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
 	 libssp.a libssp.dll.a libssp_nonshared.a
-	 libstdc++.a libstdc++.dll.a libsupc++.a"
+	 libstdc++.a libstdc++.dll.a libstdc++fs.a libsupc++.a"
 	pkg_install() {
 		DESTDIR="$PKGDESTDIR" _install_toolchain "i686-w64-mingw32"
 	}
@@ -299,7 +299,7 @@ cross-i686-w64-mingw32-crt_package() {
 	nodebug=yes
 	nostrip=yes
 	noverifyrdeps=yes
-	noshlibsprovides=yes
+	noshlibprovides=yes
 	lib32disabled=yes
 	pkg_install() {
 		DESTDIR="$PKGDESTDIR" _install_crt "i686-w64-mingw32"

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
                   ` (3 preceding siblings ...)
  2020-10-15 20:21 ` [PR PATCH] [Updated] " alekseyt
@ 2020-10-15 20:21 ` alekseyt
  2020-10-15 20:22 ` alekseyt
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: alekseyt @ 2020-10-15 20:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

New review comment by alekseyt on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#discussion_r505815584

Comment:
69e1505

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
                   ` (4 preceding siblings ...)
  2020-10-15 20:21 ` [PR REVIEW] " alekseyt
@ 2020-10-15 20:22 ` alekseyt
  2020-10-15 21:10 ` ericonr
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: alekseyt @ 2020-10-15 20:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by alekseyt on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#issuecomment-709569808

Comment:
I've also noticed that `libstdc++fs.a` is being stripped, so i've added it to `nostrip_files`.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
                   ` (5 preceding siblings ...)
  2020-10-15 20:22 ` alekseyt
@ 2020-10-15 21:10 ` ericonr
  2020-10-16 17:14 ` [PR PATCH] [Merged]: " ericonr
  2020-10-16 17:14 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-10-15 21:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#issuecomment-709592059

Comment:
I've also found out that musl's wine is misbehaving, since it craps out when exiting wine.

Thanks for the examples, I'm testing with the change to mpfr.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Merged]: cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
                   ` (6 preceding siblings ...)
  2020-10-15 21:10 ` ericonr
@ 2020-10-16 17:14 ` ericonr
  2020-10-16 17:14 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-10-16 17:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

There's a merged pull request on the void-packages repository

cross-x86_64-w64-mingw32: update to 8.0.0
https://github.com/void-linux/void-packages/pull/25576

Description:
* Mingw-w64 8.0.0
* GCC 10.2.0
* Other dependencies harmonized with mainline
* Incorporates #16891

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cross-x86_64-w64-mingw32: update to 8.0.0
  2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
                   ` (7 preceding siblings ...)
  2020-10-16 17:14 ` [PR PATCH] [Merged]: " ericonr
@ 2020-10-16 17:14 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-10-16 17:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25576#issuecomment-710248872

Comment:
Thanks!

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-16 17:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-13 18:59 [PR PATCH] cross-x86_64-w64-mingw32: update to 8.0.0 alekseyt
2020-10-15  4:41 ` ericonr
2020-10-15 11:57 ` alekseyt
2020-10-15 17:24 ` [PR REVIEW] " ericonr
2020-10-15 20:21 ` [PR PATCH] [Updated] " alekseyt
2020-10-15 20:21 ` [PR REVIEW] " alekseyt
2020-10-15 20:22 ` alekseyt
2020-10-15 21:10 ` ericonr
2020-10-16 17:14 ` [PR PATCH] [Merged]: " ericonr
2020-10-16 17:14 ` ericonr

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git