Created attachment 313079 [details, diff] Proposed patch This is caused by cygwin-cat-check. Interestingly, configure.ac does not appear to have this and it does not appear that any of our patches introduce it. I have attached a patch for the ./configure script that addresses this issue. Also, someone probably should investigate how this was present in the configure script without being present in configure.ac.
It's in config/acx.m4 configure.ac: > m4_include(config/acx.m4) config/acx.m4: > AC_DEFUN([ACX_CHECK_CYGWIN_CAT_WORKS],[ > AC_MSG_CHECKING([to see if cat works as expected]) > echo a >cygwin-cat-check > if test `cat cygwin-cat-check` == a ; then > rm cygwin-cat-check > AC_MSG_RESULT(yes)
it's already fixed in 2.22 ...
(In reply to comment #2) > it's already fixed in 2.22 ... 2.22 fails to build on Gentoo FreeBSD. We are stuck at 2.20.1 until bug #347931 is fixed.
http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.20.1/06_all_binutils-2.20-POSIX-test.patch?rev=1.1
should be all set now in the tree; thanks for the report! Commit message: Push out fix for POSIX test behavior http://sources.gentoo.org/sys-devel/binutils/binutils-2.20.1-r1.ebuild?r1=1.15&r2=1.16