[Mingw-w64-public] Fix for winreg.h

2017-03-13 Thread Michał Janiszewski
Hi, I would like to contribute a minor patch to fix RegSetKeyValueW declaration in winreg.h. Please pull the change from https://github.com/janisozaur/mingw-w64 fix-winreg.h I'm not familiar with the process of submitting patches, so please let me know if I need to do something else as well.

[Mingw-w64-public] Fix for winreg.h

2017-03-13 Thread Michał Janiszewski
Hi, I would like to contribute a minor patch (attached) to fix RegSetKeyValueW declaration in winreg.h. I'm not familiar with the process of submitting patches, so please let me know if I need to do something else as well. Best regards, Michał. -- Michal Janiszewski From 19e04a932735fc9b18e8627b5

Re: [Mingw-w64-public] [PATCH] Align thread entry point stack

2017-03-13 Thread Aleksey Vasenev
reply to Liu Hao - 2017-03-08 03:27:18 I found the original message on this ML. As Kai said, the patch looked reasonable, but it couldn't be applied because it wasn't generated using `git format-patch` and the original author's email address was truncated. So would you please provide a formatted

[Mingw-w64-public] Fwd: Fix for winreg.h

2017-03-13 Thread Michał Janiszewski
Hi, I would like to contribute a minor patch (attached) to fix RegSetKeyValueW declaration in winreg.h. I'm not familiar with the process of submitting patches, so please let me know if I need to do something else as well. It's the third time I'm trying to send this email to the mailing list, pleas

Re: [Mingw-w64-public] Erroneous "out of memory" using LTO

2017-03-13 Thread Riot
Thanks for the quick replies. I have realised now I made a mistake in my original listing, and omitted some commandline options that had been included by our build script, and disabling one of these prevents the problem occurring. The linker options I failed to include in my previous listing were

Re: [Mingw-w64-public] [PATCH] Align thread entry point stack

2017-03-13 Thread Liu Hao
On 2017/3/10 15:41, Liu Hao wrote: > On 2017/3/8 11:27, Liu Hao wrote: >> On 2017/3/8 4:31, Mateusz Mikuła wrote: >>> Forwarding Aleksey's message from MSYS2 discussion: >>> [...] >>> W dniu 22.01.2017 o 11:36, Adrien Nader pisze: Hi, I've recently re-stumbled upon this. As far as I

Re: [Mingw-w64-public] Erroneous "out of memory" using LTO

2017-03-13 Thread Ruben Van Boxem
Hi, Just some random helpful thoughts: - the linker typically uses a lot more memory than the sum of everything it is linking together. - LTO is still quite unstable, even on Linux, where I know of no Linux distro that actually enables the option to build its binaries. - The 32-bit process is limi

Re: [Mingw-w64-public] Erroneous "out of memory" using LTO

2017-03-13 Thread Liu Hao
On 2017/3/13 20:17, Riot wrote: > I have tried replacing -flto with -whopr as suggested at > https://sourceforge.net/p/mingw-w64/wiki2/LTO%20and%20GCC/, but this is now > an unrecognised commandline option. Try `-fwhole-program`. -- Best regards, LH_Mouse ---

[Mingw-w64-public] Erroneous "out of memory" using LTO

2017-03-13 Thread Riot
Hi all, First a bit of background. We've been building a large number of projects with Mingw-w64 on Windows for about five years now, using LTO for our release builds without any problems until now. We are building large executables containing a lot of binary assets compiled as objects; input ob