https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100945
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The problem is you are building with cygwin sed's which just use \n but you are using mingw gcc to compile to the target ( which uses \n\r as the line ending). Yes this is not supported as you need to also build a cygwin based compiler first to build to the target. As you intermixing things which don't have the same line endings and seds are not always going to support both it seems.