For the record, as observed elsewhere, the way to work around this is to link with -static-libgcc. This is a bug in something involving the shared libgcc.
Not a MinGW bug.
Although your problem may be interesting and causing you problems you wish answers to, it is not a problem with the MinGW runtime,
w32api, GCC, binutils or msys. Your BUG report has therefore been deleted. If you feel that this needs further discussion then
please post to mingw-users@lists.sourceforge.net.
Thanks for your interest in the MinGW Project,
MinGW Project...
I agree with you that the documentation could be improved.
If you want to go further with this, you should file a bug on the GNU make bug tracker and see what they think about it. See .