https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108326
--- Comment #4 from Jamaika <lukaszcz18 at wp dot pl> --- Here was my mistake. I tried adding c++config definitions to gcc 11.3.1 with _GLIBCXX_HAS_GTHREADS. Unfortunately many more features are changed to native Windows. http://msystem.waw.pl/x265/mingw-gcc1131-20221227.7z