https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170
cqwrteur <unlvsur at live dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53243|0 |1 is obsolete| | --- Comment #4 from cqwrteur <unlvsur at live dot com> --- Created attachment 53244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53244&action=edit My patch without autoreconf. Please run autoreconf by yourself I have just fixed them, but need to run autoreconf by yourself. BTW. -lpthread -pthread lpthreads whatever i remember they all exist. Plus win32 does not need -lpthread anymore since it uses win32 CriticalSection api.