------- Comment #6 from ktietz at gcc dot gnu dot org  2009-03-15 20:08 -------
This bug was reasoned by duplicate existance of function __chkstk.
For targets mingw/cygwin this symbol allocates and probes stack (see
/gcc/config/i386/cygwin.asm). The VC variant export the same symbol name in
kernel32, ntdll, and ntoskernl. But the MS variant just probes the stack and
does not allocates stack space.
I temporary removed the exports from our .def files in mingw-w64 and this
solves the issue so far.
The bad side of this fix is, that libraries generated by VC can't be linked
proper, if they reference the ms __chkstk variant.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39356

Reply via email to