https://sourceware.org/bugzilla/show_bug.cgi?id=29973
--- Comment #12 from Nick Clifton <nickc at redhat dot com> --- (In reply to cqwrteur from comment #10) > just any C++ code that would link to libstdc++ > > #include<iostream> > > int main() > { > std::cout<<"Hello World\n"; > } > > For example > remove -s -flto flags they all fail while -fuse-ld=lld would work. I tried that, but the compilation and link still works for me. As I said though, I am using gcc 11 not gcc 13. (In reply to cqwrteur from comment #11) > Does the issue come from this patch? > > https://github.com/mirror/mingw-w64/commit/ > fc55e181b2d84c8817e3fd9d86c6944ac709acc9 It could do - I am not familiar with the mingw-w64 runtime code, so I cannot really say. If you have a workaound - using lld - then I would stick with that for now. -- You are receiving this mail because: You are on the CC list for the bug.