https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225
--- Comment #20 from cqwrteur <unlvsur at live dot com> --- (In reply to cqwrteur from comment #19) > (In reply to cqwrteur from comment #18) > > (In reply to cqwrteur from comment #17) > > > (In reply to Eric Botcazou from comment #16) > > > > > #if _WIN32_WINNT >= 0x0600 > > > > > #define __GTHREAD_HAS_COND 1 > > > > > #define __GTHREADS_CXX0X 1 > > > > > #endif > > > > > > > > > > I suggest remove this macro in the header due to potential breakage > > > > > > > > > > #if _WIN32_WINNT >= 0x0600 > > > > > #endif > > > > > > > > That's nonsensical. > > > > > > The problem is that libstdc++ would instantly break if someone randomly > > > defines _WIN32_WINNT (like gdb does). > > > > The solution would probably be for libstdc++ to guard against > > __GHTREAD_HAS_COND instead > > https://sourceware.org/bugzilla/show_bug.cgi?id=29966 D:\msys64\home\unlvs\projects\fast_io\examples\0001.helloworld>g++ -o helloworld helloworld.cc -Ofast -std=c++23 -s -flto -march=native -I../../include d:/x86_64-windows-gnu/x86_64-w64-mingw32/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe: helloworld.exe:.rdata_r: section below image base Do not know why.