https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108332
--- Comment #4 from cqwrteur <unlvsur at live dot com> --- (In reply to Andrew Pinski from comment #3) > cygwin was improved here: > https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git; > h=801120c1f402f9b0f72b5a231bf9e1cf82614cac > > It might be the case mingw linker script is broken .... This is mingw-w64, not newlib-cygwin