Created attachment 35392 [details] patch Bootstrapping gcc 5.1 with ming32 (not mingw32-w64) fails due to missing include of wincrypt.h within ssp.c. See attachment for a possible patch.
Supposedly started with r220559.
Well, that this include is required seems to me like a bug in mingw.org, as wincrypt.h should be auto-included by windows.h. Nevertheless this is a trivial patch, so it is ok. Please post it to ML, and I will take care to apply. Thanks
So...? Would be nice to fix for 5.2.
I have already sent a patch to the ML. https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01539.html
GCC 5.2 is being released, adjusting target milestone to 5.3.
GCC 5.3 is being released, adjusting target milestone.
Kai or DJ, is the patch ok for trunk/gcc 5? Is that header always available if #if defined (_WIN32) && !defined (__CYGWIN__) or should it be guarded say by #ifdef HAVE_WINCRYPT_H and wincrypt.h added to AC_CHECK_HEADERS in configure? The ChangeLog entry is wrong, libssp/ prefix shouldn't be there and on the other side this PR should be mentioned there, but that is something that can be trivially changed by the committer. I can commit it if anybody from the GCC maintainers that know something about Windows acks it.
Author: law Date: Tue Feb 9 19:16:30 2016 New Revision: 233253 URL: https://gcc.gnu.org/viewcvs?rev=233253&root=gcc&view=rev Log: 2015-04-25 Daniel Starke <daniel.f.starke@freenet.de> PR target/65867 * ssp.c: Added wincrypt.h include for Windows targets. Modified: trunk/libssp/ChangeLog trunk/libssp/ssp.c
GCC 5.4 is being released, adjusting target milestone.
GCC 5 branch has been closed, should be fixed in GCC 6 and later.