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

2017-12-03 Thread Martin Storsjö
On Wed, 29 Nov 2017, Sven Kretzschmar wrote: - Cross-Toolchain built myself from source with cygwin environment using x86_64-w64-mingw32 cross-toolchain sources _with_ "--with-default-msvcrt=ucrtbase" option: => NOT OK ! Problems: Broken in/output handling, broken pipes, errors opening a named

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

2017-11-29 Thread Sven Kretzschmar
After the recent patches fixed a lot of the problems with building & running the mingw64 cross gnu toolchain with "--with-default-msvcrt=ucrtbase" option, I have run some further tests concerning the seemingly broken pipe / fd handling probs: Status: - - Cross-Toolchain built with stand

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

2017-11-23 Thread Martin Storsjö
On Thu, 23 Nov 2017, Sven Kretzschmar wrote: ERROR #1: -- libtool: link: rm -fr .libs/libgfortran.dll.a .libs/libgfortran.la.lnkscript libtool: link: /home/sven/buildtmp/build/gcc/./gcc/xgcc -B/home/sven/buildtmp/build/gcc/./gcc/ -L/CROSS64/x86_64-w64-mingw32/lib -L/CROSS64/mingw/li

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
t: 21 November 2017 22:03 To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] Challenges with using ucrtbase option for cross compiling... I have changed the gcc build mode from --disable-bootstrap to --enable-bootstrap with the last build. (That's normally the correct way

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 Martin Storsjö
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 & ucrtbase option, other options as before, bootstrapping enabled). Normally, the undeclared symb

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: [

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

2017-11-21 Thread Martin Storsjö
On Mon, 20 Nov 2017, Sven Kretzschmar wrote: 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

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

2017-11-20 Thread Martin Storsjö
On Mon, 20 Nov 2017, Sven Kretzschmar wrote: Questions: -- ==> Are there any ideas on how to fix this, or is an ucrtbase build not yet usable/possible with Mingw64 ? ==> Can you indicate which versions of gcc / binutils you are using to test the ucrtbase build option and post which c

[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