I found that recently crosstool-NG enabled TUI inside gdb and this seems not to play well with Cygwin.
adding
to the gdb options lets the toolchain compile finish. Since I'm using Eclipse I figure I won't use TUI anyway.
Just in case others are having the same compile issues