On 7/26/2013 17:45, JonY wrote: > On 7/26/2013 13:02, Yaakov (Cygwin/X) wrote: >> On 2013-07-12 05:33, JonY wrote: >>> For gcc-4.7.x, struct alignment behavior has changed, -mms-bitfields is >>> now default, for better MSVC compatibility. This may cause ABI changes >>> in libraries that expose data structures directly to clients. Workaround >>> include marking the struct with the gcc_struct attributes. >> >> While we're breaking ABI anyway, would you be able to enable SEH for >> x86_64-w64-mingw32 *now* so that I don't have to rebuild mingw64 >> packages YA in the near future? >> >> > > IIRC SEH is only available in gcc 4.8, I will do this when I push 4.8 to > 32bit, which should be soon after a gcc rebuild for 64bit. > Looks like 4.8 for Cygwin 32bit isn't happening soon. GCC ICE'ed in libgcc in a simple function: void __enable_execute_stack (void *addr) { MEMORY_BASIC_INFORMATION b; if (!VirtualQuery (addr, &b, sizeof(b))) abort (); VirtualProtect (b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect); } enable-execute-stack.c: In function ‘__enable_execute_stack’: enable-execute-stack.c:38:1: error: unrecognizable insn: } ^ (insn 10 9 11 2 (set (reg:SI 64) (symbol_ref:SI ("VirtualQuery@12") [flags 0x441] )) enable-execute-stack.c:34 -1 (nil)) enable-execute-stack.c:38:1: internal compiler error: in extract_insn, at recog.c:2150 enable-execute-stack.c:38:1: internal compiler error: Aborted xgcc: internal compiler error: Aborted (program cc1)