https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101183
--- Comment #2 from cqwrteur <unlvsur at live dot com> --- (In reply to Andrew Pinski from comment #1) > Dup of bug 91440. > > https://github.com/msys2/MINGW-packages/issues/5719 > > So you have to manually setdllcharacteristics on cc1.exe and cc1plus.exe > > *** This bug has been marked as a duplicate of bug 91440 *** https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/0010-Fix-using-large-PCH.patch But why not add these patches to GCC itself?