https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|x86_64-w64-mingw32 host GCC |[13 Regression] |with win32 thread model |x86_64-w64-mingw32 host GCC |does not provide pthread.h. |with win32 thread model |lto-plugin fails with |does not provide pthread.h. |canadian compilation |lto-plugin fails with | |canadian compilation Target Milestone|--- |13.0 Keywords| |build Priority|P3 |P1 --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Another possibility would be to white-list targets that should have a thread-safe plugin.