Cyg32 on Win64 fails with stack-protector

Ben RUBSON ben.rubson@gmail.com
Mon Jun 25 16:08:00 GMT 2018


On 25 Jun 2018 17:35, Carter, Mark Andrew (Andy) wrote:

> We use Cyg32 on a Win64 system and have encountered a gcc compiler bug  
> causing stack corruption due to an invalid optimized stack allocation for  
> a function call that return a large structure (40 bytes).  Possibly  
> related to the long standing bug reported here  
> "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83116".  This bug could  
> bite with compiler version / switch settings or otherwise valid code  
> changes.

Thank you Andy for your help.
About the bug you point to, sounds like it has been corrected in GCC 7.3 :
https://gcc.gnu.org/viewcvs/gcc/tags/gcc_7_3_0_release/gcc/cp/ChangeLog?view=markup#l30
Unfortunately I also face the issue with this GCC version.

Ben



More information about the Cygwin-developers mailing list