Re: [Mingw-w64-public] Challenges with using ucrtbase option for cross compiling...

2017-11-29 Thread Sven Kretzschmar
urther problem analysis & potential fixes. Thanks & Cheers - Sven P.S.: I used the current mingw64 master branch -Original Message- From: Sven Kretzschmar [mailto:sven.kretzsch...@gmx.de] Sent: 26 November 2017 18:07 To: 'mingw-w64-public@lists.sourceforge.net' Subject:

Re: [Mingw-w64-public] [PATCH 2/2] Use public _acmdln and _wcmdln declarations in crt and get rid of no loner needed ucrtbase compat hack.

2017-11-27 Thread Sven Kretzschmar
It seems that this patch somehow broke cross-compiling the gnu toolchain when _not_ using the "--with-default-msvcrt=ucrtbase" option. I am getting the following errors during "make" in gcc subdir (final build step for building cross-compiler from Cygwin to mingw64 x86_64): configure:3713: check

Re: [Mingw-w64-public] [PATCH] ucrtbase: Don't include a import library alias "tzset"

2017-11-26 Thread Sven Kretzschmar
Hi Martin, Thanks for your patch. It fixed the problem. When running the compiled Julia, I now get an error in its initialization when it tries to open a named pipe for stderr - fd 2 (it uses libuv). Also , it immediately finishes after start & messes up stdout in the Cygwin shell (no more std

Re: [Mingw-w64-public] [PATCH] ucrtbase: Make sure that compat symbols aren't autoexported

2017-11-25 Thread Sven Kretzschmar
P.S.: There is no "__stdio_common_vfscanf_s" in ucrtbase internals, but there is a "__stdio_common_vfscanf" - wasn't wearing my glasses, sorry ;) But this has nothing to do with the new "tzset" error #4 - Sven -----Original Message- From: Sven Kretzsch

Re: [Mingw-w64-public] [PATCH] ucrtbase: Make sure that compat symbols aren't autoexported

2017-11-25 Thread Sven Kretzschmar
to:mar...@martin.st] Sent: 24 November 2017 13:02 To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] [PATCH] ucrtbase: Make sure that compat symbols aren't autoexported On Thu, 23 Nov 2017, Sven Kretzschmar wrote: > I will try to add the 2 missing references in the way you hinted

Re: [Mingw-w64-public] [PATCH] ucrtbase: Make sure that compat symbols aren't autoexported

2017-11-23 Thread Sven Kretzschmar
Hi Martin, Thanks a lot for your support in getting ucrtbase to work. I will try to add the 2 missing references in the way you hinted at in your post. Currently I get a new strange error while compiling the Julia sources with the new toolchain: /CROSS64/lib/gcc/x86_64-w64-mingw32/6.4.0/../../

Re: [Mingw-w64-public] Challenges with using ucrtbase option for cross compiling...

2017-11-22 Thread Sven Kretzschmar
t;_CRTIMP" definition in some places in mingw64 for the ucrtbase option, but I am not sure... Thanks for any ideas or hints. Cheers - Sven -Original Message- From: Sven Kretzschmar [mailto:sven.kretzsch...@gmx.de] Sent: 22 November 2017 00:19 To: 'mingw-w64-public@lis

Re: [Mingw-w64-public] Challenges with using ucrtbase option for cross compiling...

2017-11-21 Thread Sven Kretzschmar
script in the case of a bootstrapping build of gcc using libiberty. Maybe Cygwin is more unix-like than mingw64 & this causes confusion during the bootstrap stages... Will check further along this path... -Original Message- From: Sven Kretzschmar [mailto:sven.kretzsch...@gmx.de] Sen

Re: [Mingw-w64-public] Challenges with using ucrtbase option for cross compiling...

2017-11-21 Thread Sven Kretzschmar
ingw-w64-public] Challenges with using ucrtbase option for cross compiling... On Tue, 21 Nov 2017, Sven Kretzschmar wrote: > Thanks - now the cross compilation goes much further resulting in the > below error (trying to cross-compile x86_64-w64-mingw32-gcc with > libiberty support

Re: [Mingw-w64-public] Challenges with using ucrtbase option for cross compiling...

2017-11-21 Thread Sven Kretzschmar
gcc/libiberty/pex-unix.c:469:29: error: 'F_SETFD' undeclared (first use in this function) return fcntl (old_fd, F_SETFD, flags); -Original Message- From: Martin Storsjö [mailto:mar...@martin.st] Sent: 21 November 2017 09:14 To: mingw-w64-public@lists.sourceforge.net Subject: Re: [

[Mingw-w64-public] Challenges with using ucrtbase option for cross compiling...

2017-11-20 Thread Sven Kretzschmar
Hi, Thanks a lot for all your work on this project ! :) I am using the newest master branch of mingw64 from https://github.com/mirror/mingw-w64/tree/master . GCC version used is: https://github.com/gcc-mirror/gcc/tree/gcc-6_4_0-release (6.4.0) And the newest version of all other needed libs. Als