https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998
--- Comment #8 from James McKelvey <mckelvey at maskull dot com> --- Okay I backed out the fix to t-cygwin-w64 and tried to build again with --disable-multilib and stil got the "no dirname" error. So that fix is definitely needed.