https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100460
Bug ID: 100460 Summary: [11/12 Regression] mingw build broken due to use of unsupported open() flags Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: daniel.f.starke at freenet dot de Target Milestone: --- GCC 11.1.0 fails to build with C++ under MinGW due to unsupported open() flags S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH in function finish_module_processing() within gcc/cp/module.cc. I suggest to remove these flags. MinGW will not fix this due to unforseen side effects: https://sourceforge.net/p/mingw/mailman/mingw-users/thread/znzrt579....@wanadoo.es/