https://bugs.winehq.org/show_bug.cgi?id=52338
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |jacek@codeweavers.com
--- Comment #2 from Jacek Caban jacek@codeweavers.com --- It may seem weird, but I don't see a way to support -mcygwin on Cygwin :)
winecrt0 is linked to both modules converted to PE files and not converted ones. On PE targets, it means that those debug functions get linked to all modules. They need to get stderr, which depends on crt used. In -mcygwin case we should use Cygwin libc, but it was earlier built with msvcrt definitions. We get away with it on mingw because mingw crt is compatible with msvcrt in this case.
I don't see an easy way around it, you may disable problematic modules with configure options for now. The problem will not exist once we convert remaining modules to PE files.